2010-09-12 16:49:08 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.15 2010/09/12 16:49:09 jasper Exp $
|
2004-04-18 02:03:38 +00:00
|
|
|
|
2007-09-15 20:09:40 +00:00
|
|
|
COMMENT= color ascii art library
|
2004-04-18 02:03:38 +00:00
|
|
|
|
2010-06-28 07:24:30 +00:00
|
|
|
DISTNAME= libcaca-0.99.beta17
|
|
|
|
PKGNAME= libcaca-0.99.17
|
|
|
|
SHARED_LIBS += caca 1.0 # .0.99
|
2009-10-15 23:27:09 +00:00
|
|
|
CATEGORIES= graphics
|
2004-04-18 02:03:38 +00:00
|
|
|
|
2009-10-15 23:27:09 +00:00
|
|
|
# LGPLv2.1/Do What The Fuck You Want To Public License
|
2004-04-18 02:03:38 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2009-10-15 23:27:09 +00:00
|
|
|
|
2007-11-13 17:10:25 +00:00
|
|
|
WANTLIB= c ncurses m z
|
2004-04-18 02:03:38 +00:00
|
|
|
|
2009-10-15 23:27:09 +00:00
|
|
|
HOMEPAGE= http://caca.zoy.org/
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/files/libcaca/ \
|
2010-09-12 16:49:08 +00:00
|
|
|
http://distfiles.nl/
|
2009-10-15 23:27:09 +00:00
|
|
|
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
RUN_DEPENDS= ::misc/zzuf
|
|
|
|
REGRESS_DEPENDS= ::devel/cppunit
|
|
|
|
|
|
|
|
USE_LIBTOOL= Yes
|
2004-04-18 02:03:38 +00:00
|
|
|
|
|
|
|
FLAVORS= no_x11
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mno_x11}
|
2005-01-16 22:56:18 +00:00
|
|
|
CONFIGURE_ARGS+= --disable-x11 \
|
|
|
|
--disable-imlib2
|
2004-04-18 02:03:38 +00:00
|
|
|
.else
|
2006-08-03 12:53:18 +00:00
|
|
|
LIB_DEPENDS= Imlib2.>=1::graphics/imlib2
|
2004-04-18 02:03:38 +00:00
|
|
|
USE_X11= Yes
|
2009-10-15 23:27:09 +00:00
|
|
|
WANTLIB+= X11 Xau Xdmcp Xext freetype pthread-stubs xcb
|
2004-04-18 02:03:38 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
2009-10-15 23:27:09 +00:00
|
|
|
CONFIGURE_ARGS+= --disable-doc \
|
|
|
|
--disable-slang \
|
|
|
|
--disable-ruby \
|
2010-06-28 07:24:30 +00:00
|
|
|
--disable-java \
|
2009-10-15 23:27:09 +00:00
|
|
|
--disable-csharp \
|
|
|
|
--disable-cxx
|
2004-04-18 02:03:38 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|