diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2012-05-16 13:46:30 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2012-05-16 13:46:30 +0000 |
commit | c4e07de9743df4ac9fc2ad8ecaba13f757a19362 (patch) | |
tree | 4613271f235ab518ed00c189fc7b05f366c8df97 /astro/boinc-astropulse | |
parent | 6da44fd70df7551bfcc34fd52bc9d8885647bcd5 (diff) |
Notes
Diffstat (limited to 'astro/boinc-astropulse')
-rw-r--r-- | astro/boinc-astropulse/Makefile | 28 | ||||
-rw-r--r-- | astro/boinc-astropulse/files/pkg-deinstall.in | 2 | ||||
-rw-r--r-- | astro/boinc-astropulse/files/pkg-install.in | 4 | ||||
-rw-r--r-- | astro/boinc-astropulse/files/pkg-message.in | 2 | ||||
-rw-r--r-- | astro/boinc-astropulse/pkg-plist | 2 |
5 files changed, 19 insertions, 19 deletions
diff --git a/astro/boinc-astropulse/Makefile b/astro/boinc-astropulse/Makefile index b989b257eac7..3474afee0163 100644 --- a/astro/boinc-astropulse/Makefile +++ b/astro/boinc-astropulse/Makefile @@ -35,9 +35,9 @@ CFLAGS+= -march=${CPUTYPE} .endif # 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 #OPTIONS= X11 "Build screensaver (requires net/boinc-client with X11)" on @@ -84,25 +84,25 @@ SUB_FILES= pkg-deinstall pkg-install pkg-message SUB_LIST= AP_BINARY=${AP_BINARY} \ AP_VERSION=${PORTVERSION:S/.//} \ SETI_SITE=${SETI_SITE} \ - BOINC_HOME=${BOINC_HOME} \ - BOINC_USER=${BOINC_USER} \ - BOINC_GROUP=${BOINC_GROUP} + BOINC_CLIENT_HOME=${BOINC_CLIENT_HOME} \ + BOINC_CLIENT_USER=${BOINC_CLIENT_USER} \ + BOINC_CLIENT_GROUP=${BOINC_CLIENT_GROUP} PLIST_SUB+= AP_BINARY=${AP_BINARY} \ SETI_SITE=${SETI_SITE} \ - BOINC_HOME=${BOINC_HOME} + BOINC_CLIENT_HOME=${BOINC_CLIENT_HOME} pre-configure: (cd ${WRKSRC} ; ./_autosetup) do-install: - ${INSTALL} -d -o ${BOINC_USER} -g ${BOINC_GROUP} ${BOINC_HOME}/projects - ${INSTALL} -d -o ${BOINC_USER} -g ${BOINC_GROUP} \ - ${BOINC_HOME}/projects/${SETI_SITE} - ${INSTALL_PROGRAM} -o ${BOINC_USER} -g ${BOINC_GROUP} \ - ${WRKSRC}/${AP_BINARY} ${BOINC_HOME}/projects/${SETI_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/${SETI_SITE} + ${INSTALL_PROGRAM} -o ${BOINC_CLIENT_USER} -g ${BOINC_CLIENT_GROUP} \ + ${WRKSRC}/${AP_BINARY} ${BOINC_CLIENT_HOME}/projects/${SETI_SITE}/ .if !defined(WITHOUT_X11) - ${INSTALL_PROGRAM} -o ${BOINC_USER} -g ${BOINC_GROUP} \ - ${WRKSRC}/ap_graphics ${BOINC_HOME}/projects/${SETI_SITE}/ + ${INSTALL_PROGRAM} -o ${BOINC_CLIENT_USER} -g ${BOINC_CLIENT_GROUP} \ + ${WRKSRC}/ap_graphics ${BOINC_CLIENT_HOME}/projects/${SETI_SITE}/ .endif post-install: diff --git a/astro/boinc-astropulse/files/pkg-deinstall.in b/astro/boinc-astropulse/files/pkg-deinstall.in index eea6751836ca..b6ee2e66ab23 100644 --- a/astro/boinc-astropulse/files/pkg-deinstall.in +++ b/astro/boinc-astropulse/files/pkg-deinstall.in @@ -6,7 +6,7 @@ if [ "$2" != "POST-DEINSTALL" ]; then exit 0 fi -F=%%BOINC_HOME%%/projects/%%SETI_SITE%%/app_info.xml +F=%%BOINC_CLIENT_HOME%%/projects/%%SETI_SITE%%/app_info.xml echo Removing astropulse_v6 lines from $F l=`grep -n "<name>astropulse_v6</name>" $F | cut -f 1 -d :` diff --git a/astro/boinc-astropulse/files/pkg-install.in b/astro/boinc-astropulse/files/pkg-install.in index 58f14f9ee5d6..c0cf7074d23c 100644 --- a/astro/boinc-astropulse/files/pkg-install.in +++ b/astro/boinc-astropulse/files/pkg-install.in @@ -6,13 +6,13 @@ if [ "$2" != "POST-INSTALL" ]; then exit 0 fi -F=%%BOINC_HOME%%/projects/%%SETI_SITE%%/app_info.xml +F=%%BOINC_CLIENT_HOME%%/projects/%%SETI_SITE%%/app_info.xml if [ ! -f $F ]; then echo Creating new $F echo "<app_info>" > $F echo "</app_info>" >> $F - chown %%BOINC_USER%%:%%BOINC_GROUP%% $F + chown %%BOINC_CLIENT_USER%%:%%BOINC_CLIENT_GROUP%% $F fi echo Adding astropulse_v6 lines to $F diff --git a/astro/boinc-astropulse/files/pkg-message.in b/astro/boinc-astropulse/files/pkg-message.in index bd1753e985c5..050aa6363e8a 100644 --- a/astro/boinc-astropulse/files/pkg-message.in +++ b/astro/boinc-astropulse/files/pkg-message.in @@ -11,6 +11,6 @@ MANUAL INSTALLATION *) Or get your account key at http://%%SETI_SITE%%/get_passwd.php *) Attach to the project: - cd %%BOINC_HOME%% + cd %%BOINC_CLIENT_HOME%% boinc_cmd --project_attach %%SETI_SITE%% <account key> ***************************************************************************** diff --git a/astro/boinc-astropulse/pkg-plist b/astro/boinc-astropulse/pkg-plist index 188fb432ff79..fafb23628d52 100644 --- a/astro/boinc-astropulse/pkg-plist +++ b/astro/boinc-astropulse/pkg-plist @@ -1,4 +1,4 @@ -@cwd %%BOINC_HOME%%/projects +@cwd %%BOINC_CLIENT_HOME%%/projects %%SETI_SITE%%/%%AP_BINARY%% %%X11%%%%SETI_SITE%%/ap_graphics @dirrmtry %%SETI_SITE%% |