mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Stagify.
This commit is contained in:
parent
8a87ecc99f
commit
73c3bdb1af
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357496
@ -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>
|
||||
|
@ -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%%
|
||||
|
Loading…
Reference in New Issue
Block a user