- Fix no_x11 FLAVOR

- Add WANTLIB marker
- Bump PKGNAME

go ahead robert@
This commit is contained in:
alek 2005-01-16 22:56:18 +00:00
parent 05d6dc1d22
commit bab36937e8

View File

@ -1,7 +1,8 @@
# $OpenBSD: Makefile,v 1.3 2004/08/01 21:19:17 naddy Exp $
# $OpenBSD: Makefile,v 1.4 2005/01/16 22:56:18 alek Exp $
COMMENT= "color ascii art library"
DISTNAME= libcaca-0.9
PKGNAME= ${DISTNAME}p0
CATEGORIES= graphics
MAINTAINER= Robert Nagy <robert@openbsd.org>
@ -11,19 +12,21 @@ PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c ncurses m
HOMEPAGE= http://sam.zoy.org/projects/libcaca/
MASTER_SITES= ${HOMEPAGE}
LIB_DEPENDS= Imlib2.1::graphics/imlib2
FLAVORS= no_x11
FLAVOR?=
.if ${FLAVOR:L:Mno_x11}
CONFIGURE_ARGS+= --disable-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