aboutsummaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorAlex Kozlov <ak@FreeBSD.org>2014-04-11 15:30:00 +0000
committerAlex Kozlov <ak@FreeBSD.org>2014-04-11 15:30:00 +0000
commitab30b989de98ce910415070581227c582f4c36c7 (patch)
tree43927dec697c02921674f71cdac904e2bb182bf4 /emulators
parent4b9fa2de2e55b9d444dd08572d81460efa910d1b (diff)
downloadports-ab30b989de98ce910415070581227c582f4c36c7.tar.gz
ports-ab30b989de98ce910415070581227c582f4c36c7.zip
Notes
Diffstat (limited to 'emulators')
-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 37527812120b..3390739ac7b6 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 e737ad9884cc..000000000000
--- 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 a78451fe9954..7c80831b3ead 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