1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
Approved by:	portmgr@
This commit is contained in:
Vanilla I. Shu 2014-06-19 16:07:57 +00:00
parent ec24314382
commit 92d22b04c4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358437

View File

@ -17,7 +17,6 @@ PORTDOCS= README anldp.pdf mace2.pdf otter33.pdf
OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_DEFINE= DOCS EXAMPLES
NO_STAGE= yes
.include <bsd.port.options.mk> .include <bsd.port.options.mk>
post-patch: post-patch:
@ -31,15 +30,15 @@ post-patch:
${WRKSRC}/mace2/Makefile ${WRKSRC}/mace2/Makefile
do-install: do-install:
${INSTALL_PROGRAM} ${PROGRAMS:S,^,${WRKSRC}/bin/,} ${PREFIX}/bin ${INSTALL_PROGRAM} ${PROGRAMS:S,^,${WRKSRC}/bin/,} ${STAGEDIR}${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS} .if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/documents/,} ${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/documents/,} ${STAGEDIR}${DOCSDIR}
.endif .endif
.if ${PORT_OPTIONS:MEXAMPLES} .if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR} ${PREFIX}/share/examples/mace2 @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${PREFIX}/share/examples/mace2
(cd ${WRKSRC}/examples; ${PAX} -rw . ${EXAMPLESDIR}) (cd ${WRKSRC}/examples; ${PAX} -rw . ${STAGEDIR}${EXAMPLESDIR})
(cd ${WRKSRC}/examples-mace2; ${PAX} -rw . ${PREFIX}/share/examples/mace2) (cd ${WRKSRC}/examples-mace2; ${PAX} -rw . ${STAGEDIR}${PREFIX}/share/examples/mace2)
.endif .endif
.include <bsd.port.mk> .include <bsd.port.mk>