summaryrefslogtreecommitdiff
path: root/devel/p4web/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-01-30 06:47:58 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-01-30 06:47:58 +0000
commit6a661f7c1613eddf7274850e2eb42b9f7d152e46 (patch)
tree82dab3f084ce1dccea7870f9c69a7d2954cc8d79 /devel/p4web/Makefile
parentbump PORTREVISION for previous mod about 12 hours ago (diff)
Maintainer update: Perforce has released new version for i386, 2002.2
PR: ports/46745 Submitted by: David Marshall <marshall@chezmarshall.com>
Notes
Notes: svn path=/head/; revision=74248
Diffstat (limited to 'devel/p4web/Makefile')
-rw-r--r--devel/p4web/Makefile18
1 files changed, 11 insertions, 7 deletions
diff --git a/devel/p4web/Makefile b/devel/p4web/Makefile
index 629500ba2167..e8bd666e26f5 100644
--- a/devel/p4web/Makefile
+++ b/devel/p4web/Makefile
@@ -36,13 +36,15 @@ PERFORCE_HOME?= ${LOCALBASE}/perforce
PERFORCE_ROOT?= ${PERFORCE_HOME}/root
PERFORCE_LOGS?= ${PERFORCE_HOME}/logs
PERFORCE_PORT?= 1666
+PERFORCE_CACHE?= ${PERFORCE_HOME}/cache
+PERFORCE_TARGET?= perforce:1666
.if ${ARCH} == i386
-VERSION= 02.1
+VERSION= 02.2
REVISION= 2
PLATFORM= freebsd4
BIN_FILES= p4 p4web
-SBIN_FILES= p4d p4ftpd
+SBIN_FILES= p4d p4ftpd p4p
.elif ${ARCH} == alpha
VERSION= 99.1
REVISION= 1
@@ -54,10 +56,12 @@ IGNORE= "Unsupported platform, sorry."
.endif
do-build:
- ${SED} -e "s,@PERFORCE_ROOT@,${PERFORCE_ROOT},g" \
- -e "s,@PERFORCE_LOGS@,${PERFORCE_LOGS},g" \
- -e "s,@PERFORCE_USER@,${PERFORCE_USER},g" \
- -e "s,@PERFORCE_PORT@,${PERFORCE_PORT},g" \
+ ${SED} -e "s,@PERFORCE_ROOT@,${PERFORCE_ROOT},g" \
+ -e "s,@PERFORCE_LOGS@,${PERFORCE_LOGS},g" \
+ -e "s,@PERFORCE_USER@,${PERFORCE_USER},g" \
+ -e "s,@PERFORCE_PORT@,${PERFORCE_PORT},g" \
+ -e "s,@PERFORCE_CACHE@,${PERFORCE_CACHE},g" \
+ -e "s,@PERFORCE_TARGET@,${PERFORCE_TARGET},g" \
< ${FILESDIR}/perforce.conf.in > ${WRKSRC}/perforce.conf
${SED} -e "s,@PREFIX@,${PREFIX},g" \
< ${FILESDIR}/perforce.sh.in > ${WRKSRC}/perforce.sh
@@ -102,6 +106,6 @@ post-install:
.for f in ${SBIN_FILES}
${ECHO_CMD} sbin/${f} >> ${TMPPLIST}
.endfor
- ${ECHO_CMD} "@unexec /bin/rmdir ${PERFORCE_ROOT} ${PERFORCE_LOGS} ${PERFORCE_HOME} 2>/dev/null || true" >> ${TMPPLIST}
+ ${ECHO_CMD} "@unexec ${RMDIR} ${PERFORCE_ROOT} ${PERFORCE_LOGS} ${PERFORCE_HOME} 2>/dev/null || true" >> ${TMPPLIST}
.include <bsd.port.post.mk>