Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Oct 2013 19:09:45 +0000 (UTC)
From:      Alex Kozlov <ak@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r329360 - head/emulators/cpmtools2
Message-ID:  <201310041909.r94J9j9B090384@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@moria.de>
 WWW: http://www.moria.de/~michael/cpmtools/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310041909.r94J9j9B090384>