aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2013-10-17 10:06:19 +0800
committereadler <eadler@FreeBSD.org>2013-10-17 10:06:19 +0800
commit3766d6321aafe3af4f0e8e087f1ad2f8bd08f294 (patch)
treecad20ca01fa437c974c1e6d0dc573ee38fda0cbf /lang
parent27b6b7a1eb0a2205e29fc40c8730385e082f721f (diff)
downloadfreebsd-ports-gnome-3766d6321aafe3af4f0e8e087f1ad2f8bd08f294.tar.gz
freebsd-ports-gnome-3766d6321aafe3af4f0e8e087f1ad2f8bd08f294.tar.zst
freebsd-ports-gnome-3766d6321aafe3af4f0e8e087f1ad2f8bd08f294.zip
- Convert to staging
Diffstat (limited to 'lang')
-rw-r--r--lang/yabasic/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/lang/yabasic/Makefile b/lang/yabasic/Makefile
index 1ca01a5406f6..8b1fb9765fc4 100644
--- a/lang/yabasic/Makefile
+++ b/lang/yabasic/Makefile
@@ -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>