aboutsummaryrefslogtreecommitdiff
path: root/emulators/lib765
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-04-09 20:03:30 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-04-09 20:03:30 +0000
commit44cfd63f0c03a4cd7db674a7ad2cded4392451ab (patch)
tree37f280b05a37107cbb091ca3b43350536e882681 /emulators/lib765
parentc0ce11c7b1d8f7d302032187d2594317de4e96b5 (diff)
downloadports-44cfd63f0c03a4cd7db674a7ad2cded4392451ab.tar.gz
ports-44cfd63f0c03a4cd7db674a7ad2cded4392451ab.zip
Notes
Diffstat (limited to 'emulators/lib765')
-rw-r--r--emulators/lib765/Makefile22
1 files changed, 6 insertions, 16 deletions
diff --git a/emulators/lib765/Makefile b/emulators/lib765/Makefile
index 074a1417620d..0e7f0d666f3d 100644
--- a/emulators/lib765/Makefile
+++ b/emulators/lib765/Makefile
@@ -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>