1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
This commit is contained in:
Vanilla I. Shu 2014-06-11 15:39:15 +00:00
parent 8a87ecc99f
commit 73c3bdb1af
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357496
2 changed files with 8 additions and 10 deletions

View File

@ -22,9 +22,6 @@ USES= perl5
WRKSRC= ${WRKDIR}/${PORTNAME}
POD2MAN?= pod2man
MAN1= goose.1
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
-e "s|%%DATADIR%%|${DATADIR}|g" \
@ -36,13 +33,13 @@ do-build:
@cd ${WRKSRC} && ${POD2MAN} goose > goose.1
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/goose ${PREFIX}/bin
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/GoogleSearch.wsdl ${DATADIR}
${INSTALL_MAN} ${WRKSRC}/goose.1 ${MAN1PREFIX}/man/man1
${INSTALL_SCRIPT} ${WRKSRC}/goose ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/GoogleSearch.wsdl ${STAGEDIR}${DATADIR}
${INSTALL_MAN} ${WRKSRC}/goose.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/goose.conf.example ${EXAMPLESDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/goose.conf.example ${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.mk>

View File

@ -1,5 +1,6 @@
bin/goose
man/man1/goose.1.gz
%%DATADIR%%/GoogleSearch.wsdl
@dirrm %%DATADIR%%
%%PORTDOCS%%%%EXAMPLESDIR%%/goose.conf.example
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
@dirrm %%DATADIR%%