fcb7da800b
USE_TOOLS and any of "autoconf", "autoconf213", "automake" or "automake14". Also, we don't need to call the auto* tools via ${ACLOCAL}, ${AUTOCONF}, etc., since the tools framework takes care to symlink the correct tool to the correct name, so we can just use aclocal, autoconf, etc.
28 lines
745 B
Makefile
28 lines
745 B
Makefile
# $NetBSD: Makefile,v 1.11 2005/06/01 20:08:00 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+= autoconf 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/bsd.pkg.mk"
|