2005-07-02 21:28:58 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.21 2005/07/03 01:28:58 brad Exp $
|
1999-03-15 12:11:18 -05:00
|
|
|
|
2001-04-13 18:09:41 -04:00
|
|
|
COMMENT= "ascii art library"
|
|
|
|
|
1999-03-15 12:11:18 -05:00
|
|
|
DISTNAME= aalib-1.2
|
|
|
|
CATEGORIES= graphics
|
2005-06-30 00:47:25 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_OPENBSD}
|
1999-03-15 12:11:18 -05:00
|
|
|
|
2003-04-05 20:15:10 -05:00
|
|
|
HOMEPAGE= http://aa-project.sourceforge.net/aalib/
|
|
|
|
|
2000-09-24 03:03:59 -04:00
|
|
|
MAINTAINER= Brad Smith <brad@openbsd.org>
|
1999-03-15 12:11:18 -05:00
|
|
|
|
2005-07-02 21:28:58 -04:00
|
|
|
# GPL
|
2000-03-07 18:58:10 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-11-29 20:06:33 -05:00
|
|
|
WANTLIB= c m ncurses
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2000-06-15 14:20:06 -04:00
|
|
|
CONFIGURE_STYLE= gnu dest
|
1999-04-03 04:30:19 -05:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
CONFIGURE_ARGS+= --enable-static
|
1999-03-15 12:11:18 -05:00
|
|
|
|
2000-09-27 17:09:05 -04:00
|
|
|
FLAVORS= no_x11
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L} == "no_x11"
|
|
|
|
CONFIGURE_ARGS+= --without-x
|
2001-04-15 19:04:37 -04:00
|
|
|
.else
|
|
|
|
USE_X11= Yes
|
2004-11-29 20:06:33 -05:00
|
|
|
WANTLIB+= X11
|
2000-09-27 17:09:05 -04:00
|
|
|
.endif
|
|
|
|
|
2001-01-16 10:16:31 -05:00
|
|
|
post-extract:
|
|
|
|
@cd ${WRKSRC}; rm -f {config.cache,config.h,config.log,config.status}
|
|
|
|
@cp -f ${FILESDIR}/config.cache ${WRKSRC}
|
|
|
|
|
1999-03-15 12:11:18 -05:00
|
|
|
.include <bsd.port.mk>
|