diff options
author | jeh <jeh@FreeBSD.org> | 2000-10-28 09:32:51 +0800 |
---|---|---|
committer | jeh <jeh@FreeBSD.org> | 2000-10-28 09:32:51 +0800 |
commit | 887bd439d5f43c0a896b99c2a1c0f29001b36eda (patch) | |
tree | 41afeafa3476cbf1e729382106ecef0ff4dbf912 /devel/p4/Makefile | |
parent | 476fd13bd921aee5dc3e4c34dc0a8863dc6350a4 (diff) | |
download | freebsd-ports-gnome-887bd439d5f43c0a896b99c2a1c0f29001b36eda.tar.gz freebsd-ports-gnome-887bd439d5f43c0a896b99c2a1c0f29001b36eda.tar.zst freebsd-ports-gnome-887bd439d5f43c0a896b99c2a1c0f29001b36eda.zip |
Update? from version 99.2 to 00.1 (Funny math). Added PORTEPOCH=1
PR: 21863
Submitted by: Samuel Tardieu <sam@inf.enst.fr> MAINTAINER
Diffstat (limited to 'devel/p4/Makefile')
-rw-r--r-- | devel/p4/Makefile | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/devel/p4/Makefile b/devel/p4/Makefile index 3580b0038af8..0ce97841c745 100644 --- a/devel/p4/Makefile +++ b/devel/p4/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 |