Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2014 11:01:09 +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: r341371 - head/emulators/cpmtools2
Message-ID:  <201401271101.s0RB19JO062839@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ak
Date: Mon Jan 27 11:01:08 2014
New Revision: 341371
URL: http://svnweb.freebsd.org/changeset/ports/341371
QAT: https://qat.redports.org/buildarchive/r341371/

Log:
  - Update to 2.18
  - Support STAGEDIR

Modified:
  head/emulators/cpmtools2/Makefile
  head/emulators/cpmtools2/distinfo
  head/emulators/cpmtools2/pkg-plist

Modified: head/emulators/cpmtools2/Makefile
==============================================================================
--- head/emulators/cpmtools2/Makefile	Mon Jan 27 10:59:45 2014	(r341370)
+++ head/emulators/cpmtools2/Makefile	Mon Jan 27 11:01:08 2014	(r341371)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	cpmtools2
-PORTVERSION=	2.16
+PORTVERSION=	2.18
 CATEGORIES=	emulators sysutils
 MASTER_SITES=	http://www.moria.de/~michael/cpmtools/
 DISTNAME=	${PORTNAME:C/2$//}-${PORTVERSION}
@@ -12,14 +12,11 @@ COMMENT=	Tools to access CP/M disks and 
 
 LICENSE=	GPLv3
 
-NO_STAGE=	yes
+USES=	desthack
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS+=--bindir=${PREFIX}/sbin \
+CONFIGURE_ARGS+=--bindir=${STAGEDIR}${PREFIX}/sbin \
 		--datarootdir=${DATADIR}
 
-MAN1=	cpmls.1 cpmcp.1 cpmrm.1 cpmchmod.1 cpmchattr.1 mkfs.cpm.1 fsck.cpm.1 fsed.cpm.1
-MAN5=	cpm.5
-
 OPTIONS_DEFINE=	LIBDSK
 
 LIBDSK_DESC=	Access to disks and disk images support
@@ -30,13 +27,14 @@ LIBDSK_LIB_DEPENDS+=	libdsk.so:${PORTSDI
 
 # remove unneeded getopt*.c
 # remove curses from all but fsed.cpm
+# fixes for stage
 post-patch:
 	@${REINPLACE_CMD} -e 's|getopt$$(OBJEXT)||g; s|getopt1$$(OBJEXT)||g' \
-		${WRKSRC}/Makefile.in
-	@${REINPLACE_CMD} -e 's|\($$(CC).*fsed.cpm$$(OBJEXT).*$$(DEVICEOBJ)\)|\1 -lcurses|' \
+		-e 's|\($$(CC).*fsed.cpm$$(OBJEXT).*$$(DEVICEOBJ)\)|\1 -lcurses|' \
+		-e 's|diskdefs @datarootdir@/diskdefs|diskdefs $$(DESTDIR)@datarootdir@/diskdefs|' \
 		${WRKSRC}/Makefile.in
 
 pre-install:
-	@${MKDIR} ${DATADIR}
+	@${MKDIR} ${STAGEDIR}${DATADIR}
 
 .include <bsd.port.mk>

Modified: head/emulators/cpmtools2/distinfo
==============================================================================
--- head/emulators/cpmtools2/distinfo	Mon Jan 27 10:59:45 2014	(r341370)
+++ head/emulators/cpmtools2/distinfo	Mon Jan 27 11:01:08 2014	(r341371)
@@ -1,2 +1,2 @@
-SHA256 (cpmtools-2.16.tar.gz) = 12b8832ea15e88c6755a2801caa6fab4e1e2cda18468206b5c7acb16232897af
-SIZE (cpmtools-2.16.tar.gz) = 181842
+SHA256 (cpmtools-2.18.tar.gz) = cef4437227ed75957d6065b4aa630fa84529215e1b7c64dc5bfc2986923a0ef7
+SIZE (cpmtools-2.18.tar.gz) = 185331

Modified: head/emulators/cpmtools2/pkg-plist
==============================================================================
--- head/emulators/cpmtools2/pkg-plist	Mon Jan 27 10:59:45 2014	(r341370)
+++ head/emulators/cpmtools2/pkg-plist	Mon Jan 27 11:01:08 2014	(r341371)
@@ -6,5 +6,14 @@ sbin/cpmchattr
 sbin/mkfs.cpm
 sbin/fsck.cpm
 sbin/fsed.cpm
+man/man1/cpmls.1.gz
+man/man1/cpmcp.1.gz
+man/man1/cpmrm.1.gz
+man/man1/cpmchmod.1.gz
+man/man1/cpmchattr.1.gz
+man/man1/mkfs.cpm.1.gz
+man/man1/fsck.cpm.1.gz
+man/man1/fsed.cpm.1.gz
+man/man5/cpm.5.gz
 %%DATADIR%%/diskdefs
 @dirrm %%DATADIR%%



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