summaryrefslogtreecommitdiff
path: root/emulators/twin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/twin/Makefile')
-rw-r--r--emulators/twin/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/emulators/twin/Makefile b/emulators/twin/Makefile
new file mode 100644
index 00000000000..f7dad3b89c2
--- /dev/null
+++ b/emulators/twin/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/05/15 09:46:37 agc Exp $
+#
+
+DISTNAME= twin-src-3.1.14
+PKGNAME= twin-3.1.14
+CATEGORIES= emulators
+MASTER_SITES= ftp://ftp.willows.com/pub/twin/
+
+MAINTAINER= collver@linuxfreemail.com
+HOMEPAGE= http://www.willows.com
+COMMENT= cross-platform implementation of the win32 api
+
+BUILD_DEPENDS+= autoconf-2.13:../../devel/autoconf
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_X11= yes
+WRKSRC= ${WRKDIR}/twin
+ALL_TARGET= depend world
+
+pre-configure:
+ cd ${WRKSRC} && ${LOCALBASE}/bin/autoreconf --force
+
+pre-build:
+ ${CP} ${WRKSRC}/windows/Execfreebsd.c ${WRKSRC}/windows/Execnetbsd.c
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/twin
+ ${INSTALL_DATA} ${WRKSRC}/documentation/* ${PREFIX}/share/doc/twin/
+ ${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/include/
+ ${INSTALL_DATA} ${WRKSRC}/documentation/rc.1 ${PREFIX}/man/man1
+ ${INSTALL_DATA} ${WRKSRC}/documentation/debugger.1 ${PREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/tools/rc/rc ${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"