summaryrefslogtreecommitdiff
path: root/graphics/gphoto2/Makefile
diff options
context:
space:
mode:
authormartti <martti>2002-02-26 13:14:54 +0000
committermartti <martti>2002-02-26 13:14:54 +0000
commit716a71108dcb8e039220cfd9c9b01cff13349cc4 (patch)
treeebb6b1515a0f84a2e27ab5eaa47c69d6662e5b59 /graphics/gphoto2/Makefile
parent9f36c6bc3614290b3b73810664b3eeef944b6ed2 (diff)
downloadpkgsrc-716a71108dcb8e039220cfd9c9b01cff13349cc4.tar.gz
Updated gphoto to 2.0 (provided by Amitai Schlair in pkg/15727)
The changelog since the last version of gphoto2 in pkgsrc (a beta from July) is 150K+. Please note that this is no longer a beta version!
Diffstat (limited to 'graphics/gphoto2/Makefile')
-rw-r--r--graphics/gphoto2/Makefile53
1 files changed, 27 insertions, 26 deletions
diff --git a/graphics/gphoto2/Makefile b/graphics/gphoto2/Makefile
index 86c5ad7b1e8..f820175e93e 100644
--- a/graphics/gphoto2/Makefile
+++ b/graphics/gphoto2/Makefile
@@ -1,39 +1,40 @@
-# $NetBSD: Makefile,v 1.5 2001/11/29 01:12:35 hubertf Exp $
+# $NetBSD: Makefile,v 1.6 2002/02/26 13:14:54 martti Exp $
+
+DISTNAME= gphoto2-2.0
+PKGNAME= gphoto-2.0
-DISTNAME= gphoto-2.0beta1
-PKGNAME= gphoto-2.0.0.1
-PKGREVISION= 1
CATEGORIES= graphics
-MASTER_SITES= http://www.gphoto.net/dist/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gphoto/}
MAINTAINER= root@garbled.net
HOMEPAGE= http://www.gphoto.org/gphoto2/
COMMENT= Download and view files from various digital cameras
-BUILD_USES_MSGFMT= yes
+USE_BUILDLINK_ONLY= # XXX gphoto2 adds unneeded -L${LOCALBASE}/lib etc.
-USE_GMAKE= yes
-USE_LIBTOOL= yes
-LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
-#LIBTOOL_OVERRIDE= yes
-GNU_CONFIGURE= yes
-CONFIGURE_SCRIPT= ${WRKSRC}/build.sh
-CONFIGURE_ARGS+= --with-html-dir=${LOCALBASE}/share/doc/html/gphoto2
-.include "../../devel/gettext-lib/buildlink.mk"
+BUILD_USES_MSGFMT= # defined
-post-patch:
- ${RM} -f ${LTCONFIG_OVERRIDE} ; \
- ${ECHO} "${RM} -f libtool; ${LN} -s ${LIBTOOL} libtool" \
- > ${LTCONFIG_OVERRIDE} ; \
- ${CHMOD} +x ${LTCONFIG_OVERRIDE} ; \
+USE_GMAKE= # defined
+USE_LIBTOOL= # defined
+LIBTOOL_OVERRIDE= ${WRKSRC}/ltmain.sh
+GNU_CONFIGURE= # defined
+CONFIGURE_ARGS+= --with-drivers=all
+CONFIGURE_ARGS+= --with-doc-dir=${PREFIX}/share/doc/gphoto2
+CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc/html/gphoto2
+CONFIGURE_ARGS+= --without-pkgconfig
+CONFIGURE_ARGS+= --without-fig2dev
+CONFIGURE_ARGS+= --with-aalib
+CONFIGURE_ARGS+= --with-cdk
+CONFIGURE_ARGS+= --with-exif
+CONFIGURE_ARGS+= --with-jpeg
-pre-configure:
- for i in `find ${WRKSRC} -name Makefile.in`; \
- do \
- ${CP} $$i $$i.NB; \
- ${SED} -e 's/\/\.libs//g' < $$i.NB > $$i; \
- done \
+BUILDLINK_DEPENDS.libusb= libusb>=0.1.5
-.include "../../devel/glib/buildlink.mk"
+.include "../../converters/libiconv/buildlink.mk"
+.include "../../devel/cdk/buildlink.mk"
+.include "../../devel/gettext-lib/buildlink.mk"
.include "../../devel/libusb/buildlink.mk"
+.include "../../graphics/aalib/buildlink.mk"
+.include "../../graphics/libexif/buildlink.mk"
+.include "../../graphics/jpeg/buildlink.mk"
.include "../../mk/bsd.pkg.mk"