diff options
author | edwin <edwin@FreeBSD.org> | 2004-12-15 22:51:43 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2004-12-15 22:51:43 +0000 |
commit | 85a43d57fd46c312acbef1597e55b6b74b14d52d (patch) | |
tree | efe0090caeb999f7ded3d719976deb553f881d7f /net/boinc-client | |
parent | 5b0a935dbf5db44de4b97b98a82fb9dba89d61e0 (diff) | |
download | FreeBSD-ports-85a43d57fd46c312acbef1597e55b6b74b14d52d.zip FreeBSD-ports-85a43d57fd46c312acbef1597e55b6b74b14d52d.tar.gz |
ports/75117: update port: net/boinc-client - Makefile/plist correction
for when package is used
Correction to the Makefile and pkg-plist to ensure proper
creation and removal of the ${PREFIX}/boinc/projects directory
when port is installed from a pre-compiled package.
PR: ports/75117
Submitted by: "J.R. Oldroyd" <fbsd@opal.com>
Diffstat (limited to 'net/boinc-client')
-rw-r--r-- | net/boinc-client/Makefile | 4 | ||||
-rw-r--r-- | net/boinc-client/pkg-plist | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/net/boinc-client/Makefile b/net/boinc-client/Makefile index 3d29eba..50e7bad 100644 --- a/net/boinc-client/Makefile +++ b/net/boinc-client/Makefile @@ -7,7 +7,7 @@ PORTNAME= boinc-client PORTVERSION= 4.13 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= http://boinc.berkeley.edu/source/nightly/ DISTNAME= boinc_public-cvs-2004-10-14 @@ -62,7 +62,7 @@ post-build: -e "s:%%BOINC_GROUP%%:${BOINC_GROUP}:g" \ < ${FILESDIR}/boinc-client.1 > ${WRKDIR}/boinc-client.1; \ ${SED} -e "s:%%BOINC_BINARY%%:$$BBIN:g" \ - -e "s:%%BOINC_DATADIR%%:${PREFIX}/boinc:g" \ + -e "s:%%BOINC_DATADIR%%:${BOINC_DATADIR}:g" \ -e "s:%%BOINC_HOME%%:${BOINC_HOME}:g" \ -e "s:%%BOINC_USER%%:${BOINC_USER}:g" \ -e "s:%%BOINC_GROUP%%:${BOINC_GROUP}:g" \ diff --git a/net/boinc-client/pkg-plist b/net/boinc-client/pkg-plist index 5d1d64b..c0eea75 100644 --- a/net/boinc-client/pkg-plist +++ b/net/boinc-client/pkg-plist @@ -1,3 +1,4 @@ +@exec mkdir -p %D/boinc/projects bin/boinc-client boinc/client/%%BOINC_BINARY%% etc/rc.d/boinc.sh |