summaryrefslogtreecommitdiff
path: root/graphics/aalib/Makefile
blob: fc496f22bc221d1fd9816983edcde9f6f52f58dc (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
32
# $NetBSD: Makefile,v 1.27 2015/08/18 07:31:00 wiz Exp $

DISTNAME=	aalib-1.4rc5
PKGNAME=	${DISTNAME:S/rc5/.0.5/}
PKGREVISION=	4
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=aa-project/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://aa-project.sourceforge.net/aalib/
COMMENT=	ASCII Art library
LICENSE=	gnu-lgpl-v2

WRKSRC=			${WRKDIR}/aalib-1.4.0
GNU_CONFIGURE=		yes
USE_LIBTOOL=		yes
INFO_FILES=		yes

CONFIGURE_ENV+=		SLANG_PREFIX=${BUILDLINK_PREFIX.libslang:Q}
CONFIGURE_ENV+=		NCURSES_PREFIX=${BUILDLINK_PREFIX.curses:Q}

SUBST_CLASSES+=		malloc
SUBST_STAGE.malloc=	pre-configure
SUBST_FILES.malloc=	src/aalinux.c src/aax.c src/aaxkbd.c		\
			src/aaxmouse.c src/aarec.c src/aalib.c		\
			src/aaedit.c src/aaregist.c src/aakbdreg.c	\
			src/aamoureg.c src/aados.c src/aadoskbd.c
SUBST_SED.malloc=	-e 's|<malloc.h>|<stdlib.h>|g'

.include "options.mk"

.include "../../mk/bsd.pkg.mk"