summaryrefslogtreecommitdiff
path: root/graphics/compface/Makefile
blob: a4ee2626e971e64ff995ab2c19d33cb909d86ad2 (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
# $NetBSD: Makefile,v 1.10 2005/05/22 20:08:04 jlam Exp $

DISTNAME=	compface-1.5.1
CATEGORIES=	graphics
MASTER_SITES=	http://freshmeat.net/redir/compface/1439/url_tgz/

MAINTAINER=	oishi@ims.ac.jp
HOMEPAGE=	http://freshmeat.net/projects/compface/
COMMENT=	48x48x1 image compression and decompression (X-face utility)

CONFLICTS=	faces-[0-9]*

USE_TOOLS+=		gmake
GNU_CONFIGURE=		yes

SUBST_CLASSES+=		perlpath
SUBST_MESSAGE.perlpath=	"Configuring Perl path."
SUBST_STAGE.perlpath=	pre-configure
SUBST_FILES.perlpath=	xbm2xface.pl
SUBST_SED.perlpath=	-e 's|
||' -e 's|/usr/bin|${PREFIX}/bin|g'

pre-configure:
	cd ${WRKSRC}; ${AUTOCONF}

post-install:
	${INSTALL_SCRIPT} ${WRKSRC}/xbm2xface.pl ${PREFIX}/bin

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