1997-12-19 08:59:38 +00:00
|
|
|
# New ports collection makefile for: aalib
|
|
|
|
# Date created: 9 Dec 1997
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
1999-08-25 06:16:32 +00:00
|
|
|
# $FreeBSD$
|
1997-12-19 08:59:38 +00:00
|
|
|
#
|
|
|
|
|
2000-04-13 06:28:28 +00:00
|
|
|
PORTNAME= aalib
|
|
|
|
PORTVERSION= 1.2
|
1998-04-19 10:26:55 +00:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= ftp://ftp.ta.jcu.cz/pub/aa/
|
1997-12-19 08:59:38 +00:00
|
|
|
|
2000-03-29 07:19:16 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1997-12-19 08:59:38 +00:00
|
|
|
|
2000-04-01 21:49:49 +00:00
|
|
|
USE_AUTOCONF= yes
|
1999-06-05 19:00:43 +00:00
|
|
|
USE_LIBTOOL= yes
|
2000-06-16 08:19:52 +00:00
|
|
|
INSTALLS_SHLIBS= yes
|
1997-12-19 08:59:38 +00:00
|
|
|
|
2000-04-17 00:18:05 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2000-04-01 21:49:49 +00:00
|
|
|
#
|
|
|
|
# Support for X11 is compiled in by default only if X11 is installed.
|
|
|
|
#
|
2000-04-17 00:18:05 +00:00
|
|
|
.if defined(WITH_X11) || (exists(${X11BASE}/lib/libX11.a) \
|
|
|
|
&& !defined(WITHOUT_X11))
|
|
|
|
USE_XLIB= yes
|
2000-04-01 21:49:49 +00:00
|
|
|
CONFIGURE_ARGS= --with-x --x-includes="${X11BASE}/include" \
|
|
|
|
--x-libraries="${X11BASE}/lib"
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS= --with-x11-driver=no
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${PERL} -pi -e "s:/usr/local:${LOCALBASE}:g;" ${WRKSRC}/configure.in
|
|
|
|
|
2000-04-17 00:18:05 +00:00
|
|
|
.include <bsd.port.post.mk>
|