aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2003-05-04 01:17:29 +0800
committeradamw <adamw@FreeBSD.org>2003-05-04 01:17:29 +0800
commit25d600d13fa9fd6826cd755e0a35ec675bfd16af (patch)
treeb4e86f09b054f1ad6a6a69acdfdbe94ff55ff7d0
parentd800d473c7bab7751a3a4f901229089679f94b60 (diff)
downloadfreebsd-ports-gnome-25d600d13fa9fd6826cd755e0a35ec675bfd16af.tar.gz
freebsd-ports-gnome-25d600d13fa9fd6826cd755e0a35ec675bfd16af.tar.zst
freebsd-ports-gnome-25d600d13fa9fd6826cd755e0a35ec675bfd16af.zip
Define ${PREFIX} for the pkg-install script.
Pointed out by: Sue Blake <sue@welearn.com.au>
-rw-r--r--net-mgmt/cricket/Makefile2
-rw-r--r--net/cricket/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/net-mgmt/cricket/Makefile b/net-mgmt/cricket/Makefile
index 8dad4111089f..8da7d0f50759 100644
--- a/net-mgmt/cricket/Makefile
+++ b/net-mgmt/cricket/Makefile
@@ -33,7 +33,7 @@ CRICKET_USER= cricket
CRICKET_GROUP= www
do-install:
- @${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
+ @PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
@${MKDIR} -m 755 ${PREFIX}/cricket/cricket-${PORTVERSION}
@${CP} -R ${WRKSRC}/* ${PREFIX}/cricket/cricket-${PORTVERSION}
@${FIND} ${PREFIX}/cricket/cricket-${PORTVERSION} -name \*.orig -or \
diff --git a/net/cricket/Makefile b/net/cricket/Makefile
index 8dad4111089f..8da7d0f50759 100644
--- a/net/cricket/Makefile
+++ b/net/cricket/Makefile
@@ -33,7 +33,7 @@ CRICKET_USER= cricket
CRICKET_GROUP= www
do-install:
- @${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
+ @PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
@${MKDIR} -m 755 ${PREFIX}/cricket/cricket-${PORTVERSION}
@${CP} -R ${WRKSRC}/* ${PREFIX}/cricket/cricket-${PORTVERSION}
@${FIND} ${PREFIX}/cricket/cricket-${PORTVERSION} -name \*.orig -or \