svn commit: r330596 - head/lang/yabasic
Eitan Adler
eadler at FreeBSD.org
Thu Oct 17 02:06:20 UTC 2013
Author: eadler
Date: Thu Oct 17 02:06:19 2013
New Revision: 330596
URL: http://svnweb.freebsd.org/changeset/ports/330596
Log:
- Convert to staging
Modified:
head/lang/yabasic/Makefile
Modified: head/lang/yabasic/Makefile
==============================================================================
--- head/lang/yabasic/Makefile Thu Oct 17 01:58:08 2013 (r330595)
+++ head/lang/yabasic/Makefile Thu Oct 17 02:06:19 2013 (r330596)
@@ -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>
More information about the svn-ports-all
mailing list