aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorak <ak@FreeBSD.org>2014-04-11 23:30:00 +0800
committerak <ak@FreeBSD.org>2014-04-11 23:30:00 +0800
commita93b93fb5240af7db0e4c9a27f81df4b8fbaa8a5 (patch)
tree43927dec697c02921674f71cdac904e2bb182bf4
parent2639b4fd0c5065b70715755aaf9ed802ac585119 (diff)
downloadfreebsd-ports-graphics-a93b93fb5240af7db0e4c9a27f81df4b8fbaa8a5.tar.gz
freebsd-ports-graphics-a93b93fb5240af7db0e4c9a27f81df4b8fbaa8a5.tar.zst
freebsd-ports-graphics-a93b93fb5240af7db0e4c9a27f81df4b8fbaa8a5.zip
- Support STAGEDIR
-rw-r--r--emulators/xzx/Makefile5
-rw-r--r--emulators/xzx/files/patch-doc::Makefile.in13
-rw-r--r--emulators/xzx/pkg-plist1
3 files changed, 4 insertions, 15 deletions
diff --git a/emulators/xzx/Makefile b/emulators/xzx/Makefile
index 37527812120..3390739ac7b 100644
--- a/emulators/xzx/Makefile
+++ b/emulators/xzx/Makefile
@@ -21,12 +21,13 @@ RESTRICTED= Redistribution forbidden by license
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-oss
-MAN1= xzx.1
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-pro
+pre-configure:
+ @${REINPLACE_CMD} 's,(pkglibdir),(datadir)/doc/@PACKAGE@,' ${WRKSRC}/doc/Makefile.in
+
# Prevent configure from trying to run auto* since it's not needed and will
# error if auto* < 2.54
-NO_STAGE= yes
post-configure:
@${REINPLACE_CMD} 's@autoheader@${TRUE}@g' ${WRKSRC}/Makefile
@${REINPLACE_CMD} 's@autoconf@${TRUE}@g' ${WRKSRC}/Makefile
diff --git a/emulators/xzx/files/patch-doc::Makefile.in b/emulators/xzx/files/patch-doc::Makefile.in
deleted file mode 100644
index e737ad9884c..00000000000
--- a/emulators/xzx/files/patch-doc::Makefile.in
+++ /dev/null
@@ -1,13 +0,0 @@
---- doc/Makefile.in.orig Mon Mar 11 16:43:00 2002
-+++ doc/Makefile.in Mon Mar 11 16:45:09 2002
-@@ -258,8 +258,9 @@
-
- install-data-local: Xzx
- $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
-+ $(mkinstalldirs) $(PREFIX)/share/doc/xzx-pro/
- for f in $(DOC_FILES); do \
-- $(INSTALL_DATA) $$f $(DESTDIR)$(pkglibdir); \
-+ $(INSTALL_DATA) $$f $(PREFIX)/share/doc/xzx-pro/; \
- done
- -$(mkinstalldirs) $(DESTDIR)@XAPPLOADDIR@
- -$(INSTALL_DATA) Xzx $(DESTDIR)@XAPPLOADDIR@/Xzx
diff --git a/emulators/xzx/pkg-plist b/emulators/xzx/pkg-plist
index a78451fe995..7c80831b3ea 100644
--- a/emulators/xzx/pkg-plist
+++ b/emulators/xzx/pkg-plist
@@ -6,6 +6,7 @@ lib/xzx-pro/if1-v2.rom
lib/xzx-pro/plus2.rom
lib/xzx-pro/plus3.rom
lib/xzx-pro/spectrum.rom
+man/man1/xzx.1.gz
%%DOCSDIR%%/COPYRIGHT
%%DOCSDIR%%/FAQ
%%DOCSDIR%%/README