mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
5e5841f2cd
PORTREVISION or PORTEPOCH are defined. Most of these Makefiles were defining DISTNAME and WRKSRC (and sometimes EXTRACT_SUFX) -- change those to define DISTFILES only. Also, some of the WRKSRC lines were not even necessary, as they were defining it to the default value. Instigated by: Peter Pentchev <roam@orbitel.bg> and kris
44 lines
976 B
Makefile
44 lines
976 B
Makefile
# New ports collection makefile for: fox
|
|
# Date created: 23 Feb 2000
|
|
# Whom: Will Andrews <andrews@technologist.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= fox
|
|
PORTVERSION= 0.99.122
|
|
CATEGORIES= x11-toolkits
|
|
MASTER_SITES= ftp://ftp.cfdrc.com/pub/FOX/ \
|
|
ftp://imssun1.epfl.ch/pub/sources/ \
|
|
ftp://SunSITE.Informatik.RWTH-Aachen.DE/pub/Linux/fox/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
|
png.4:${PORTSDIR}/graphics/png
|
|
|
|
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>
|