877b8a533b
WITHOUT_FOO. Begin the process of reserving these prefixes for user defined options. No comment by: ports
36 lines
746 B
Makefile
36 lines
746 B
Makefile
# New ports collection makefile for: aalib
|
|
# Date created: 9 Dec 1997
|
|
# Whom: Andrey Zakhvatov
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= aalib
|
|
PORTVERSION= 1.2
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ftp://ftp.ta.jcu.cz/pub/aa/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
USE_AUTOCONF= yes
|
|
USE_LIBTOOL= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
#
|
|
# Support for X11 is compiled in by default only if X11 is installed.
|
|
#
|
|
.if defined(WITH_X11) || (exists(${X11BASE}/lib/libX11.a) \
|
|
&& !defined(WITHOUT_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
|
|
|
|
.include <bsd.port.post.mk>
|