summaryrefslogtreecommitdiff
path: root/graphics/gphoto2/Makefile
diff options
context:
space:
mode:
authorgarbled <garbled>2001-07-08 01:47:40 +0000
committergarbled <garbled>2001-07-08 01:47:40 +0000
commite1a1a369cf7a02e602b0fc5b0a57618f8879a85e (patch)
tree43523e0f614418df60f8a4a3478e23a41ef3eec3 /graphics/gphoto2/Makefile
parentdf21e0832c55e38d98580d052a00ac11269e26de (diff)
downloadpkgsrc-e1a1a369cf7a02e602b0fc5b0a57618f8879a85e.tar.gz
initial import of gphoto2 package. This is related to gphoto, but no
longer bundles the UI, and now supports USB. These packages are really quite separate, so this does not replace the old gphoto pkg.
Diffstat (limited to 'graphics/gphoto2/Makefile')
-rw-r--r--graphics/gphoto2/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/graphics/gphoto2/Makefile b/graphics/gphoto2/Makefile
new file mode 100644
index 00000000000..c2bbb51ba98
--- /dev/null
+++ b/graphics/gphoto2/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/07/08 01:47:40 garbled Exp $
+
+DISTNAME= gphoto-2.0beta1
+CATEGORIES= graphics
+MASTER_SITES= http://www.gphoto.net/dist/
+
+MAINTAINER= root@garbled.net
+HOMEPAGE= http://www.gphoto.org/gphoto2/
+COMMENT= Download and view files from various digital cameras
+
+DEPENDS+= libusb-*:../../devel/libusb
+
+USE_GMAKE= yes
+USE_LIBTOOL= yes
+LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+#LIBTOOL_OVERRIDE= yes
+GNU_CONFIGURE= yes
+CPPFLAGS+= -I${LOCALBASE}/include
+CONFIGURE_SCRIPT= ${WRKSRC}/build.sh
+CONFIGURE_ARGS+= --with-html-dir=${LOCALBASE}/share/doc/html/gphoto2
+.include "../../devel/gettext-lib/buildlink.mk"
+
+post-patch:
+ ${RM} -f ${LTCONFIG_OVERRIDE} ; \
+ ${ECHO} "${RM} -f libtool; ${LN} -s ${LIBTOOL} libtool" \
+ > ${LTCONFIG_OVERRIDE} ; \
+ ${CHMOD} +x ${LTCONFIG_OVERRIDE} ; \
+
+pre-configure:
+ for i in `find ${WRKSRC} -name Makefile.in`; \
+ do \
+ ${CP} $$i $$i.NB; \
+ ${SED} -e 's/\/\.libs//g' < $$i.NB > $$i; \
+ done \
+
+.include "../../mk/bsd.pkg.mk"