summaryrefslogtreecommitdiff
path: root/x11/fox/Makefile
diff options
context:
space:
mode:
authorsakamoto <sakamoto>2001-02-24 16:50:01 +0000
committersakamoto <sakamoto>2001-02-24 16:50:01 +0000
commita45ec11fc900448c01cc6c348b05ed0f3578703b (patch)
tree6aadacc41e8c60fda0f5e33e4f38ed1db42d2244 /x11/fox/Makefile
parentece3fbee4ab973cef3d4084c76137e9f98426859 (diff)
downloadpkgsrc-a45ec11fc900448c01cc6c348b05ed0f3578703b.tar.gz
Initial import of fox:
Fast and extensive C++ GUI toolkit
Diffstat (limited to 'x11/fox/Makefile')
-rw-r--r--x11/fox/Makefile56
1 files changed, 56 insertions, 0 deletions
diff --git a/x11/fox/Makefile b/x11/fox/Makefile
new file mode 100644
index 00000000000..63e75946bdb
--- /dev/null
+++ b/x11/fox/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for: fox
+# Date created: 23 Feb 2000
+# Whom: Will Andrews <andrews@technologist.com>
+#
+# $FreeBSD: ports/x11-toolkits/fox/Makefile,v 1.15 2001/02/24 06:37:04 knu Exp $
+#
+
+PORTNAME= fox
+PORTVERSION= 0.99.157
+CATEGORIES= x11-toolkits
+MASTER_SITES= ftp://ftp.cfdrc.com/pub/FOX/ \
+ ftp://SunSITE.Informatik.RWTH-Aachen.DE/pub/Linux/fox/
+
+MAINTAINER?= knu@FreeBSD.org
+
+LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
+ png.4:${PORTSDIR}/graphics/png
+
+.if defined(WITH_XUNICODE)
+PKGNAMESUFFIX= -xunicode
+
+PATCH_SITES= http://www.ab.wakwak.com/~tino/jatk/fox/
+PATCHFILES= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}.diff
+PATCH_DIST_STRIP= -p1
+
+#EXTRA_PATCHES= ${PATCHDIR}/xunicode.patch-*
+
+BUILD_DEPENDS= ${X11BASE}/lib/libxunicode.a:${PORTSDIR}/converters/xunicode
+
+CONFIGURE_ENV= X_CFLAGS=-DUSE_XUNICODE
+.endif
+
+USE_MESA= yes
+INSTALLS_SHLIB= yes
+CONFIGURE_ARGS+=--with-opengl=mesa --with-x
+.if defined(NO_SHM)
+CONFIGURE_ARGS+=--with-shm=no
+.else
+CONFIGURE_ARGS+=--with-shm=yes
+.endif
+.if defined(DEBUG)
+CONFIGURE_ARGS+=--enable-debug
+.else
+CONFIGURE_ARGS+=--enable-release
+.endif
+.if defined(WANT_PROFILE)
+CONFIGURE_ARGS+=--with-profiling=gprof
+.endif
+USE_LIBTOOL= yes
+SHLIB_MAJ= 1
+SHLIB_MIN= 0
+MAKE_ENV+= LT_CURRENT="${SHLIB_MAJ}" LT_REVISION="${SHLIB_MIN}"
+PLIST_SUB+= LIBVER="${SHLIB_MAJ}"
+MAN1= reswrap.1
+
+.include <bsd.port.mk>