openbsd-ports/graphics/libcaca/Makefile
2013-03-21 08:45:11 +00:00

44 lines
895 B
Makefile

# $OpenBSD: Makefile,v 1.24 2013/03/21 08:45:18 ajacoutot Exp $
COMMENT= color ascii art library
DISTNAME= libcaca-0.99.beta17
PKGNAME= libcaca-0.99.17
REVISION= 1
SHARED_LIBS += caca 1.0 # .0.99
CATEGORIES= graphics
# LGPLv2.1/Do What The Fuck You Want To Public License
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c ncursesw m z
HOMEPAGE= http://caca.zoy.org/
MASTER_SITES= ${HOMEPAGE}/files/libcaca/ \
http://distfiles.nl/
USE_GROFF = Yes
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
.include <bsd.port.mk>