Index: head/devel/p4/Makefile =================================================================== --- head/devel/p4/Makefile (revision 34325) +++ head/devel/p4/Makefile (revision 34326) @@ -1,35 +1,44 @@ # New ports collection makefile for: perforce # Date created: 3 Mai 2000 # Whom: sam@inf.enst.fr # # $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 .include Property changes on: head/devel/p4/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/devel/p4/distinfo =================================================================== --- head/devel/p4/distinfo (revision 34325) +++ head/devel/p4/distinfo (revision 34326) @@ -1,4 +1,5 @@ -MD5 (perforce/p4) = 6394c00f803fec549b3d22539bbdbe4a -MD5 (perforce/p4d) = 0e14a67349b32ac413876b010ad41024 -MD5 (perforce/p4.1) = 316b0cf0e0c6e0ff63ecdb612e45f58a -MD5 (perforce/p4d.1) = e2f1b2c60690ac4d4d3881faee5aa5e0 +MD5 (perforce/p4) = 9456775cd3acbdf7b61fa5cc9abaa929 +MD5 (perforce/p4d) = f85238c698d4fe724289edd62809a16c +MD5 (perforce/p4web) = efe8d09184767fd1c8d9b63ce6d9f7d4 +MD5 (perforce/p4.1) = ff71fd46bccf768a1681252d358b2b49 +MD5 (perforce/p4d.1) = 17383209ae44dd2383f62cb47fe4ba78 Property changes on: head/devel/p4/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/devel/p4/files/perforce =================================================================== --- head/devel/p4/files/perforce (nonexistent) +++ head/devel/p4/files/perforce (revision 34326) @@ -0,0 +1,18 @@ +# +# Perforce FreeBSD configuration file +# + +# +# Perforce ROOT +# +PERFORCE_ROOT="/usr/p4root" + +# +# Perforce options (see man p4d) +# +PERFORCE_OPTIONS="-v server=1 -L /var/log/perforce" + +# +# Uncomment this line to have the server started automatically +# +#PERFORCE_START=yes Property changes on: head/devel/p4/files/perforce ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/devel/p4/files/perforce.sh.in =================================================================== --- head/devel/p4/files/perforce.sh.in (nonexistent) +++ head/devel/p4/files/perforce.sh.in (revision 34326) @@ -0,0 +1,11 @@ +#!/bin/sh +case $1 in + start) + [ -f @PREFIX@/etc/perforce ] && . @PREFIX@/etc/perforce + if [ x$PERFORCE_START = xyes ]; then + echo -n " perforce server" + p4d -r $PERFORCE_ROOT $PERFORCE_OPTIONS + fi + ;; + *) ;; +esac Property changes on: head/devel/p4/files/perforce.sh.in ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/devel/p4/pkg-plist =================================================================== --- head/devel/p4/pkg-plist (revision 34325) +++ head/devel/p4/pkg-plist (revision 34326) @@ -1,2 +1,5 @@ bin/p4 +bin/p4web sbin/p4d +etc/perforce +etc/rc.d/perforce.sh Property changes on: head/devel/p4/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/devel/p4d/Makefile =================================================================== --- head/devel/p4d/Makefile (revision 34325) +++ head/devel/p4d/Makefile (revision 34326) @@ -1,35 +1,44 @@ # New ports collection makefile for: perforce # Date created: 3 Mai 2000 # Whom: sam@inf.enst.fr # # $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 .include Property changes on: head/devel/p4d/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/devel/p4d/distinfo =================================================================== --- head/devel/p4d/distinfo (revision 34325) +++ head/devel/p4d/distinfo (revision 34326) @@ -1,4 +1,5 @@ -MD5 (perforce/p4) = 6394c00f803fec549b3d22539bbdbe4a -MD5 (perforce/p4d) = 0e14a67349b32ac413876b010ad41024 -MD5 (perforce/p4.1) = 316b0cf0e0c6e0ff63ecdb612e45f58a -MD5 (perforce/p4d.1) = e2f1b2c60690ac4d4d3881faee5aa5e0 +MD5 (perforce/p4) = 9456775cd3acbdf7b61fa5cc9abaa929 +MD5 (perforce/p4d) = f85238c698d4fe724289edd62809a16c +MD5 (perforce/p4web) = efe8d09184767fd1c8d9b63ce6d9f7d4 +MD5 (perforce/p4.1) = ff71fd46bccf768a1681252d358b2b49 +MD5 (perforce/p4d.1) = 17383209ae44dd2383f62cb47fe4ba78 Property changes on: head/devel/p4d/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/devel/p4d/files/perforce =================================================================== --- head/devel/p4d/files/perforce (nonexistent) +++ head/devel/p4d/files/perforce (revision 34326) @@ -0,0 +1,18 @@ +# +# Perforce FreeBSD configuration file +# + +# +# Perforce ROOT +# +PERFORCE_ROOT="/usr/p4root" + +# +# Perforce options (see man p4d) +# +PERFORCE_OPTIONS="-v server=1 -L /var/log/perforce" + +# +# Uncomment this line to have the server started automatically +# +#PERFORCE_START=yes Property changes on: head/devel/p4d/files/perforce ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/devel/p4d/files/perforce.sh.in =================================================================== --- head/devel/p4d/files/perforce.sh.in (nonexistent) +++ head/devel/p4d/files/perforce.sh.in (revision 34326) @@ -0,0 +1,11 @@ +#!/bin/sh +case $1 in + start) + [ -f @PREFIX@/etc/perforce ] && . @PREFIX@/etc/perforce + if [ x$PERFORCE_START = xyes ]; then + echo -n " perforce server" + p4d -r $PERFORCE_ROOT $PERFORCE_OPTIONS + fi + ;; + *) ;; +esac Property changes on: head/devel/p4d/files/perforce.sh.in ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/devel/p4d/pkg-plist =================================================================== --- head/devel/p4d/pkg-plist (revision 34325) +++ head/devel/p4d/pkg-plist (revision 34326) @@ -1,2 +1,5 @@ bin/p4 +bin/p4web sbin/p4d +etc/perforce +etc/rc.d/perforce.sh Property changes on: head/devel/p4d/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/devel/p4ftpd/Makefile =================================================================== --- head/devel/p4ftpd/Makefile (revision 34325) +++ head/devel/p4ftpd/Makefile (revision 34326) @@ -1,35 +1,44 @@ # New ports collection makefile for: perforce # Date created: 3 Mai 2000 # Whom: sam@inf.enst.fr # # $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 .include Property changes on: head/devel/p4ftpd/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/devel/p4ftpd/distinfo =================================================================== --- head/devel/p4ftpd/distinfo (revision 34325) +++ head/devel/p4ftpd/distinfo (revision 34326) @@ -1,4 +1,5 @@ -MD5 (perforce/p4) = 6394c00f803fec549b3d22539bbdbe4a -MD5 (perforce/p4d) = 0e14a67349b32ac413876b010ad41024 -MD5 (perforce/p4.1) = 316b0cf0e0c6e0ff63ecdb612e45f58a -MD5 (perforce/p4d.1) = e2f1b2c60690ac4d4d3881faee5aa5e0 +MD5 (perforce/p4) = 9456775cd3acbdf7b61fa5cc9abaa929 +MD5 (perforce/p4d) = f85238c698d4fe724289edd62809a16c +MD5 (perforce/p4web) = efe8d09184767fd1c8d9b63ce6d9f7d4 +MD5 (perforce/p4.1) = ff71fd46bccf768a1681252d358b2b49 +MD5 (perforce/p4d.1) = 17383209ae44dd2383f62cb47fe4ba78 Property changes on: head/devel/p4ftpd/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/devel/p4ftpd/files/perforce =================================================================== --- head/devel/p4ftpd/files/perforce (nonexistent) +++ head/devel/p4ftpd/files/perforce (revision 34326) @@ -0,0 +1,18 @@ +# +# Perforce FreeBSD configuration file +# + +# +# Perforce ROOT +# +PERFORCE_ROOT="/usr/p4root" + +# +# Perforce options (see man p4d) +# +PERFORCE_OPTIONS="-v server=1 -L /var/log/perforce" + +# +# Uncomment this line to have the server started automatically +# +#PERFORCE_START=yes Property changes on: head/devel/p4ftpd/files/perforce ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/devel/p4ftpd/files/perforce.sh.in =================================================================== --- head/devel/p4ftpd/files/perforce.sh.in (nonexistent) +++ head/devel/p4ftpd/files/perforce.sh.in (revision 34326) @@ -0,0 +1,11 @@ +#!/bin/sh +case $1 in + start) + [ -f @PREFIX@/etc/perforce ] && . @PREFIX@/etc/perforce + if [ x$PERFORCE_START = xyes ]; then + echo -n " perforce server" + p4d -r $PERFORCE_ROOT $PERFORCE_OPTIONS + fi + ;; + *) ;; +esac Property changes on: head/devel/p4ftpd/files/perforce.sh.in ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/devel/p4ftpd/pkg-plist =================================================================== --- head/devel/p4ftpd/pkg-plist (revision 34325) +++ head/devel/p4ftpd/pkg-plist (revision 34326) @@ -1,2 +1,5 @@ bin/p4 +bin/p4web sbin/p4d +etc/perforce +etc/rc.d/perforce.sh Property changes on: head/devel/p4ftpd/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/devel/p4p/Makefile =================================================================== --- head/devel/p4p/Makefile (revision 34325) +++ head/devel/p4p/Makefile (revision 34326) @@ -1,35 +1,44 @@ # New ports collection makefile for: perforce # Date created: 3 Mai 2000 # Whom: sam@inf.enst.fr # # $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 .include Property changes on: head/devel/p4p/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/devel/p4p/distinfo =================================================================== --- head/devel/p4p/distinfo (revision 34325) +++ head/devel/p4p/distinfo (revision 34326) @@ -1,4 +1,5 @@ -MD5 (perforce/p4) = 6394c00f803fec549b3d22539bbdbe4a -MD5 (perforce/p4d) = 0e14a67349b32ac413876b010ad41024 -MD5 (perforce/p4.1) = 316b0cf0e0c6e0ff63ecdb612e45f58a -MD5 (perforce/p4d.1) = e2f1b2c60690ac4d4d3881faee5aa5e0 +MD5 (perforce/p4) = 9456775cd3acbdf7b61fa5cc9abaa929 +MD5 (perforce/p4d) = f85238c698d4fe724289edd62809a16c +MD5 (perforce/p4web) = efe8d09184767fd1c8d9b63ce6d9f7d4 +MD5 (perforce/p4.1) = ff71fd46bccf768a1681252d358b2b49 +MD5 (perforce/p4d.1) = 17383209ae44dd2383f62cb47fe4ba78 Property changes on: head/devel/p4p/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/devel/p4p/files/perforce =================================================================== --- head/devel/p4p/files/perforce (nonexistent) +++ head/devel/p4p/files/perforce (revision 34326) @@ -0,0 +1,18 @@ +# +# Perforce FreeBSD configuration file +# + +# +# Perforce ROOT +# +PERFORCE_ROOT="/usr/p4root" + +# +# Perforce options (see man p4d) +# +PERFORCE_OPTIONS="-v server=1 -L /var/log/perforce" + +# +# Uncomment this line to have the server started automatically +# +#PERFORCE_START=yes Property changes on: head/devel/p4p/files/perforce ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/devel/p4p/files/perforce.sh.in =================================================================== --- head/devel/p4p/files/perforce.sh.in (nonexistent) +++ head/devel/p4p/files/perforce.sh.in (revision 34326) @@ -0,0 +1,11 @@ +#!/bin/sh +case $1 in + start) + [ -f @PREFIX@/etc/perforce ] && . @PREFIX@/etc/perforce + if [ x$PERFORCE_START = xyes ]; then + echo -n " perforce server" + p4d -r $PERFORCE_ROOT $PERFORCE_OPTIONS + fi + ;; + *) ;; +esac Property changes on: head/devel/p4p/files/perforce.sh.in ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/devel/p4p/pkg-plist =================================================================== --- head/devel/p4p/pkg-plist (revision 34325) +++ head/devel/p4p/pkg-plist (revision 34326) @@ -1,2 +1,5 @@ bin/p4 +bin/p4web sbin/p4d +etc/perforce +etc/rc.d/perforce.sh Property changes on: head/devel/p4p/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/devel/p4web/Makefile =================================================================== --- head/devel/p4web/Makefile (revision 34325) +++ head/devel/p4web/Makefile (revision 34326) @@ -1,35 +1,44 @@ # New ports collection makefile for: perforce # Date created: 3 Mai 2000 # Whom: sam@inf.enst.fr # # $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 .include Property changes on: head/devel/p4web/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/devel/p4web/distinfo =================================================================== --- head/devel/p4web/distinfo (revision 34325) +++ head/devel/p4web/distinfo (revision 34326) @@ -1,4 +1,5 @@ -MD5 (perforce/p4) = 6394c00f803fec549b3d22539bbdbe4a -MD5 (perforce/p4d) = 0e14a67349b32ac413876b010ad41024 -MD5 (perforce/p4.1) = 316b0cf0e0c6e0ff63ecdb612e45f58a -MD5 (perforce/p4d.1) = e2f1b2c60690ac4d4d3881faee5aa5e0 +MD5 (perforce/p4) = 9456775cd3acbdf7b61fa5cc9abaa929 +MD5 (perforce/p4d) = f85238c698d4fe724289edd62809a16c +MD5 (perforce/p4web) = efe8d09184767fd1c8d9b63ce6d9f7d4 +MD5 (perforce/p4.1) = ff71fd46bccf768a1681252d358b2b49 +MD5 (perforce/p4d.1) = 17383209ae44dd2383f62cb47fe4ba78 Property changes on: head/devel/p4web/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/devel/p4web/files/perforce =================================================================== --- head/devel/p4web/files/perforce (nonexistent) +++ head/devel/p4web/files/perforce (revision 34326) @@ -0,0 +1,18 @@ +# +# Perforce FreeBSD configuration file +# + +# +# Perforce ROOT +# +PERFORCE_ROOT="/usr/p4root" + +# +# Perforce options (see man p4d) +# +PERFORCE_OPTIONS="-v server=1 -L /var/log/perforce" + +# +# Uncomment this line to have the server started automatically +# +#PERFORCE_START=yes Property changes on: head/devel/p4web/files/perforce ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/devel/p4web/files/perforce.sh.in =================================================================== --- head/devel/p4web/files/perforce.sh.in (nonexistent) +++ head/devel/p4web/files/perforce.sh.in (revision 34326) @@ -0,0 +1,11 @@ +#!/bin/sh +case $1 in + start) + [ -f @PREFIX@/etc/perforce ] && . @PREFIX@/etc/perforce + if [ x$PERFORCE_START = xyes ]; then + echo -n " perforce server" + p4d -r $PERFORCE_ROOT $PERFORCE_OPTIONS + fi + ;; + *) ;; +esac Property changes on: head/devel/p4web/files/perforce.sh.in ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/devel/p4web/pkg-plist =================================================================== --- head/devel/p4web/pkg-plist (revision 34325) +++ head/devel/p4web/pkg-plist (revision 34326) @@ -1,2 +1,5 @@ bin/p4 +bin/p4web sbin/p4d +etc/perforce +etc/rc.d/perforce.sh Property changes on: head/devel/p4web/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/devel/perforce/Makefile =================================================================== --- head/devel/perforce/Makefile (revision 34325) +++ head/devel/perforce/Makefile (revision 34326) @@ -1,35 +1,44 @@ # New ports collection makefile for: perforce # Date created: 3 Mai 2000 # Whom: sam@inf.enst.fr # # $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 .include Property changes on: head/devel/perforce/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/devel/perforce/distinfo =================================================================== --- head/devel/perforce/distinfo (revision 34325) +++ head/devel/perforce/distinfo (revision 34326) @@ -1,4 +1,5 @@ -MD5 (perforce/p4) = 6394c00f803fec549b3d22539bbdbe4a -MD5 (perforce/p4d) = 0e14a67349b32ac413876b010ad41024 -MD5 (perforce/p4.1) = 316b0cf0e0c6e0ff63ecdb612e45f58a -MD5 (perforce/p4d.1) = e2f1b2c60690ac4d4d3881faee5aa5e0 +MD5 (perforce/p4) = 9456775cd3acbdf7b61fa5cc9abaa929 +MD5 (perforce/p4d) = f85238c698d4fe724289edd62809a16c +MD5 (perforce/p4web) = efe8d09184767fd1c8d9b63ce6d9f7d4 +MD5 (perforce/p4.1) = ff71fd46bccf768a1681252d358b2b49 +MD5 (perforce/p4d.1) = 17383209ae44dd2383f62cb47fe4ba78 Property changes on: head/devel/perforce/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/devel/perforce/files/perforce =================================================================== --- head/devel/perforce/files/perforce (nonexistent) +++ head/devel/perforce/files/perforce (revision 34326) @@ -0,0 +1,18 @@ +# +# Perforce FreeBSD configuration file +# + +# +# Perforce ROOT +# +PERFORCE_ROOT="/usr/p4root" + +# +# Perforce options (see man p4d) +# +PERFORCE_OPTIONS="-v server=1 -L /var/log/perforce" + +# +# Uncomment this line to have the server started automatically +# +#PERFORCE_START=yes Property changes on: head/devel/perforce/files/perforce ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/devel/perforce/files/perforce.sh.in =================================================================== --- head/devel/perforce/files/perforce.sh.in (nonexistent) +++ head/devel/perforce/files/perforce.sh.in (revision 34326) @@ -0,0 +1,11 @@ +#!/bin/sh +case $1 in + start) + [ -f @PREFIX@/etc/perforce ] && . @PREFIX@/etc/perforce + if [ x$PERFORCE_START = xyes ]; then + echo -n " perforce server" + p4d -r $PERFORCE_ROOT $PERFORCE_OPTIONS + fi + ;; + *) ;; +esac Property changes on: head/devel/perforce/files/perforce.sh.in ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/devel/perforce/pkg-plist =================================================================== --- head/devel/perforce/pkg-plist (revision 34325) +++ head/devel/perforce/pkg-plist (revision 34326) @@ -1,2 +1,5 @@ bin/p4 +bin/p4web sbin/p4d +etc/perforce +etc/rc.d/perforce.sh Property changes on: head/devel/perforce/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property