openbsd-ports/graphics/aalib/Makefile
2002-08-25 23:05:49 +00:00

35 lines
758 B
Makefile

# $OpenBSD: Makefile,v 1.17 2002/08/25 23:08:40 brad Exp $
# $FreeBSD: Makefile,v 1.6 1998/09/22 15:30:37 vanilla Exp $
COMMENT= "ascii art library"
DISTNAME= aalib-1.2
CATEGORIES= graphics
MASTER_SITES= ftp://openbsd.comstyle.com/pub/brad/source/
MAINTAINER= Brad Smith <brad@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu dest
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static
FLAVORS= no_x11
FLAVOR?=
.if ${FLAVOR:L} == "no_x11"
CONFIGURE_ARGS+= --without-x
.else
USE_X11= Yes
.endif
post-extract:
@cd ${WRKSRC}; rm -f {config.cache,config.h,config.log,config.status}
@cp -f ${FILESDIR}/config.cache ${WRKSRC}
.include <bsd.port.mk>