1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Stage support

This commit is contained in:
Antoine Brodin 2014-01-30 19:32:23 +00:00
parent f84a8cef42
commit b8689d95f0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341875

View File

@ -20,25 +20,18 @@ SUB_FILES= pkg-message
PLIST_FILES= bin/jlj share/examples/jlj/dot.livejournal.rc
PLIST_DIRS= share/examples/jlj
PORTDOCS= README
SHEBANG_FILES= jlj.pl
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= README
.endif
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/jlj.pl ${PREFIX}/bin/jlj
@${MKDIR} ${PREFIX}/share/examples/jlj
${INSTALL_SCRIPT} ${WRKSRC}/jlj.pl ${STAGEDIR}${PREFIX}/bin/jlj
@${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/jlj
${INSTALL_DATA} ${WRKSRC}/.livejournal.rc \
${PREFIX}/share/examples/jlj/dot.livejournal.rc
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.JLJ ${DOCSDIR}/README
.endif
@${CAT} ${PKGMESSAGE}
${STAGEDIR}${PREFIX}/share/examples/jlj/dot.livejournal.rc
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.JLJ ${STAGEDIR}${DOCSDIR}/README
.include <bsd.port.mk>