summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2001-03-30 14:37:01 +0000
committerdmcmahill <dmcmahill>2001-03-30 14:37:01 +0000
commit62e8a7d530f96e72f87406b28341752a819a494c (patch)
tree655704c368eb41b383b186c8b4837d0be9aa713b /emulators
parenta1d90a0bb56d2ba782e2ae20a2442e9977f9381c (diff)
downloadpkgsrc-62e8a7d530f96e72f87406b28341752a819a494c.tar.gz
the ${FILESDIR}/endian.sh stuff needs to come after bsd.pkg.mk to make
sure FILESDIR is defined. Problem noted by several people (Christoph, Mycroft, etc.).
Diffstat (limited to 'emulators')
-rw-r--r--emulators/xmame/Makefile33
1 files changed, 17 insertions, 16 deletions
diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile
index 169c04096ce..f92e0a5a1fb 100644
--- a/emulators/xmame/Makefile
+++ b/emulators/xmame/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2001/03/24 19:52:33 kristerw Exp $
+# $NetBSD: Makefile,v 1.44 2001/03/30 14:37:01 dmcmahill Exp $
#
DISTNAME= xmame-0.37b12.1
@@ -38,6 +38,22 @@ NETBSD_DGA= yes
NETBSD_DGA= no
.endif
+post-patch:
+ (cd ${WRKSRC}/doc && ${SED} 's|@ROMPATH@|${ROMPATH}|;s|@SPOOLDIR@|${SPOOLDIR}|' \
+ xmamerc.dist >xmamerc)
+
+do-install:
+ (cd ${WRKSRC} && ${INSTALL_PROGRAM} xmame.${DISPLAY_METHOD} \
+ ${PREFIX}/bin/xmame)
+ (cd ${WRKSRC}/doc && ${INSTALL_MAN} xmame.6 \
+ ${PREFIX}/man/man6/xmame.6)
+ ${INSTALL_DATA_DIR} ${ROMPATH}
+ (cd ${WRKSRC}/doc && ${INSTALL_DATA} xmamerc ${ROMPATH}/xmamerc)
+ @${ECHO} Remember to set ROMPATH to ${ROMPATH}.
+
+.include "../../mk/bsd.pkg.mk"
+
+# This has to come after bsd.pkg.mk to make sure we have FILESDIR
.if ${MACHINE_ARCH} == "m68k"
MAME_CPU= m68k
.elif ${MACHINE_ARCH} == "alpha"
@@ -53,18 +69,3 @@ MAME_CPU= risc_lsb
MAME_CPU= risc
.endif
.endif
-
-post-patch:
- (cd ${WRKSRC}/doc && ${SED} 's|@ROMPATH@|${ROMPATH}|;s|@SPOOLDIR@|${SPOOLDIR}|' \
- xmamerc.dist >xmamerc)
-
-do-install:
- (cd ${WRKSRC} && ${INSTALL_PROGRAM} xmame.${DISPLAY_METHOD} \
- ${PREFIX}/bin/xmame)
- (cd ${WRKSRC}/doc && ${INSTALL_MAN} xmame.6 \
- ${PREFIX}/man/man6/xmame.6)
- ${INSTALL_DATA_DIR} ${ROMPATH}
- (cd ${WRKSRC}/doc && ${INSTALL_DATA} xmamerc ${ROMPATH}/xmamerc)
- @${ECHO} Remember to set ROMPATH to ${ROMPATH}.
-
-.include "../../mk/bsd.pkg.mk"