aboutsummaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorAlex Kozlov <ak@FreeBSD.org>2012-06-25 04:15:50 +0000
committerAlex Kozlov <ak@FreeBSD.org>2012-06-25 04:15:50 +0000
commit61ccb75449e934ce15c362e836abe764660824ab (patch)
tree58e4fc161366f0687e7bcdae86fd5ab3e027ca0c /emulators
parent092a8d14ba5861f91eb4a45e1d86172975728463 (diff)
downloadports-61ccb75449e934ce15c362e836abe764660824ab.tar.gz
ports-61ccb75449e934ce15c362e836abe764660824ab.zip
- Convert to optionsNG
- Pet portlint - Remove pkg-plist from security/dropbear Approved by: eadler (mentor)
Notes
Notes: svn path=/head/; revision=299928
Diffstat (limited to 'emulators')
-rw-r--r--emulators/cpmtools2/Makefile16
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>