1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-23 20:51:43 +00:00
freebsd-ports/x11-toolkits/fox/Makefile
Akinori MUSHA 7c47124d49 Take over maintainership.
Update to 0.99.157.

Add a WITH_XUNICODE knob for the forthcoming fox-xunicode port.
2001-02-23 18:42:35 +00:00

55 lines
1.2 KiB
Makefile

# New ports collection makefile for: fox
# Date created: 23 Feb 2000
# Whom: Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#
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
.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>