summaryrefslogtreecommitdiffstats
path: root/graphics/aalib/Makefile
blob: 1cb333fdd16c4a384c76eaed88be96ebe72a9708 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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://horac.ta.jcu.cz/pub/aa/

MAINTAINER=	ports@FreeBSD.org

USE_AUTOMAKE=	yes
AUTOMAKE=	automake -a -i
USE_LIBTOOL=	yes
INSTALLS_SHLIB=	yes

.if defined(WITH_X11)
USE_XLIB=	yes
CONFIGURE_ARGS=	--x-includes="${X11BASE}/include" \
		--x-libraries="${X11BASE}/lib"
.else
CONFIGURE_ARGS=	--with-x=no
.endif

post-patch:
	@${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g;" ${WRKSRC}/configure.in

.include <bsd.port.mk>
OpenPOWER on IntegriCloud