Support stage
This commit is contained in:
parent
f850a79f0b
commit
d3046af63f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353372
1 changed files with 4 additions and 9 deletions
|
@ -22,7 +22,6 @@ PORTDOCS= README
|
|||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFAULT=DOCS
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' \
|
||||
${WRKSRC}/config/Project.tmpl \
|
||||
|
@ -34,14 +33,10 @@ post-patch:
|
|||
do-build:
|
||||
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} make World -f Makefile.ini
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${PREFIX}/include/wnn7/wnn
|
||||
${INSTALL_DATA} ${WRKSRC}/Wnn/include/*.h ${PREFIX}/include/wnn7/wnn
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
||||
.endif
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/include/wnn7/wnn
|
||||
${INSTALL_DATA} ${WRKSRC}/Wnn/include/*.h ${STAGEDIR}${PREFIX}/include/wnn7/wnn
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue