1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Add support to stage.

This commit is contained in:
Marcelo Araujo 2013-09-30 04:13:18 +00:00
parent 61a1d3196a
commit 185c7f737c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328769

View File

@ -20,14 +20,13 @@ PLIST_FILES= bin/abcm2ps %%DATADIR%%/fbook.fmt %%DATADIR%%/fonts.fmt \
%%DATADIR%%/tight.fmt %%DATADIR%%/musicfont.fmt
PLIST_DIRS= %%DATADIR%%
NO_STAGE= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/abcm2ps ${PREFIX}/bin/
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.fmt ${DATADIR}/
${INSTALL_PROGRAM} ${WRKSRC}/abcm2ps ${STAGEDIR}${PREFIX}/bin/
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.fmt ${STAGEDIR}${DATADIR}/
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
.endif
.include <bsd.port.mk>