aboutsummaryrefslogtreecommitdiff
path: root/emulators/lib765
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2008-02-25 03:01:31 +0000
committerRong-En Fan <rafan@FreeBSD.org>2008-02-25 03:01:31 +0000
commitc9758ccae82da06ab03d8400c6344a66cb837959 (patch)
tree0c8b8e0a2e7ffc2f085386c8280193c3d791a879 /emulators/lib765
parentba8892e20a6fb156bc1509b2a4576159df749546 (diff)
downloadports-c9758ccae82da06ab03d8400c6344a66cb837959.tar.gz
ports-c9758ccae82da06ab03d8400c6344a66cb837959.zip
Notes
Diffstat (limited to 'emulators/lib765')
-rw-r--r--emulators/lib765/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/emulators/lib765/Makefile b/emulators/lib765/Makefile
index ff9b9eceb1a3..e9f1e91921c4 100644
--- a/emulators/lib765/Makefile
+++ b/emulators/lib765/Makefile
@@ -7,6 +7,7 @@
PORTNAME= lib765
PORTVERSION= 0.4.1
+PORTREVISION= 1
CATEGORIES= emulators devel
MASTER_SITES= http://www.seasip.demon.co.uk/Unix/LibDsk/
@@ -16,10 +17,21 @@ COMMENT= Emulation of uPD765a Floppy Disc Controller
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
+OPTIONS= LIBDSK "With LIBDSK support (recommended)" on
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_LIBDSK)
+CONFIGURE_ARGS+= --with-libdsk --with-libdsk-path=${LOCALBASE}
+LIB_DEPENDS+= dsk.5:${PORTSDIR}/emulators/libdsk
+.else
+CONFIGURE_ARGS+= --without-libdsk
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ChangeLog doc/765.txt ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>