openbsd-ports/graphics/aalib/Makefile

39 lines
715 B
Makefile

# $OpenBSD: Makefile,v 1.33 2009/08/10 06:31:44 kili Exp $
COMMENT= ascii art library
DISTNAME= aalib-1.4rc5
PKGNAME= aalib-1.4p2
SHARED_LIBS= aa 2.0
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aa-project/}
HOMEPAGE= http://aa-project.sourceforge.net/aalib/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m ncurses
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
WRKDIST= ${WRKDIR}/aalib-1.4.0
NO_REGRESS= Yes
FLAVORS= no_x11
FLAVOR?=
.if ${FLAVOR:L} == "no_x11"
CONFIGURE_ARGS+= --without-x
.else
USE_X11= Yes
WANTLIB+= X11 Xau Xdmcp pthread-stubs xcb
.endif
.include <bsd.port.mk>