From 6a661f7c1613eddf7274850e2eb42b9f7d152e46 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Thu, 30 Jan 2003 06:47:58 +0000 Subject: Maintainer update: Perforce has released new version for i386, 2002.2 PR: ports/46745 Submitted by: David Marshall --- devel/p4web/Makefile | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'devel/p4web/Makefile') 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 -- cgit v1.2.3