diff options
author | rafan <rafan@FreeBSD.org> | 2008-02-25 03:01:31 +0000 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2008-02-25 03:01:31 +0000 |
commit | 9cf3ac4360d790fc053e51c303a643cf71b3dee6 (patch) | |
tree | 852cb572760338114602982b1ad05ffa805a3d40 /emulators | |
parent | 7d7203398b030033a641ccc2cd9154b713fc9229 (diff) | |
download | FreeBSD-ports-9cf3ac4360d790fc053e51c303a643cf71b3dee6.zip FreeBSD-ports-9cf3ac4360d790fc053e51c303a643cf71b3dee6.tar.gz |
- Add libdsk support (can be turned off)
PR: ports/121053
Submitted by: Sven Klose <pixel at hugbox.org>
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/lib765/Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/emulators/lib765/Makefile b/emulators/lib765/Makefile index ff9b9ec..e9f1e91 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> |