From 06c35fa8deef96211ea673a7004116ef02e6baa3 Mon Sep 17 00:00:00 2001 From: Alex Kozlov Date: Fri, 4 Oct 2013 19:09:45 +0000 Subject: - Convert to options helpers - Remove Author tag from pkg-descr - Resolve pkgname collision --- emulators/cpmtools2/Makefile | 16 +++++----------- emulators/cpmtools2/pkg-descr | 3 +-- 2 files changed, 6 insertions(+), 13 deletions(-) (limited to 'emulators/cpmtools2') diff --git a/emulators/cpmtools2/Makefile b/emulators/cpmtools2/Makefile index 78a9376ef0c9..861c6f5d39e5 100644 --- a/emulators/cpmtools2/Makefile +++ b/emulators/cpmtools2/Makefile @@ -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 - -.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 diff --git a/emulators/cpmtools2/pkg-descr b/emulators/cpmtools2/pkg-descr index d1dfc161615c..c2b571da8363 100644 --- a/emulators/cpmtools2/pkg-descr +++ b/emulators/cpmtools2/pkg-descr @@ -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 < WWW: http://www.moria.de/~michael/cpmtools/ -- cgit v1.2.3