aboutsummaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-03-01 20:09:39 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-03-01 20:09:39 +0000
commit09d69b28c8ea8af29b46769636c908f98a188be8 (patch)
tree3feeb7d48a320ae35e40011a8d270faa269ed95f /emulators
parent7ae2ca6703608c318b39a0aa3c635874439e37e1 (diff)
downloadports-09d69b28c8ea8af29b46769636c908f98a188be8.tar.gz
ports-09d69b28c8ea8af29b46769636c908f98a188be8.zip
Notes
Diffstat (limited to 'emulators')
-rw-r--r--emulators/xzx/Makefile16
-rw-r--r--emulators/xzx/distinfo4
-rw-r--r--emulators/xzx/files/patch-roms::Makefile.in11
-rw-r--r--emulators/xzx/pkg-plist1
4 files changed, 23 insertions, 9 deletions
diff --git a/emulators/xzx/Makefile b/emulators/xzx/Makefile
index 547e62dfba25..30fb7a410bde 100644
--- a/emulators/xzx/Makefile
+++ b/emulators/xzx/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= xzx
-PORTVERSION= 4.3
+PORTVERSION= 4.4
CATEGORIES= emulators
# I don't maintain this port anymore, but I'm happy to track the distfiles, as
# it's difficult to fetch(1) them from the WWW site. If you are updating this
@@ -24,6 +24,7 @@ BUILD_DEPENDS= xmkmf:${PORTSDIR}/devel/imake-4
USE_MOTIF= yes
USE_X_PREFIX= yes
+USE_REINPLACE= yes
# License forbids redistribution
RESTRICTED= Redistribution forbidden by license
@@ -33,10 +34,11 @@ CONFIGURE_ARGS= --with-oss
MAN1= xzx.1
-.include <bsd.port.pre.mk>
+# Prevent configure from trying to run auto* since it's not needed and will
+# error if auto* < 2.54
+post-configure:
+ @${REINPLACE_CMD} 's@autoheader@${TRUE}@g' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} 's@autoconf@${TRUE}@g' ${WRKSRC}/Makefile
+ @${ECHO_CMD} "${TRUE}" > ${WRKSRC}/missing
-.if ${ARCH} != "i386" && ${OSVERSION} >= 502102
-BROKEN= "Does not compile on !i386 5.x"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/emulators/xzx/distinfo b/emulators/xzx/distinfo
index 8521766a0c7b..0db46cf34135 100644
--- a/emulators/xzx/distinfo
+++ b/emulators/xzx/distinfo
@@ -1,2 +1,2 @@
-MD5 (xzx-pro-4.3.tar.gz) = a73eec54c50d0a6569406f071662c12a
-SIZE (xzx-pro-4.3.tar.gz) = 560610
+MD5 (xzx-pro-4.4.tar.gz) = 8c4cd4677b8e06f40c8f27507695d723
+SIZE (xzx-pro-4.4.tar.gz) = 622969
diff --git a/emulators/xzx/files/patch-roms::Makefile.in b/emulators/xzx/files/patch-roms::Makefile.in
new file mode 100644
index 000000000000..ba3acc10d2b1
--- /dev/null
+++ b/emulators/xzx/files/patch-roms::Makefile.in
@@ -0,0 +1,11 @@
+--- roms/Makefile.in.orig Sat Feb 28 13:05:47 2004
++++ roms/Makefile.in Sat Feb 28 13:06:25 2004
+@@ -323,7 +323,7 @@
+ for f in $(DATA_FILES); do \
+ $(INSTALL_DATA) $$f $(DESTDIR)$(pkglibdir); \
+ done
+- (cd $(DESTDIR)$(pkglibdir); rm if1.rom; ln if1-v2.rom if1.rom)
++ (cd $(DESTDIR)$(pkglibdir); rm -f if1.rom; ln if1-v2.rom if1.rom)
+
+ uninstall-local:
+ for f in $(DATA_FILES); do \
diff --git a/emulators/xzx/pkg-plist b/emulators/xzx/pkg-plist
index 62dc680438e5..cdaf316c1f33 100644
--- a/emulators/xzx/pkg-plist
+++ b/emulators/xzx/pkg-plist
@@ -1,4 +1,5 @@
bin/xzx
+lib/X11/app-defaults/Xzx
lib/xzx-pro/128.rom
lib/xzx-pro/if1-v1.rom
lib/xzx-pro/if1-v2.rom