blob: 8bfdff248663b8339e8e7a6398ecce7bc5a390f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.2 2002/09/01 05:00:27 schmonz Exp $
#
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"
P4LOG?= log
P4JOURNAL?= journal
do-install:
${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"
|