aboutsummaryrefslogtreecommitdiff
path: root/devel/p4web/Makefile
diff options
context:
space:
mode:
authorJames E. Housley <jeh@FreeBSD.org>2000-10-28 01:32:51 +0000
committerJames E. Housley <jeh@FreeBSD.org>2000-10-28 01:32:51 +0000
commitfefed1bf3b9a276d32ce2e6b207354d93157be22 (patch)
tree0ae96339504e1318691deaa6d74cd0ddb50f998d /devel/p4web/Makefile
parent5321816733b99598b98461ec1e15fa41101a2543 (diff)
downloadports-fefed1bf3b9a276d32ce2e6b207354d93157be22.tar.gz
ports-fefed1bf3b9a276d32ce2e6b207354d93157be22.zip
Notes
Diffstat (limited to 'devel/p4web/Makefile')
-rw-r--r--devel/p4web/Makefile21
1 files changed, 15 insertions, 6 deletions
diff --git a/devel/p4web/Makefile b/devel/p4web/Makefile
index 3580b0038af8..0ce97841c745 100644
--- a/devel/p4web/Makefile
+++ b/devel/p4web/Makefile
@@ -5,29 +5,38 @@
# $FreeBSD$
#
-PORTNAME= perforce
-PORTVERSION= 99.2
+PORTNAME= perforce
+PORTVERSION= 00.1
+PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.perforce.com/pub/perforce/r${PORTVERSION}/bin.freebsd/ \
http://www.dsmit.com/p4/ \
ftp://ftp.perforce.com/pub/perforce/r${PORTVERSION}/doc/man/
EXTRACT_SUFX=
-DISTFILES= p4 p4d p4.1 p4d.1
+DISTFILES= p4 p4d p4web p4.1 p4d.1
DIST_SUBDIR= perforce
MAINTAINER= sam@inf.enst.fr
NO_PACKAGE= Restricted distribution
NO_CDROM= Restricted distribution
-NO_BUILD= yes
MAN1= p4.1 p4d.1
do-extract:
@${MKDIR} ${WRKSRC}
+do-build:
+ ${SED} -e "s,@PREFIX@,${PREFIX},g" \
+ < ${FILESDIR}/perforce.sh.in > ${WRKSRC}/perforce.sh
+
do-install:
- ${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/p4 ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/p4d ${PREFIX}/sbin
+ ${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/p4 ${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/p4web ${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/p4d ${PREFIX}/sbin/
+ if [ ! -f ${PREFIX}/etc/perforce ]; then \
+ ${INSTALL_DATA} ${FILESDIR}/perforce ${PREFIX}/etc/; \
+ fi
+ ${INSTALL_SCRIPT} ${WRKSRC}/perforce.sh ${PREFIX}/etc/rc.d/
.for PERFMAN in p4 p4d
${INSTALL_MAN} ${DISTDIR}/${DIST_SUBDIR}/${PERFMAN}.1 ${PREFIX}/man/man1
.endfor