diff options
author | Alex Kozlov <ak@FreeBSD.org> | 2012-06-25 04:15:50 +0000 |
---|---|---|
committer | Alex Kozlov <ak@FreeBSD.org> | 2012-06-25 04:15:50 +0000 |
commit | 61ccb75449e934ce15c362e836abe764660824ab (patch) | |
tree | 58e4fc161366f0687e7bcdae86fd5ab3e027ca0c /emulators/cpmtools2/Makefile | |
parent | 092a8d14ba5861f91eb4a45e1d86172975728463 (diff) | |
download | ports-61ccb75449e934ce15c362e836abe764660824ab.tar.gz ports-61ccb75449e934ce15c362e836abe764660824ab.zip |
Notes
Diffstat (limited to 'emulators/cpmtools2/Makefile')
-rw-r--r-- | emulators/cpmtools2/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/emulators/cpmtools2/Makefile b/emulators/cpmtools2/Makefile index c5501db20b87..9773f3f4ed46 100644 --- a/emulators/cpmtools2/Makefile +++ b/emulators/cpmtools2/Makefile @@ -13,10 +13,10 @@ MASTER_SITES= http://www.moria.de/~michael/cpmtools/ MAINTAINER= ak@FreeBSD.org COMMENT= Tools to access CP/M disks and disk images -LATEST_LINK= cpmtools2 - LICENSE= GPLv3 +LATEST_LINK= cpmtools2 + GNU_CONFIGURE= yes CONFIGURE_ARGS+=--bindir=${PREFIX}/sbin \ --datarootdir=${DATADIR} @@ -24,12 +24,14 @@ CONFIGURE_ARGS+=--bindir=${PREFIX}/sbin \ MAN1= cpmls.1 cpmcp.1 cpmrm.1 cpmchmod.1 cpmchattr.1 mkfs.cpm.1 fsck.cpm.1 fsed.cpm.1 MAN5= cpm.5 -OPTIONS= LIBDSK "With LIBDSK support" off +OPTIONS_DEFINE= LIBDSK + +LIBDSK_DESC= Access to disks and disk images support -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_LIBDSK) -LIB_DEPENDS+= dsk.5:${PORTSDIR}/emulators/libdsk +.if ${PORT_OPTIONS:MLIBDISK} +LIB_DEPENDS+= dsk:${PORTSDIR}/emulators/libdsk CONFIGURE_ARGS+=--with-libdsk=${LOCALBASE} .else CONFIGURE_ARGS+=--with-libdsk='' @@ -46,4 +48,4 @@ post-patch: pre-install: @${MKDIR} ${DATADIR} -.include <bsd.port.post.mk> +.include <bsd.port.mk> |