aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorak <ak@FreeBSD.org>2014-11-06 07:10:59 +0800
committerak <ak@FreeBSD.org>2014-11-06 07:10:59 +0800
commita910d50a07f54f0f661ad209ce01ccfbb33694de (patch)
tree41e9ae0aad0f55c48105e3417e36ee519d9fad45 /emulators
parent59c181d189ad2f66d6e756c815009b591e1a600e (diff)
downloadfreebsd-ports-gnome-a910d50a07f54f0f661ad209ce01ccfbb33694de.tar.gz
freebsd-ports-gnome-a910d50a07f54f0f661ad209ce01ccfbb33694de.tar.zst
freebsd-ports-gnome-a910d50a07f54f0f661ad209ce01ccfbb33694de.zip
- Update to 2.20
Diffstat (limited to 'emulators')
-rw-r--r--emulators/cpmtools2/Makefile6
-rw-r--r--emulators/cpmtools2/distinfo4
-rw-r--r--emulators/cpmtools2/files/patch-Makefile.in11
-rw-r--r--emulators/cpmtools2/files/patch-configure10
4 files changed, 6 insertions, 25 deletions
diff --git a/emulators/cpmtools2/Makefile b/emulators/cpmtools2/Makefile
index ab0f7c95c1fe..03f1cf806df9 100644
--- a/emulators/cpmtools2/Makefile
+++ b/emulators/cpmtools2/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= cpmtools2
-PORTVERSION= 2.19
-PORTREVISION= 2
+PORTVERSION= 2.20
CATEGORIES= emulators sysutils
MASTER_SITES= http://www.moria.de/~michael/cpmtools/files/
DISTNAME= ${PORTNAME:C/2$//}-${PORTVERSION}
@@ -32,8 +31,11 @@ LIBDSK_LIB_DEPENDS= libdsk.so:${PORTSDIR}/emulators/libdsk
post-patch:
@${REINPLACE_CMD} -e 's|getopt$$(OBJEXT)||g; s|getopt1$$(OBJEXT)||g' \
-e 's|\($$(CC).*fsed.cpm$$(OBJEXT).*$$(DEVICEOBJ)\)|\1 -lcurses|' \
+ -e '/^CFLAGS=/s|@CFLAGS@|@CFLAGS@ -DDISKDEFS=\\"@datarootdir@/diskdefs\\" -DFORMAT=\\"$$(DEFFORMAT)\\"|' \
-e 's|diskdefs @datarootdir@/diskdefs|diskdefs $$(DESTDIR)@datarootdir@/diskdefs|' \
${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's|\(FSED_CPM=fsed.cpm\) LIBS=\"-lcurses $$LIBS\"|\1|' \
+ ${WRKSRC}/configure
pre-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
diff --git a/emulators/cpmtools2/distinfo b/emulators/cpmtools2/distinfo
index 2c8a9ba614bf..483a01330dd3 100644
--- a/emulators/cpmtools2/distinfo
+++ b/emulators/cpmtools2/distinfo
@@ -1,2 +1,2 @@
-SHA256 (cpmtools-2.19.tar.gz) = 4404fdd9a4b69a801c5af696aa452b51159f644f7ffb7d37891dcf66c2f75b6a
-SIZE (cpmtools-2.19.tar.gz) = 189014
+SHA256 (cpmtools-2.20.tar.gz) = d8c7e78a9750994124f3aab6e461da8fa0021acc7dbad76eafbac8b0ed8279d3
+SIZE (cpmtools-2.20.tar.gz) = 190381
diff --git a/emulators/cpmtools2/files/patch-Makefile.in b/emulators/cpmtools2/files/patch-Makefile.in
deleted file mode 100644
index d5fe199632a8..000000000000
--- a/emulators/cpmtools2/files/patch-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.in.old 2008-05-30 13:00:09.000000000 -0300
-+++ Makefile.in 2008-05-30 13:00:27.000000000 -0300
-@@ -11,7 +11,7 @@
- INSTALL= @INSTALL@
- INSTALL_DATA= @INSTALL_DATA@
- CC= @CC@
--CFLAGS= @CFLAGS@
-+CFLAGS= @CFLAGS@ -DDISKDEFS=\"@datarootdir@/diskdefs\" -DFORMAT=\"$(DEFFORMAT)\"
- LDFLAGS= @LDFLAGS@
- DEFFORMAT= @DEFFORMAT@
- DEVICE= @DEVICE@
diff --git a/emulators/cpmtools2/files/patch-configure b/emulators/cpmtools2/files/patch-configure
deleted file mode 100644
index 49165ce21ed6..000000000000
--- a/emulators/cpmtools2/files/patch-configure
+++ /dev/null
@@ -1,10 +0,0 @@
-Index: configure
-@@ -3400,7 +3400,7 @@
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_printw" >&5
- $as_echo "$ac_cv_lib_curses_printw" >&6; }
- if test "x$ac_cv_lib_curses_printw" = xyes; then :
-- FSED_CPM=fsed.cpm LIBS="-lcurses $LIBS"
-+ FSED_CPM=fsed.cpm
- else
- FSED_CPM=
- fi