pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
sickbeard: Use OWN_DIR
Module Name: pkgsrc-wip
Committed By: Jonathan Schleifer <js%heap.zone@localhost>
Pushed By: js
Date: Sat Jul 9 13:15:48 2016 +0200
Changeset: b399742f84b0520fdd274a949d5bddf759b5e936
Modified Files:
sickbeard/Makefile
sickbeard/files/sickbeard.sh
Log Message:
sickbeard: Use OWN_DIR
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b399742f84b0520fdd274a949d5bddf759b5e936
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
sickbeard/Makefile | 6 +++---
sickbeard/files/sickbeard.sh | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diffs:
diff --git a/sickbeard/Makefile b/sickbeard/Makefile
index e3fa286..24a78dc 100644
--- a/sickbeard/Makefile
+++ b/sickbeard/Makefile
@@ -1,7 +1,7 @@
# $NetBSD$
DISTNAME= sickbeard-507
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_GITHUB:=midgetspy/}
GITHUB_PROJECT= Sick-Beard
@@ -36,12 +36,12 @@ PYTHON_VERSIONS_INCOMPATIBLE= 33 34 35 # py-cheetah
SUBST_CLASSES+= paths
SUBST_FILES.paths= sickbeard.sh
-SUBST_SED.paths+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g'
SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g'
SUBST_SED.paths+= -e 's,@SH@,${SH},g'
+SUBST_SED.paths+= -e 's,@VARBASE@,${VARBASE},g'
SUBST_STAGE.paths= post-patch
-INSTALLATION_DIRS += lib/sickbeard ${PKG_SYSCONFDIR}/sickbeard
+OWN_DIRS= ${VARBASE}/sickbeard
post-extract:
${CP} ${FILESDIR}/sickbeard.sh ${WRKSRC}/sickbeard.sh
diff --git a/sickbeard/files/sickbeard.sh b/sickbeard/files/sickbeard.sh
index adcae83..cc78fb6 100644
--- a/sickbeard/files/sickbeard.sh
+++ b/sickbeard/files/sickbeard.sh
@@ -1,5 +1,5 @@
#!@SH@
exec @PREFIX@/lib/sickbeard/SickBeard.py \
- --datadir=@PKG_SYSCONFDIR@/sickbeard \
+ --datadir=@VARBASE@/sickbeard \
--pidfile=/var/run/sickbeard.pid \
"$@"
Home |
Main Index |
Thread Index |
Old Index