1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
This commit is contained in:
Vanilla I. Shu 2014-07-29 12:47:11 +00:00
parent bd7f40e53f
commit 6ea3a26faa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363310
2 changed files with 6 additions and 14 deletions

View File

@ -22,23 +22,15 @@ RUN_DEPENDS= p5-Net-SNMP>=0:${PORTSDIR}/net-mgmt/p5-Net-SNMP \
USES= perl5
WRKSRC= ${WRKDIR}/agent_tracker
NO_BUILD= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
#PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_LIST= TRACKERAGENTDIR="${TRACKERAGENTDIR}"
CPIOARGS= --quiet -pdum
TRACKERAGENTDIR?= share/tracker_agent
NO_STAGE= yes
.include <bsd.port.pre.mk>
post-configure:
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
-e 's,%%TRACKERAGENTDIR%%,${TRACKERAGENTDIR},g' pkg-message > ${PKGMESSAGE}
do-install:
@${MKDIR} -m 0755 ${PREFIX}/${TRACKERAGENTDIR}
@cd ${WRKSRC} && ${FIND} * -print | ${CPIO} ${CPIOARGS} ${PREFIX}/${TRACKERAGENTDIR}
@${MKDIR} -m 0755 ${STAGEDIR}${PREFIX}/${TRACKERAGENTDIR}
@cd ${WRKSRC} && ${FIND} * -print | ${CPIO} ${CPIOARGS} ${STAGEDIR}${PREFIX}/${TRACKERAGENTDIR}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
.include <bsd.port.mk>