- Convert to staging

This commit is contained in:
Eitan Adler 2013-10-17 02:06:19 +00:00
parent e218a5849c
commit dd382ffa52
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330596

View File

@ -14,11 +14,11 @@ USE_XORG= x11 ice sm xt
USES= bison
GNU_CONFIGURE= yes
MAN1= yabasic.1
PORTDOCS= yabasic.htm
PLIST_FILES= bin/yabasic
PLIST_FILES= bin/yabasic man/man1/yabasic.1.gz
.include <bsd.port.options.mk>
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e "s|= -DUNIX|= @X_CFLAGS@ -DUNIX|g" ${WRKSRC}/Makefile.in
@ -26,9 +26,9 @@ post-build test:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/yabasic.htm ${DOCSDIR}
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/yabasic.htm ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>