summaryrefslogtreecommitdiff
path: root/emulators/twin/Makefile
diff options
context:
space:
mode:
authorjmc <jmc@pkgsrc.org>2003-03-08 03:15:49 +0000
committerjmc <jmc@pkgsrc.org>2003-03-08 03:15:49 +0000
commit0fcdab00b6c44e3abd27afa3522ecdaa9f7e47dd (patch)
tree258daed6e26f7a0e2ba59c1e4269033ad6547592 /emulators/twin/Makefile
parentbcf598b1a6777930fb11f3fb27de997c265b72f8 (diff)
downloadpkgsrc-0fcdab00b6c44e3abd27afa3522ecdaa9f7e47dd.tar.gz
Add support for NetBSD powerpc.
Requires splitting up PLIST as x86 is the only platform that supports the win32 loader and the debugger libraries. Not extensively tested but appears to run basic 16 bit windows apps
Diffstat (limited to 'emulators/twin/Makefile')
-rw-r--r--emulators/twin/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/emulators/twin/Makefile b/emulators/twin/Makefile
index de065c4472c..a6d5b094581 100644
--- a/emulators/twin/Makefile
+++ b/emulators/twin/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.4 2002/12/24 18:55:38 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2003/03/08 03:15:49 jmc Exp $
#
DISTNAME= twin-src-3.1.14
PKGNAME= twin-3.1.14
+PKGREVISION= 1
CATEGORIES= emulators
MASTER_SITES= ftp://ftp.willows.com/pub/twin/
@@ -16,6 +17,8 @@ USE_X11= yes
WRKSRC= ${WRKDIR}/twin
ALL_TARGET= depend world
AUTOCONF_REQD= 2.13
+CONFIGURE_ARGS= --enable-debugger
+PLIST_SRC= ${WRKDIR}/PLIST
pre-configure:
cd ${WRKSRC} && ${AUTORECONF} --force
@@ -23,6 +26,12 @@ pre-configure:
pre-build:
${CP} ${WRKSRC}/windows/Execfreebsd.c ${WRKSRC}/windows/Execnetbsd.c
+pre-install:
+ @${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
+.if exists(${PKGDIR}/PLIST.${MACHINE_ARCH})
+ @${CAT} ${PKGDIR}/PLIST.${MACHINE_ARCH} >> ${PLIST_SRC}
+.endif
+
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/twin
${INSTALL_DATA} ${WRKSRC}/documentation/* ${PREFIX}/share/doc/twin/