freebsd-ports/devel/clanlib22/Makefile
Bryan Drewery 6910bf819a - Please welcome back Chris Petrik as maintainer of
these ports [1]
- Trim headers
- Remove indefinite article from COMMENT
- Convert tab to space in WWW lines

PR:		ports/175415 [1]
Submitted by:	Chris Petrik <c.petrik.sosa@gmail.com> [1]
Discussed with:	bapt
2013-03-07 03:25:10 +00:00

63 lines
1.4 KiB
Makefile

# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$
PORTNAME= clanlib
PORTVERSION= 2.2.12
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.clanlib.org/download/releases-2.0/
DISTNAME= ClanLib-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= c.petrik.sosa@gmail.com
COMMENT= Cross-platform game SDK
LICENSE= ZLIB
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \
png15:${PORTSDIR}/graphics/png \
mikmod:${PORTSDIR}/audio/libmikmod \
vorbis:${PORTSDIR}/audio/libvorbis \
fontconfig:${PORTSDIR}/x11-fonts/fontconfig \
pcre:${PORTSDIR}/devel/pcre
LATEST_LINK= ${PORTNAME}22
USE_GMAKE= yes
USE_XORG= x11
USE_GNOME= gnomehack
USE_LDCONFIG= yes
USE_GL= yes
USE_PKGCONFIG= yes
USE_SQLITE= yes
MAKE_JOBS_SAFE= yes
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-docs \
--enable-clanDisplay \
--enable-clanGL \
--enable-clanGL1 \
--enable-clanSound \
--enable-clanDatabase \
--enable-clanSqlite \
--enable-clanRegExp \
--enable-clanNetwork \
--enable-clanGUI \
--enable-clanCSSLayout \
--enable-clanSWRender \
--enable-clanMikMod \
--enable-clanVorbis \
--enable-getaddr
PLIST_SUB+= VER=${PORTVERSION:R} \
SHORT_VER=${PORTVERSION:R:R}${PORTVERSION:R:E}
post-patch:
@${REINPLACE_CMD} -e '/^extra_LIBS_clanSqlite/s|-ldl||g' \
${WRKSRC}/configure
.include <bsd.port.mk>