Lines 34-40
Link Here
|
34 |
|
34 |
|
35 |
USE_RC_SUBR= p4p |
35 |
USE_RC_SUBR= p4p |
36 |
|
36 |
|
37 |
NO_STAGE= yes |
|
|
38 |
.include <bsd.port.pre.mk> |
37 |
.include <bsd.port.pre.mk> |
39 |
|
38 |
|
40 |
.include "${.CURDIR}/../p4/Makefile.inc" |
39 |
.include "${.CURDIR}/../p4/Makefile.inc" |
Lines 43-57
Link Here
|
43 |
GROUPS= p4admin |
42 |
GROUPS= p4admin |
44 |
|
43 |
|
45 |
do-install: |
44 |
do-install: |
46 |
${INSTALL_PROGRAM} ${_DISTDIR}/p4p ${PREFIX}/sbin/ |
45 |
${INSTALL_PROGRAM} ${_DISTDIR}/p4p ${STAGEDIR}${PREFIX}/sbin/ |
47 |
|
46 |
|
48 |
post-install: |
47 |
post-install: |
49 |
${MKDIR} ${DESTDIR}${P4CACHE} |
|
|
50 |
${CHOWN} p4admin:p4admin ${DESTDIR}${P4CACHE} |
51 |
${CHMOD} 750 ${DESTDIR}${P4CACHE} |
52 |
${TOUCH} ${DESTDIR}${P4LOG} |
53 |
${CHOWN} p4admin:p4admin ${DESTDIR}${P4LOG} |
54 |
${CHMOD} 640 ${DESTDIR}${P4LOG} |
55 |
@${ECHO_CMD} "@exec ${MKDIR} ${DESTDIR}${P4CACHE}" >> ${TMPPLIST} |
48 |
@${ECHO_CMD} "@exec ${MKDIR} ${DESTDIR}${P4CACHE}" >> ${TMPPLIST} |
56 |
@${ECHO_CMD} "@exec ${CHOWN} p4admin:p4admin ${DESTDIR}${P4CACHE}" >> ${TMPPLIST} |
49 |
@${ECHO_CMD} "@exec ${CHOWN} p4admin:p4admin ${DESTDIR}${P4CACHE}" >> ${TMPPLIST} |
57 |
@${ECHO_CMD} "@exec ${CHMOD} 750 ${DESTDIR}${P4CACHE}" >> ${TMPPLIST} |
50 |
@${ECHO_CMD} "@exec ${CHMOD} 750 ${DESTDIR}${P4CACHE}" >> ${TMPPLIST} |