37 lines
813 B
Makefile
37 lines
813 B
Makefile
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= bofh@FreeBSD.org
|
|
COMMENT= High Quality Rendering Engine for C++
|
|
WWW= http://www.antigrain.com/
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/copying
|
|
|
|
LIB_DEPENDS= libfreetype.so:print/freetype2
|
|
|
|
USES= autoreconf cpe gmake libtool pathfix pkgconfig sdl xorg
|
|
CPE_VENDOR= antigrain
|
|
USE_LDCONFIG= yes
|
|
USE_SDL= sdl
|
|
USE_XORG= x11
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
|
CPPFLAGS+= -Dregister=
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} 's/_LDFLAGS/_LDADD/' ${WRKSRC}/examples/Makefile.am
|
|
|
|
.include <bsd.port.mk>
|