summaryrefslogtreecommitdiff
path: root/graphics/mng
diff options
context:
space:
mode:
authorjlam <jlam>2005-06-01 20:07:59 +0000
committerjlam <jlam>2005-06-01 20:07:59 +0000
commit6492b8f1ec8698b04f9127eecc0ef008460a9830 (patch)
tree77aa2e325b82a73660278dbb13238e6aac0adca7 /graphics/mng
parent9c65cd2dcc49b8566966aad971d48eabca98f809 (diff)
downloadpkgsrc-6492b8f1ec8698b04f9127eecc0ef008460a9830.tar.gz
Remove mk/autoconf.mk and mk/automake.mk and replace their usage with
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.
Diffstat (limited to 'graphics/mng')
-rw-r--r--graphics/mng/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/graphics/mng/Makefile b/graphics/mng/Makefile
index f228834ee52..8f0e29603be 100644
--- a/graphics/mng/Makefile
+++ b/graphics/mng/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2005/04/11 21:46:06 tv Exp $
+# $NetBSD: Makefile,v 1.25 2005/06/01 20:08:00 jlam Exp $
DISTNAME= lm1009
PKGNAME= mng-1.0.9
@@ -18,6 +18,7 @@ COMMENT= Multiple-image Network Graphics (MNG) reference library
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
+USE_TOOLS+= automake
# only needed as long as we use the zip distfile
EXTRACT_CMD_OPTS.zip?= -aqo
@@ -32,13 +33,13 @@ DOCDIR= ${PREFIX}/share/doc/mng
INSTALLATION_DIRS= man/man3 man/man5
pre-configure:
- cd ${WRKSRC}; \
+ cd ${WRKSRC}; \
${RM} -f configure.in && ${LN} -sf makefiles/configure.in .; \
${RM} -f Makefile.am && ${LN} -sf makefiles/Makefile.am .; \
- ${SETENV} AUTOM4TE=${LOCALBASE}/bin/autom4te ${ACLOCAL}; \
- ${LOCALBASE}/bin/libtoolize --automake; \
- ${SETENV} AUTOCONF=${AUTOCONF} ${AUTOMAKE} -a --foreign -i; \
- ${AUTOCONF}
+ aclocal; \
+ ${LOCALBASE}/bin/libtoolize --automake; \
+ automake -a --foreign -i; \
+ autoconf
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
@@ -53,5 +54,4 @@ post-install:
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/lcms/buildlink3.mk"
-.include "../../mk/automake.mk"
.include "../../mk/bsd.pkg.mk"