freebsd-ports/graphics/agg/Makefile
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00

37 lines
872 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= agg
PORTVERSION= 2.5
PORTREVISION= 11
CATEGORIES= graphics
MASTER_SITES= http://distfiles.alpinelinux.org/distfiles/ \
http://distfiles.lesslinux.org/ \
http://gentoo.netnitco.net/distfiles/
MAINTAINER= ports@FreeBSD.org
COMMENT= High Quality Rendering Engine for C++
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/copying
LIB_DEPENDS= libfreetype.so:print/freetype2
GNU_CONFIGURE= yes
USES= autoreconf gmake libtool pathfix pkgconfig
USE_XORG= x11
USE_SDL= sdl
MAKE_ENV= C="${CC}" AGGCXXFLAGS="${CXXFLAGS}"
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
MAKE_JOBS_UNSAFE= yes
CXXFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib -I../include -L./
BROKEN_sparc64= Does not compile
post-patch:
@${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
${WRKSRC}/Makefile.am
.include <bsd.port.mk>