openbsd-ports/graphics/libcaca/Makefile

50 lines
1.0 KiB
Makefile
Raw Normal View History

2010-11-17 03:05:12 -05:00
# $OpenBSD: Makefile,v 1.19 2010/11/17 08:05:14 espie 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
2007-11-13 12:10:25 -05:00
WANTLIB= c ncurses m z
HOMEPAGE= http://caca.zoy.org/
MASTER_SITES= ${HOMEPAGE}/files/libcaca/ \
http://distfiles.nl/
BUILD_DEPENDS= ${RUN_DEPENDS}
2010-11-17 03:05:12 -05:00
RUN_DEPENDS= misc/zzuf
REGRESS_DEPENDS= devel/cppunit
USE_LIBTOOL= Yes
2010-11-09 13:22:26 -05:00
USE_GROFF = Yes
FLAVORS= no_x11
FLAVOR?=
.if ${FLAVOR:L:Mno_x11}
CONFIGURE_ARGS+= --disable-x11 \
--disable-imlib2
.else
2010-11-17 03:05:12 -05:00
LIB_DEPENDS = graphics/imlib2
2010-11-09 13:22:26 -05:00
WANTLIB += X11 Xau Xdmcp Xext freetype pthread-stubs xcb \
2010-11-17 03:05:12 -05:00
Imlib2>=1
.endif
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --disable-doc \
--disable-slang \
--disable-ruby \
--disable-java \
--disable-csharp \
--disable-cxx
.include <bsd.port.mk>