1997-12-19 03:59:38 -05:00
|
|
|
# New ports collection makefile for: aalib
|
|
|
|
# Date created: 9 Dec 1997
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
1999-08-25 02:16:32 -04:00
|
|
|
# $FreeBSD$
|
1997-12-19 03:59:38 -05:00
|
|
|
#
|
|
|
|
|
2000-04-13 02:28:28 -04:00
|
|
|
PORTNAME= aalib
|
|
|
|
PORTVERSION= 1.2
|
1998-04-19 06:26:55 -04:00
|
|
|
CATEGORIES= graphics
|
2000-11-02 19:46:51 -05:00
|
|
|
MASTER_SITES= ftp://horac.ta.jcu.cz/pub/aa/ \
|
|
|
|
${MASTER_SITE_SUNSITE}
|
|
|
|
MASTER_SITE_SUBDIR= libs/graphics
|
1997-12-19 03:59:38 -05:00
|
|
|
|
2000-03-29 02:19:16 -05:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1997-12-19 03:59:38 -05:00
|
|
|
|
2000-07-15 12:48:04 -04:00
|
|
|
USE_AUTOMAKE= yes
|
|
|
|
AUTOMAKE= automake -a -i
|
1999-06-05 15:00:43 -04:00
|
|
|
USE_LIBTOOL= yes
|
2000-06-16 17:52:40 -04:00
|
|
|
INSTALLS_SHLIB= yes
|
1997-12-19 03:59:38 -05:00
|
|
|
|
2000-07-15 12:48:04 -04:00
|
|
|
.if defined(WITH_X11)
|
2000-04-16 20:18:05 -04:00
|
|
|
USE_XLIB= yes
|
2000-07-15 12:48:04 -04:00
|
|
|
CONFIGURE_ARGS= --x-includes="${X11BASE}/include" \
|
2000-04-01 16:49:49 -05:00
|
|
|
--x-libraries="${X11BASE}/lib"
|
|
|
|
.else
|
2000-07-15 12:48:04 -04:00
|
|
|
CONFIGURE_ARGS= --with-x=no
|
2000-04-01 16:49:49 -05:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
2000-11-15 05:03:39 -05:00
|
|
|
@${RM} -f ${WRKSRC}/config.cache
|
2000-07-15 12:48:04 -04:00
|
|
|
@${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g;" ${WRKSRC}/configure.in
|
2000-04-01 16:49:49 -05:00
|
|
|
|
2000-07-15 12:48:04 -04:00
|
|
|
.include <bsd.port.mk>
|