bcallah 7dba317735 Update to 0.99.19
Updates include a use-after-free fix (thanks to sthen@ for pointing that
out)
ok sthen@
2014-06-07 20:29:32 +00:00

46 lines
998 B
Makefile

# $OpenBSD: Makefile,v 1.29 2014/06/07 20:29:32 bcallah Exp $
COMMENT= color ascii art library
DISTNAME= libcaca-0.99.beta19
PKGNAME= libcaca-0.99.19
SHARED_LIBS += caca 1.2 # .0.99
CATEGORIES= graphics
HOMEPAGE= http://caca.zoy.org/wiki/libcaca
MAINTAINER= Brian Callahan <bcallah@openbsd.org>
# LGPLv2.1/Do What The Fuck You Want To Public License
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c ncursesw m z
MASTER_SITES= http://caca.zoy.org/files/libcaca/ \
http://distfiles.nl/
FLAVORS= no_x11
FLAVOR?=
.if ${FLAVOR:Mno_x11}
CONFIGURE_ARGS+= --disable-x11 \
--disable-imlib2
.else
LIB_DEPENDS = graphics/imlib2
WANTLIB += X11 Xext freetype xcb Imlib2>=1
.endif
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --disable-doc \
--disable-slang \
--disable-ruby \
--disable-java \
--disable-csharp \
--disable-cxx \
--disable-zzuf \
--disable-cppunit
# Tests are bogus: assume gmake, assume Windows.
NO_TEST = Yes
.include <bsd.port.mk>