aboutsummaryrefslogtreecommitdiffstats
path: root/biology/boinc-simap
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2012-05-16 21:46:30 +0800
committerpav <pav@FreeBSD.org>2012-05-16 21:46:30 +0800
commit5b2f595be5017cc56b4195f587279bf15b3843dd (patch)
tree0caf6d3e8b1956db66a61f46e35cf683316e7b26 /biology/boinc-simap
parentc0183f5042c1e4a36bf40e469943c00a1734c7cf (diff)
downloadfreebsd-ports-gnome-5b2f595be5017cc56b4195f587279bf15b3843dd.tar.gz
freebsd-ports-gnome-5b2f595be5017cc56b4195f587279bf15b3843dd.tar.zst
freebsd-ports-gnome-5b2f595be5017cc56b4195f587279bf15b3843dd.zip
- Adjust BOINC_* variables to be consistent with new system in boinc-client
Diffstat (limited to 'biology/boinc-simap')
-rw-r--r--biology/boinc-simap/Makefile16
-rw-r--r--biology/boinc-simap/pkg-plist2
2 files changed, 9 insertions, 9 deletions
diff --git a/biology/boinc-simap/Makefile b/biology/boinc-simap/Makefile
index 2abacd172636..756366c51054 100644
--- a/biology/boinc-simap/Makefile
+++ b/biology/boinc-simap/Makefile
@@ -22,9 +22,9 @@ NO_WRKSUBDIR= yes
STRIP= #
# these must match settings in ${PORTSDIR}/net/boinc-client/Makefile
-BOINC_USER?= boinc
-BOINC_GROUP?= nobody
-BOINC_HOME?= /var/db/boinc
+BOINC_CLIENT_USER?= boinc
+BOINC_CLIENT_GROUP?= nobody
+BOINC_CLIENT_HOME?= /var/db/boinc
SIMAP_SITE= boinc.bio.wzw.tum.de_boincsimap
SIMAP_URL= boinc.bio.wzw.tum.de/boincsimap
@@ -34,7 +34,7 @@ HMMER_BINARY= hmmer_${HMMER_VERSION}_${MACH}-pc-freebsd
HMMER_VERSION= 5.09
PLIST_SUB= SIMAP_BINARY=${SIMAP_BINARY} HMMER_BINARY=${HMMER_BINARY} SIMAP_SITE=${SIMAP_SITE} \
- BOINC_HOME=${BOINC_HOME}
+ BOINC_CLIENT_HOME=${BOINC_CLIENT_HOME}
ONLY_FOR_ARCHS= i386 amd64
@@ -76,11 +76,11 @@ do-extract:
@(cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${HMMER_BINARY} ${EXTRACT_AFTER_ARGS})
do-install:
- ${INSTALL} -d -o ${BOINC_USER} -g ${BOINC_GROUP} ${BOINC_HOME}/projects
- ${INSTALL} -d -o ${BOINC_USER} -g ${BOINC_GROUP} ${BOINC_HOME}/projects/${SIMAP_SITE}
- ${INSTALL_DATA} -o ${BOINC_USER} -g ${BOINC_GROUP} ${WRKDIR}/app_info.xml ${BOINC_HOME}/projects/${SIMAP_SITE}
+ ${INSTALL} -d -o ${BOINC_CLIENT_USER} -g ${BOINC_CLIENT_GROUP} ${BOINC_CLIENT_HOME}/projects
+ ${INSTALL} -d -o ${BOINC_CLIENT_USER} -g ${BOINC_CLIENT_GROUP} ${BOINC_CLIENT_HOME}/projects/${SIMAP_SITE}
+ ${INSTALL_DATA} -o ${BOINC_CLIENT_USER} -g ${BOINC_CLIENT_GROUP} ${WRKDIR}/app_info.xml ${BOINC_CLIENT_HOME}/projects/${SIMAP_SITE}
.for APP in ${DISTNAME}
- ${INSTALL_PROGRAM} -o ${BOINC_USER} -g ${BOINC_GROUP} ${WRKDIR}/${APP} ${BOINC_HOME}/projects/${SIMAP_SITE}
+ ${INSTALL_PROGRAM} -o ${BOINC_CLIENT_USER} -g ${BOINC_CLIENT_GROUP} ${WRKDIR}/${APP} ${BOINC_CLIENT_HOME}/projects/${SIMAP_SITE}
.endfor
post-install:
diff --git a/biology/boinc-simap/pkg-plist b/biology/boinc-simap/pkg-plist
index 8cf630ad2965..8b17e9ed000c 100644
--- a/biology/boinc-simap/pkg-plist
+++ b/biology/boinc-simap/pkg-plist
@@ -1,4 +1,4 @@
-@cwd %%BOINC_HOME%%
+@cwd %%BOINC_CLIENT_HOME%%
projects/%%SIMAP_SITE%%/app_info.xml
projects/%%SIMAP_SITE%%/%%SIMAP_BINARY%%
projects/%%SIMAP_SITE%%/%%HMMER_BINARY%%