openbsd-ports/graphics/libcaca/Makefile
espie e7f55da3bb configure tests for it, but it's not really needed.
libcaca is already marginally useful, don't bloat it with those fake deps
okay sthen@
2013-01-11 23:18:26 +00:00

48 lines
993 B
Makefile

# $OpenBSD: Makefile,v 1.22 2013/01/11 23:18:26 espie 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
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c ncursesw m z
HOMEPAGE= http://caca.zoy.org/
MASTER_SITES= ${HOMEPAGE}/files/libcaca/ \
http://distfiles.nl/
USE_LIBTOOL= Yes
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>