diff options
author | schmonz <schmonz@pkgsrc.org> | 2002-09-01 02:25:04 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2002-09-01 02:25:04 +0000 |
commit | 76f8f380746937f23375d51011c73ec8230a6e69 (patch) | |
tree | 2d57c4a0fde310d61ab4447647c1fa4abca8413a /devel/p4/Makefile | |
parent | 3e6bfff126b272f3cbd97747724fb576a8817210 (diff) | |
download | pkgsrc-76f8f380746937f23375d51011c73ec8230a6e69.tar.gz |
Initial import of Perforce SCM server, release 2002.1.
P4D, the Perforce Server, manages the Perforce central file repository
(the "depot"), tracks Perforce user operations, and records activity
in the Perforce SCM database. You need one Perforce Server to
support all of the users in your enterprise.
Diffstat (limited to 'devel/p4/Makefile')
-rw-r--r-- | devel/p4/Makefile | 35 |
1 files changed, 30 insertions, 5 deletions
diff --git a/devel/p4/Makefile b/devel/p4/Makefile index 799ac203769..a5349cb93df 100644 --- a/devel/p4/Makefile +++ b/devel/p4/Makefile @@ -1,15 +1,40 @@ -# $NetBSD: Makefile,v 1.1.1.1 2002/09/01 02:22:54 schmonz Exp $ +# $NetBSD: Makefile,v 1.1.1.2 2002/09/01 02:25:04 schmonz Exp $ # -DISTNAME= p4 -HOMEPAGE= http://www.perforce.com/perforce/products/p4.html -COMMENT= Perforce SCM command-line client +DISTNAME= p4d +HOMEPAGE= http://www.perforce.com/perforce/products/p4d.html +COMMENT= Perforce SCM server P4BINONLY= # defined .include "../../devel/p4/Makefile.common" +FILES_SUBST+= P4USER=${P4USER:Q} +FILES_SUBST+= P4ROOT=${P4ROOT:Q} +FILES_SUBST+= P4PORT=${P4PORT:Q} +FILES_SUBST+= P4LOG=${P4LOG:Q} +FILES_SUBST+= P4JOURNAL=${P4JOURNAL:Q} + +PKG_GROUPS?= ${P4GROUP} +PKG_USERS?= ${P4USER}:${P4GROUP}::Perforce\\ Server:${P4ROOT} + +OWN_DIRS_PERMS= ${P4ROOT} ${P4USER} ${P4GROUP} 750 + +RCD_SCRIPTS= p4d + +.include "../../mk/bsd.prefs.mk" + +P4USER?= perforce +P4GROUP?= p4admin +P4ROOT?= /var/perforce +P4PORT?= 1666 +P4LOG?= log +P4JOURNAL?= journal + do-install: - ${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${PREFIX}/sbin + @${SED} ${FILES_SUBST_SED} ${FILESDIR}/p4d.sh > ${WRKDIR}/p4d + ${INSTALL_SCRIPT} ${WRKDIR}/p4d ${RCD_SCRIPTS_EXAMPLEDIR} +.include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" |