summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2010-11-10 19:56:38 +0000
committeradam <adam@pkgsrc.org>2010-11-10 19:56:38 +0000
commit716b120cc224f5ec05392644ba5588523f8c21db (patch)
tree128e9eccfdcdc8555ef33066d78f5991933b3102 /graphics
parent45600f1942bc11f093340976077e3b1453872aab (diff)
downloadpkgsrc-716b120cc224f5ec05392644ba5588523f8c21db.tar.gz
* Use autoconf, so other compilers, like Clang, are configure correctly.
* Added LICENSE.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/jpegoptim/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/graphics/jpegoptim/Makefile b/graphics/jpegoptim/Makefile
index 78f613407f3..6c437c51f7f 100644
--- a/graphics/jpegoptim/Makefile
+++ b/graphics/jpegoptim/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2010/01/18 09:59:03 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2010/11/10 19:56:38 adam Exp $
DISTNAME= jpegoptim-1.2.3
PKGREVISION= 1
@@ -8,12 +8,18 @@ MASTER_SITES= http://www.kokkonen.net/tjko/src/
MAINTAINER= fab@gnux.info
HOMEPAGE= http://www.kokkonen.net/tjko/projects.html
COMMENT= JPEG optimizer
+LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
-GNU_CONFIGURE= YES
+
+USE_TOOLS+= autoconf
+GNU_CONFIGURE= yes
INSTALL_MAKE_FLAGS+= bindir=${DESTDIR}${PREFIX}/bin \
mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
+pre-configure:
+ cd ${WRKSRC} && autoconf
+
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"