1997-12-19 08:59:38 +00:00
|
|
|
# New ports collection makefile for: aalib
|
1998-03-28 14:33:32 +00:00
|
|
|
# Version required: 1.2
|
1997-12-19 08:59:38 +00:00
|
|
|
# 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
|
|
|
#
|
|
|
|
|
1998-04-19 10:26:55 +00:00
|
|
|
DISTNAME= aalib-1.2
|
|
|
|
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
|
1997-12-19 08:59:38 +00:00
|
|
|
|
2000-04-01 21:49:49 +00:00
|
|
|
#
|
|
|
|
# Support for X11 is compiled in by default only if X11 is installed.
|
|
|
|
#
|
|
|
|
.if !exists(${X11BASE})
|
|
|
|
NO_X11?= yes
|
|
|
|
.endif
|
|
|
|
.if !defined(NO_X11)
|
|
|
|
USE_XLIB=YES
|
|
|
|
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
|
|
|
|
|
1998-09-22 15:30:38 +00:00
|
|
|
post-install:
|
|
|
|
@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
|
|
|
|
1997-12-19 08:59:38 +00:00
|
|
|
.include <bsd.port.mk>
|