ports/131256: [Update + fix] emulators/cpmtools27: Update to 2.8

Sven Klose pixel at copei.de
Sun Feb 1 14:50:02 UTC 2009


>Number:         131256
>Category:       ports
>Synopsis:       [Update + fix] emulators/cpmtools27: Update to 2.8
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 01 14:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Sven Klose
>Release:        7.0p6
>Organization:
Softwarearchitekturbüro Sven Klose
>Environment:
>Description:
Update of emulators/cpmtools27 to the latest version (current version doesn't work anymore).
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	cpmtools28
#	cpmtools28/files
#	cpmtools28/files/patch-Makefile.in
#	cpmtools28/Makefile
#	cpmtools28/pkg-descr
#	cpmtools28/pkg-plist
#	cpmtools28/distinfo
#
echo c - cpmtools28
mkdir -p cpmtools28 > /dev/null 2>&1
echo c - cpmtools28/files
mkdir -p cpmtools28/files > /dev/null 2>&1
echo x - cpmtools28/files/patch-Makefile.in
sed 's/^X//' >cpmtools28/files/patch-Makefile.in << 'END-of-cpmtools28/files/patch-Makefile.in'
X--- Makefile.in.old	2008-05-30 13:00:09.000000000 -0300
X+++ Makefile.in	2008-05-30 13:00:27.000000000 -0300
X@@ -11,7 +11,7 @@
X INSTALL=        @INSTALL@
X INSTALL_DATA=   @INSTALL_DATA@
X CC=		@CC@
X-CFLAGS=		@CFLAGS@
X+CFLAGS=		@CFLAGS@ -DDISKDEFS=\"@datarootdir@/diskdefs\" -DFORMAT=\"$(DEFFORMAT)\"
X LDFLAGS=        @LDFLAGS@
X DEFFORMAT=      @DEFFORMAT@
X DEVICE=         @DEVICE@
X@@ -86,7 +86,7 @@
X 		$(INSTALL) -s -m 755 cpmchattr $(BINDIR)/cpmchattr
X 		$(INSTALL) -s -m 755 mkfs.cpm $(BINDIR)/mkfs.cpm
X 		$(INSTALL) -s -m 755 fsck.cpm $(BINDIR)/fsck.cpm
X-		$(INSTALL) -s -m 755 fsed.cpm $(BINDIR)/fsed.cpm
X+#		$(INSTALL) -s -m 755 fsed.cpm $(BINDIR)/fsed.cpm
X 		$(INSTALL_DATA) diskdefs @datarootdir@/diskdefs
X 		$(INSTALL_DATA) cpmls.1 $(MANDIR)/man1/cpmls.1
X 		$(INSTALL_DATA) cpmcp.1 $(MANDIR)/man1/cpmcp.1
END-of-cpmtools28/files/patch-Makefile.in
echo x - cpmtools28/Makefile
sed 's/^X//' >cpmtools28/Makefile << 'END-of-cpmtools28/Makefile'
X# New ports collection makefile for:	cpmtools
X# Date created:		31 January 2008
X# Whom:			joerg
X#
X# $FreeBSD: ports/emulators/cpmtools27/Makefile,v 1.1 2008/06/22 22:01:32 lippe Exp $
X#
X
XPORTNAME=	cpmtools28
XPORTVERSION=	2.8
XCATEGORIES=	emulators sysutils
XMASTER_SITES=	http://www.moria.de/~michael/cpmtools/ \
X				http://www.copei.de/freebsd-ports/
XDISTNAME=	cpmtools-${PORTVERSION}
X
XMAINTAINER=	pixel at copei.de
XCOMMENT=	Tools to access CP/M disks and disk images
X
XLIB_DEPENDS+=	dmalloc:${PORTSDIR}/devel/dmalloc
X
XHAS_CONFIGURE=	yes
XCONFIGURE_ARGS+=--mandir=${PREFIX}/man --bindir=${PREFIX}/sbin \
X		--datarootdir=${PREFIX}/share/${PORTNAME} --with-dmalloc
X
XMAN1=	cpmls.1 cpmcp.1 cpmrm.1 cpmchmod.1 cpmchattr.1 mkfs.cpm.1 fsck.cpm.1 fsed.cpm.1
XMAN5=	cpm.5
X
XOPTIONS=	RAW_LIBDSK "With LIBDSK support with direct floppy access" on \
X		LIBDSK "With LIBDSK support (no direct floppy access)" off
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_LIBDSK) || defined(WITH_RAW_LIBDSK)
XLIB_DEPENDS+=	dsk.5:${PORTSDIR}/emulators/libdsk
XCONFIGURE_ARGS+=--with-libdsk=${LOCALBASE} --with-device=LibDsk
X.else
XCONFIGURE_ARGS+=--without-libdsk --with-device=posix
X.endif
X
X.if defined(WITH_RAW_LIBDSK)
XCONFIGURE_ARGS+=--enable-floppy
X.else
XCONFIGURE_ARGS+=--disable-floppy
X.endif
X
Xpre-install:
X	@${MKDIR} ${DATADIR}
X
X.include <bsd.port.post.mk>
END-of-cpmtools28/Makefile
echo x - cpmtools28/pkg-descr
sed 's/^X//' >cpmtools28/pkg-descr << 'END-of-cpmtools28/pkg-descr'
XThis port allows to access CP/M file systems similar to the well-known mtools
Xpackage, which accesses MSDOS file systems. It contains the followin set of
Xtools:
X
X  * cpmls - list sorted directory with output similar to ls, DIR, P2DOS DIR
X    and CP/M3 DIR[FULL]
X  * cpmcp - copy files from and to CP/M file systems
X  * cpmrm - erase files from CP/M file systems
X  * cpmchmod - change file permissions
X  * cpmchattr - change file attributes
X  * mkfs.cpm - make a CP/M file system
X  * fsck.cpm - check and repair a CP/M file system (only simple errors can
X    be repaired so far). Some images of broken file systems are provided.
X  * fsed.cpm - view CP/M file system
X  * manual pages for everything including the CP/M file system format 
X
XAll CP/M file system features are supported. Password protection is ignored,
Xbut a pseudo file [passwd] contains them decrypted.
X
XAuthor: Michael Moria <<michael at moria.de>
XWWW: http://www.moria.de/~michael/cpmtools/
END-of-cpmtools28/pkg-descr
echo x - cpmtools28/pkg-plist
sed 's/^X//' >cpmtools28/pkg-plist << 'END-of-cpmtools28/pkg-plist'
Xsbin/cpmls
Xsbin/cpmcp
Xsbin/cpmrm
Xsbin/cpmchmod
Xsbin/cpmchattr
Xsbin/mkfs.cpm
Xsbin/fsck.cpm
X%%DATADIR%%/diskdefs
X at dirrm %%DATADIR%%
END-of-cpmtools28/pkg-plist
echo x - cpmtools28/distinfo
sed 's/^X//' >cpmtools28/distinfo << 'END-of-cpmtools28/distinfo'
XMD5 (cpmtools-2.8.tar.gz) = ccf53decbb9e9f6708fb1492c7defa17
XSHA256 (cpmtools-2.8.tar.gz) = f5269ef8b104f25d027c3244ab84dd7b60a7b2e23e595603f7569bcae58b5216
XSIZE (cpmtools-2.8.tar.gz) = 160705
END-of-cpmtools28/distinfo
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list