openbsd-ports/graphics/libcaca/Makefile
landry 7c503fca0a Update to libcaca 0.99.beta17, needed by an upcoming minbif port.
ok ajacoutot@ (on a slightly different diff - no binary change, only
PLIST tidying)
2010-06-28 07:24:30 +00:00

49 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.14 2010/06/28 07:24:30 landry Exp $
COMMENT= color ascii art library
DISTNAME= libcaca-0.99.beta17
PKGNAME= libcaca-0.99.17
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 ncurses m z
HOMEPAGE= http://caca.zoy.org/
MASTER_SITES= ${HOMEPAGE}/files/libcaca/ \
http://www.phil.uu.nl/~lievisse/distfiles/
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= ::misc/zzuf
REGRESS_DEPENDS= ::devel/cppunit
USE_LIBTOOL= Yes
FLAVORS= no_x11
FLAVOR?=
.if ${FLAVOR:L:Mno_x11}
CONFIGURE_ARGS+= --disable-x11 \
--disable-imlib2
.else
LIB_DEPENDS= Imlib2.>=1::graphics/imlib2
USE_X11= Yes
WANTLIB+= X11 Xau Xdmcp Xext freetype pthread-stubs xcb
.endif
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --disable-doc \
--disable-slang \
--disable-ruby \
--disable-java \
--disable-csharp \
--disable-cxx
.include <bsd.port.mk>