Lines 6-33
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= perforce |
8 |
PORTNAME= perforce |
9 |
PORTVERSION= 99.2 |
9 |
PORTVERSION= 00.1 |
10 |
CATEGORIES= devel |
10 |
CATEGORIES= devel |
11 |
MASTER_SITES= ftp://ftp.perforce.com/pub/perforce/r${PORTVERSION}/bin.freebsd/ \ |
11 |
MASTER_SITES= ftp://ftp.perforce.com/pub/perforce/r${PORTVERSION}/bin.freebsd/ \ |
12 |
http://www.dsmit.com/p4/ \ |
12 |
http://www.dsmit.com/p4/ \ |
13 |
ftp://ftp.perforce.com/pub/perforce/r${PORTVERSION}/doc/man/ |
13 |
ftp://ftp.perforce.com/pub/perforce/r${PORTVERSION}/doc/man/ |
14 |
EXTRACT_SUFX= |
14 |
EXTRACT_SUFX= |
15 |
DISTFILES= p4 p4d p4.1 p4d.1 |
15 |
DISTFILES= p4 p4d p4web p4.1 p4d.1 |
16 |
DIST_SUBDIR= perforce |
16 |
DIST_SUBDIR= perforce |
17 |
|
17 |
|
18 |
MAINTAINER= sam@inf.enst.fr |
18 |
MAINTAINER= sam@inf.enst.fr |
19 |
|
19 |
|
20 |
NO_PACKAGE= Restricted distribution |
20 |
NO_PACKAGE= Restricted distribution |
21 |
NO_CDROM= Restricted distribution |
21 |
NO_CDROM= Restricted distribution |
22 |
NO_BUILD= yes |
|
|
23 |
MAN1= p4.1 p4d.1 |
22 |
MAN1= p4.1 p4d.1 |
24 |
|
23 |
|
25 |
do-extract: |
24 |
do-extract: |
26 |
@${MKDIR} ${WRKSRC} |
25 |
@${MKDIR} ${WRKSRC} |
27 |
|
26 |
|
|
|
27 |
do-build: |
28 |
${SED} -e "s,@PREFIX@,${PREFIX},g" \ |
29 |
< files/perforce.sh.in > ${WRKSRC}/perforce.sh |
30 |
|
28 |
do-install: |
31 |
do-install: |
29 |
${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/p4 ${PREFIX}/bin |
32 |
${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/p4 ${PREFIX}/bin/ |
30 |
${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/p4d ${PREFIX}/sbin |
33 |
${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/p4web ${PREFIX}/bin/ |
|
|
34 |
${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/p4d ${PREFIX}/sbin/ |
35 |
if [ ! -f ${PREFIX}/etc/perforce ]; then \ |
36 |
${INSTALL_DATA} files/perforce ${PREFIX}/etc/; \ |
37 |
fi |
38 |
${INSTALL_SCRIPT} ${WRKSRC}/perforce.sh ${PREFIX}/etc/rc.d/ |
31 |
.for PERFMAN in p4 p4d |
39 |
.for PERFMAN in p4 p4d |
32 |
${INSTALL_MAN} ${DISTDIR}/${DIST_SUBDIR}/${PERFMAN}.1 ${PREFIX}/man/man1 |
40 |
${INSTALL_MAN} ${DISTDIR}/${DIST_SUBDIR}/${PERFMAN}.1 ${PREFIX}/man/man1 |
33 |
.endfor |
41 |
.endfor |