svn commit: r329360 - head/emulators/cpmtools2
Alex Kozlov
ak at FreeBSD.org
Fri Oct 4 19:09:46 UTC 2013
Author: ak
Date: Fri Oct 4 19:09:45 2013
New Revision: 329360
URL: http://svnweb.freebsd.org/changeset/ports/329360
Log:
- Convert to options helpers
- Remove Author tag from pkg-descr
- Resolve pkgname collision
Modified:
head/emulators/cpmtools2/Makefile
head/emulators/cpmtools2/pkg-descr (contents, props changed)
Modified: head/emulators/cpmtools2/Makefile
==============================================================================
--- head/emulators/cpmtools2/Makefile Fri Oct 4 19:03:05 2013 (r329359)
+++ head/emulators/cpmtools2/Makefile Fri Oct 4 19:09:45 2013 (r329360)
@@ -1,18 +1,17 @@
# Created by: joerg
# $FreeBSD$
-PORTNAME= cpmtools
+PORTNAME= cpmtools2
PORTVERSION= 2.16
CATEGORIES= emulators sysutils
MASTER_SITES= http://www.moria.de/~michael/cpmtools/
+DISTNAME= ${PORTNAME:C/2$//}-${PORTVERSION}
MAINTAINER= ak at FreeBSD.org
COMMENT= Tools to access CP/M disks and disk images
LICENSE= GPLv3
-LATEST_LINK= cpmtools2
-
NO_STAGE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--bindir=${PREFIX}/sbin \
@@ -25,14 +24,9 @@ OPTIONS_DEFINE= LIBDSK
LIBDSK_DESC= Access to disks and disk images support
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MLIBDSK}
-LIB_DEPENDS+= dsk:${PORTSDIR}/emulators/libdsk
-CONFIGURE_ARGS+=--with-libdsk=${LOCALBASE}
-.else
-CONFIGURE_ARGS+=--with-libdsk=''
-.endif
+LIBDSK_CONFIGURE_ON= --with-libdsk=${LOCALBASE}
+LIBDSK_CONFIGURE_OFF= --with-libdsk=''
+LIBDSK_LIB_DEPENDS+= libdsk.so:${PORTSDIR}/emulators/libdsk
# remove unneeded getopt*.c
# remove curses from all but fsed.cpm
Modified: head/emulators/cpmtools2/pkg-descr
==============================================================================
--- head/emulators/cpmtools2/pkg-descr Fri Oct 4 19:03:05 2013 (r329359)
+++ head/emulators/cpmtools2/pkg-descr Fri Oct 4 19:09:45 2013 (r329360)
@@ -12,10 +12,9 @@ tools:
* fsck.cpm - check and repair a CP/M file system (only simple errors can
be repaired so far). Some images of broken file systems are provided.
* fsed.cpm - view CP/M file system
- * manual pages for everything including the CP/M file system format
+ * manual pages for everything including the CP/M file system format
All CP/M file system features are supported. Password protection is ignored,
but a pseudo file [passwd] contains them decrypted.
-Author: Michael Moria <<michael at moria.de>
WWW: http://www.moria.de/~michael/cpmtools/
More information about the svn-ports-all
mailing list