svn commit: r350738 - head/emulators/lib765
Pawel Pekala
pawel at FreeBSD.org
Wed Apr 9 20:03:31 UTC 2014
Author: pawel
Date: Wed Apr 9 20:03:30 2014
New Revision: 350738
URL: http://svnweb.freebsd.org/changeset/ports/350738
QAT: https://qat.redports.org/buildarchive/r350738/
Log:
- Add staging support
- Use options helpers
Modified:
head/emulators/lib765/Makefile
Modified: head/emulators/lib765/Makefile
==============================================================================
--- head/emulators/lib765/Makefile Wed Apr 9 19:34:17 2014 (r350737)
+++ head/emulators/lib765/Makefile Wed Apr 9 20:03:30 2014 (r350738)
@@ -15,25 +15,15 @@ USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS LIBDSK
-
-LIBDSK_DESC= Include LibDSK support (recommended)
-
OPTIONS_DEFAULT= LIBDSK
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MLIBDSK}
-CONFIGURE_ARGS+= --with-libdsk --with-libdsk-path=${LOCALBASE}
-LIB_DEPENDS+= dsk:${PORTSDIR}/emulators/libdsk
-.else
-CONFIGURE_ARGS+= --without-libdsk
-.endif
+LIBDSK_DESC= Include LibDSK support (recommended)
+LIBDSK_CONFIGURE_ON= --with-libdsk --with-libdsk-path=${LOCALBASE}
+LIBDSK_CONFIGURE_OFF= --without-libdsk
+LIBDSK_LIB_DEPENDS= libdsk.so:${PORTSDIR}/emulators/libdsk
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ChangeLog doc/765.txt ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ChangeLog doc/765.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list