2007-11-13 12:10:25 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.29 2007/11/13 17:10:25 steven Exp $
|
1999-03-15 12:11:18 -05:00
|
|
|
|
2007-09-15 16:09:40 -04:00
|
|
|
COMMENT= ascii art library
|
2001-04-13 18:09:41 -04:00
|
|
|
|
1999-03-15 12:11:18 -05:00
|
|
|
DISTNAME= aalib-1.2
|
2007-11-13 12:10:25 -05:00
|
|
|
PKGNAME= ${DISTNAME}p3
|
2006-01-07 20:01:17 -05:00
|
|
|
SHARED_LIBS= aa 1.3
|
1999-03-15 12:11:18 -05:00
|
|
|
CATEGORIES= graphics
|
2006-12-17 06:07:08 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aa-project/}
|
1999-03-15 12:11:18 -05:00
|
|
|
|
2003-04-05 20:15:10 -05:00
|
|
|
HOMEPAGE= http://aa-project.sourceforge.net/aalib/
|
|
|
|
|
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
|
|
|
|
2005-12-26 10:14:11 -05:00
|
|
|
USE_LIBTOOL= Yes
|
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
|
2007-11-13 12:10:25 -05:00
|
|
|
WANTLIB+= X11 Xau Xdmcp
|
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>
|