summaryrefslogtreecommitdiff
path: root/emulators/rewind/Makefile
diff options
context:
space:
mode:
authorrh <rh>2002-04-20 08:10:29 +0000
committerrh <rh>2002-04-20 08:10:29 +0000
commit0589074b3f5696f58e4b07753004ee1c69cce2aa (patch)
tree05f70593d3405139227241701adb8e863885a0a3 /emulators/rewind/Makefile
parent46644a8b1b5cd66fad0956d9369e190a1e5017ac (diff)
downloadpkgsrc-0589074b3f5696f58e4b07753004ee1c69cce2aa.tar.gz
Initial import of rewind-20020420, a fork of the Wine project that remained
with a BSD/X11 licence as Wine moved to LGPL.
Diffstat (limited to 'emulators/rewind/Makefile')
-rw-r--r--emulators/rewind/Makefile50
1 files changed, 50 insertions, 0 deletions
diff --git a/emulators/rewind/Makefile b/emulators/rewind/Makefile
new file mode 100644
index 00000000000..48f249d3fb5
--- /dev/null
+++ b/emulators/rewind/Makefile
@@ -0,0 +1,50 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/04/20 08:10:29 rh Exp $
+
+DISTNAME= rewind-20020420
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://rewind.sourceforge.net/
+COMMENT= BSD/X11 licenced fork of Wine (Windows on Unix)
+
+CONFLICTS= wine-[0-9]*
+
+ONLY_FOR_PLATFORM= NetBSD-1.5Z*-i386 NetBSD-1.[6-9]*-i386
+
+USE_BUILDLINK_ONLY= YES
+USE_GMAKE= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS+= --without-curses
+
+# The rewind configure script has problems locating the freetype-config
+# script and the libraries in the buildlink directory, so explicitly
+# set the location of freetype-config and prepend all of the LDFLAGS
+# necessary to link against the libraries.
+#
+CONFIGURE_ENV+= ft_devel=${FREETYPE_CONFIG}
+CONFIGURE_ENV+= X_LIBS="${LDFLAGS}"
+LIBS+= ${LDFLAGS}
+
+.include "../../mk/bsd.prefs.mk"
+
+.if defined(USE_CUPS) && (${USE_CUPS} == YES)
+.include "../../print/cups/buildlink.mk"
+BUILD_DEFS+= USE_CUPS
+.endif
+
+EGDIR= ${PREFIX}/share/examples/rewind
+
+post-install:
+ ${INSTALL_DATA_DIR} ${EGDIR}
+ cd ${WRKSRC}/documentation/samples; \
+ ${INSTALL_DATA} config ${EGDIR}/wine.conf; \
+ ${INSTALL_DATA} generic.ppd ${EGDIR}/generic.ppd; \
+ ${INSTALL_DATA} system.ini ${EGDIR}/system.ini
+
+.include "../../graphics/Mesa/buildlink.mk"
+.include "../../graphics/freetype2/buildlink.mk"
+.include "../../graphics/jpeg/buildlink.mk"
+.include "../../mk/x11.buildlink.mk"
+.include "../../mk/bsd.pkg.mk"