Date: Mon, 9 Oct 2000 17:29:23 +0200 (CEST) From: sam@inf.enst.fr To: FreeBSD-gnats-submit@freebsd.org Subject: ports/21863: Port update: devel/perforce Message-ID: <20001009152923.7210120C@trillian.enst.fr>
next in thread | raw e-mail | index | archive | help
>Number: 21863 >Category: ports >Synopsis: Port update: devel/perforce >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Oct 09 08:30:05 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Samuel Tardieu >Release: FreeBSD 4.1-STABLE i386 >Organization: TELECOM Paris >Environment: >Description: Perforce port update >How-To-Repeat: >Fix: Please apply the following patch, and manually add files/perforce and files/perforce.sh.in. --- perforce/Makefile.orig Mon Oct 9 16:56:35 2000 +++ perforce/Makefile Mon Oct 9 17:22:16 2000 @@ -6,28 +6,36 @@ # PORTNAME= perforce -PORTVERSION= 99.2 +PORTVERSION= 00.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" \ + < files/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} files/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 --- perforce/distinfo.orig Mon Oct 9 16:58:34 2000 +++ perforce/distinfo Mon Oct 9 17:01:36 2000 @@ -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 --- perforce/pkg-plist.orig Mon Oct 9 16:58:50 2000 +++ perforce/pkg-plist Mon Oct 9 17:21:15 2000 @@ -1,2 +1,5 @@ bin/p4 +bin/p4web sbin/p4d +etc/perforce +etc/rc.d/perforce.sh --- /dev/null Mon Oct 9 17:23:48 2000 +++ perforce/files/perforce Mon Oct 9 17:17:56 2000 @@ -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 --- /dev/null Mon Oct 9 17:23:48 2000 +++ perforce/files/perforce.sh.in Mon Oct 9 17:15:29 2000 @@ -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 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001009152923.7210120C>