pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

sickbeard: Minor improvements



Module Name:	pkgsrc-wip
Committed By:	Jonathan Schleifer <js%heap.zone@localhost>
Pushed By:	js
Date:		Tue Jul 5 00:19:02 2016 +0200
Changeset:	e15d8329b84463c8cd01106835a10b5f7175755a

Modified Files:
	sickbeard/Makefile
	sickbeard/PLIST

Log Message:
sickbeard: Minor improvements

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e15d8329b84463c8cd01106835a10b5f7175755a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 sickbeard/Makefile | 11 +++++++----
 sickbeard/PLIST    |  1 +
 2 files changed, 8 insertions(+), 4 deletions(-)

diffs:
diff --git a/sickbeard/Makefile b/sickbeard/Makefile
index a4ac50d..e3fa286 100644
--- a/sickbeard/Makefile
+++ b/sickbeard/Makefile
@@ -1,8 +1,11 @@
 # $NetBSD$
 
 DISTNAME=	sickbeard-507
+PKGREVISION=	1
 CATEGORIES=	multimedia
-MASTER_SITES=	-https://github.com/midgetspy/Sick-Beard/archive/build-${PKGVERSION}.tar.gz
+MASTER_SITES=	${MASTER_SITE_GITHUB:=midgetspy/}
+GITHUB_PROJECT=	Sick-Beard
+GITHUB_TAG=	build-${PKGVERSION_NOREV}
 
 MAINTAINER=	js%heap.zone@localhost
 HOMEPAGE=	http://sickbeard.com/
@@ -14,7 +17,7 @@ DEPENDS+=	${PYPKGPREFIX}-cheetah-[0-9]*:../../devel/py-cheetah
 DEPENDS+=	${PYPKGPREFIX}-cElementTree-[0-9]*:../../textproc/py-cElementTree
 DEPENDS+=	${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
 
-WRKSRC=		${WRKDIR}/Sick-Beard-build-${PKGVERSION}
+WRKSRC=		${WRKDIR}/Sick-Beard-build-${PKGVERSION_NOREV}
 NO_BUILD=	yes
 USE_TOOLS=	pax
 
@@ -38,18 +41,18 @@ SUBST_SED.paths+=	-e 's,@PREFIX@,${PREFIX},g'
 SUBST_SED.paths+=	-e 's,@SH@,${SH},g'
 SUBST_STAGE.paths=	post-patch
 
+INSTALLATION_DIRS += lib/sickbeard ${PKG_SYSCONFDIR}/sickbeard
+
 post-extract:
 	${CP} ${FILESDIR}/sickbeard.sh ${WRKSRC}/sickbeard.sh
 
 do-install:
-	${MKDIR} ${DESTDIR}${PREFIX}/lib/sickbeard
 .for i in ${INSTALL_FILES} ${INSTALL_DIRS}
 	cd ${WRKSRC} && pax -rw -pmp ${i} ${DESTDIR}${PREFIX}/lib/sickbeard/
 .endfor
 	${RM} -rf ${DESTDIR}${PREFIX}/lib/sickbeard/lib/tvdb_api/tests
 	${MKDIR} ${DESTDIR}${PREFIX}/bin
 	${INSTALL} -m 755 ${WRKSRC}/sickbeard.sh ${DESTDIR}${PREFIX}/bin/sickbeard
-	${MKDIR} ${PKG_SYSCONFDIR}/sickbeard
 
 .include "../../lang/python/application.mk"
 .include "../../lang/python/extension.mk"
diff --git a/sickbeard/PLIST b/sickbeard/PLIST
index 8e88e23..6aa87f5 100644
--- a/sickbeard/PLIST
+++ b/sickbeard/PLIST
@@ -605,3 +605,4 @@ lib/sickbeard/sickbeard/versionChecker.py
 lib/sickbeard/sickbeard/webapi.py
 lib/sickbeard/sickbeard/webserve.py
 lib/sickbeard/sickbeard/webserveInit.py
+@pkgdir etc/sickbeard


Home | Main Index | Thread Index | Old Index