# New ports collection makefile for: perforce # Date created: 3 Mai 2000 # Whom: sam@inf.enst.fr # # $FreeBSD$ # PORTNAME= perforce PORTVERSION= ${VERSION} PORTREVISION= ${REVISION} PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= ftp://ftp.perforce.com/pub/perforce/r${PORTVERSION}/bin.${PLATFORM}/ \ ftp://ftp.perforce.com/pub/perforce/r${PORTVERSION}/doc/man/:man EXTRACT_SUFX= DISTFILES= ${BIN_FILES} ${SBIN_FILES} ${MAN1:S/$/:man/} DIST_SUBDIR= perforce/${VERSION}/${ARCH} EXTRACT_ONLY= # none MAINTAINER= marshall@chezmarshall.com COMMENT= Perforce client and server NO_PACKAGE= Restricted distribution NO_CDROM= Restricted distribution MAN1= p4.1 p4d.1 NO_WRKSUBDIR= yes .include # These variables are all configurable. PERFORCE_USER?= p4admin PERFORCE_UID?= 94 PERFORCE_GROUP?= p4admin PERFORCE_GID?= 94 PERFORCE_HOME?= ${LOCALBASE}/perforce PERFORCE_ROOT?= ${PERFORCE_HOME}/root PERFORCE_LOGS?= ${PERFORCE_HOME}/logs PERFORCE_PORT?= 1666 PERFORCE_CACHE?= ${PERFORCE_HOME}/cache PERFORCE_TARGET?= perforce:1666 .if ${ARCH} == i386 VERSION= 03.1 REVISION= 1 PLATFORM= freebsd4 BIN_FILES= p4 p4web SBIN_FILES= p4d p4ftpd p4p .elif ${ARCH} == alpha VERSION= 99.1 REVISION= 1 PLATFORM= freebsdaxp BIN_FILES= p4 SBIN_FILES= p4d .else IGNORE= "Unsupported platform, sorry." .endif do-build: ${SED} -e "s,@PERFORCE_ROOT@,${PERFORCE_ROOT},g" \ -e "s,@PERFORCE_LOGS@,${PERFORCE_LOGS},g" \ -e "s,@PERFORCE_USER@,${PERFORCE_USER},g" \ -e "s,@PERFORCE_PORT@,${PERFORCE_PORT},g" \ -e "s,@PERFORCE_CACHE@,${PERFORCE_CACHE},g" \ -e "s,@PERFORCE_TARGET@,${PERFORCE_TARGET},g" \ < ${FILESDIR}/perforce.conf.in > ${WRKSRC}/perforce.conf ${SED} -e "s,@PREFIX@,${PREFIX},g" \ < ${FILESDIR}/perforce.sh.in > ${WRKSRC}/perforce.sh pre-install: ${SETENV} PKG_PREFIX=${PREFIX} \ PERFORCE_USER=${PERFORCE_USER} \ PERFORCE_UID=${PERFORCE_UID} \ PERFORCE_GROUP=${PERFORCE_GROUP} \ PERFORCE_GID=${PERFORCE_GID} \ PERFORCE_HOME=${PERFORCE_HOME} \ PERFORCE_ROOT=${PERFORCE_ROOT} \ PERFORCE_LOGS=${PERFORCE_LOGS} \ ${SH} ${PKGDIR}/pkg-install ${PORTNAME} PRE-INSTALL do-install: .for f in ${BIN_FILES} ${INSTALL_PROGRAM} ${_DISTDIR}/${f} ${PREFIX}/bin/ .endfor .for f in ${SBIN_FILES} ${INSTALL_PROGRAM} ${_DISTDIR}/${f} ${PREFIX}/sbin/ .endfor ${INSTALL_DATA} ${WRKSRC}/perforce.conf ${PREFIX}/etc/perforce.conf.default; \ if [ ! -f ${PREFIX}/etc/perforce.conf ]; then \ ${CP} -p ${PREFIX}/etc/perforce.conf.default ${PREFIX}/etc/perforce.conf; \ fi ${INSTALL_SCRIPT} ${WRKSRC}/perforce.sh ${PREFIX}/etc/rc.d/ .for f in ${MAN1} ${INSTALL_MAN} ${_DISTDIR}/${f} ${PREFIX}/man/man1/ .endfor .for f in ${BIN_FILES} ${INSTALL_PROGRAM} ${_DISTDIR}/${f} ${PREFIX}/bin/ .endfor .for f in ${SBIN_FILES} ${INSTALL_PROGRAM} ${_DISTDIR}/${f} ${PREFIX}/sbin/ .endfor post-install: .for f in ${BIN_FILES} ${ECHO_CMD} bin/${f} >> ${TMPPLIST} .endfor .for f in ${SBIN_FILES} ${ECHO_CMD} sbin/${f} >> ${TMPPLIST} .endfor ${ECHO_CMD} "@unexec ${RMDIR} ${PERFORCE_ROOT} ${PERFORCE_LOGS} ${PERFORCE_HOME} 2>/dev/null || true" >> ${TMPPLIST} .include dependabot/npm_and_yarn/devel/electron6/files/elliptic-6.5.3'>dependabot/npm_and_yarn/devel/electron6/files/elliptic-6.5.3 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Update to 1.77.tobez2013-02-132-3/+3
* - Update to 1.76culot2013-02-082-4/+7
* Update to 1.75.tobez2013-02-052-4/+4
* - update to 1.73leeym2013-01-312-4/+8
* Update to 1.71.tobez2013-01-293-10/+12
* - Remove SITE_PERL from *_DEPENDSculot2012-06-051-2/+2
* At the moment 1385 ports use BUILD_DEPENDS= ${RUN_DEPENDS} and 450eadler2012-01-221-1/+1
* The vast majority of pkg-descr files had the following format when theydougb2011-10-24