openbsd-ports/graphics/libcaca/Makefile

37 lines
766 B
Makefile

# $OpenBSD: Makefile,v 1.8 2007/09/15 20:09:41 simon Exp $
COMMENT= color ascii art library
DISTNAME= libcaca-0.9
PKGNAME= ${DISTNAME}p2
CATEGORIES= graphics
MAINTAINER= Robert Nagy <robert@openbsd.org>
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c ncurses m
HOMEPAGE= http://libcaca.zoy.org/
MASTER_SITES= ${HOMEPAGE}files/
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 Xext freetype
.endif
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --disable-doc --disable-slang
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/autotools
.include <bsd.port.mk>