diff options
Diffstat (limited to 'emulators/cpmtools2')
-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> |