aboutsummaryrefslogtreecommitdiff
path: root/graphics/gphoto2
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2009-09-07 09:03:55 +0000
committerPav Lucistnik <pav@FreeBSD.org>2009-09-07 09:03:55 +0000
commitb7daa8ecd72bcf5e55199856c69ae20d7e8e3111 (patch)
tree02d6fb76adaeade4b159b4415eae51357f6b223d /graphics/gphoto2
parent003debeb01276bd20f93d5007c7f974aab551fa2 (diff)
downloadports-b7daa8ecd72bcf5e55199856c69ae20d7e8e3111.tar.gz
ports-b7daa8ecd72bcf5e55199856c69ae20d7e8e3111.zip
- Update to 2.4.7
- Make aalib/jpeg dependency optional
Notes
Notes: svn path=/head/; revision=240971
Diffstat (limited to 'graphics/gphoto2')
-rw-r--r--graphics/gphoto2/Makefile18
-rw-r--r--graphics/gphoto2/distinfo6
-rw-r--r--graphics/gphoto2/pkg-plist3
3 files changed, 17 insertions, 10 deletions
diff --git a/graphics/gphoto2/Makefile b/graphics/gphoto2/Makefile
index 135d55a4ee78..468c67848a32 100644
--- a/graphics/gphoto2/Makefile
+++ b/graphics/gphoto2/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= gphoto2
-PORTVERSION= 2.4.5
-PORTREVISION= 1
+PORTVERSION= 2.4.7
CATEGORIES= graphics
MASTER_SITES= SF/gphoto/gphoto/${PORTVERSION}
@@ -15,8 +14,6 @@ MAINTAINER= pav@FreeBSD.org
COMMENT= A command-line frontend to libgphoto2
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \
- aa.1:${PORTSDIR}/graphics/aalib \
- jpeg.10:${PORTSDIR}/graphics/jpeg \
gphoto2.2:${PORTSDIR}/graphics/libgphoto2
USE_GNOME= gnometarget
@@ -32,6 +29,17 @@ MAN1= gphoto2.1
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
+OPTIONS= AALIB "Enable command line capture preview (aalib)" on
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_AALIB)
+LIB_DEPENDS+= aa.1:${PORTSDIR}/graphics/aalib \
+ jpeg.10:${PORTSDIR}/graphics/jpeg
+.else
+CONFIGURE_ARGS+=--without-aalib --without-jpeg
+.endif
+
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
@@ -51,4 +59,4 @@ post-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/graphics/gphoto2/distinfo b/graphics/gphoto2/distinfo
index a9d6268ce79c..8180a00ca2cf 100644
--- a/graphics/gphoto2/distinfo
+++ b/graphics/gphoto2/distinfo
@@ -1,3 +1,3 @@
-MD5 (gphoto2-2.4.5.tar.bz2) = cccbe437804c863b87807444ec58a8ac
-SHA256 (gphoto2-2.4.5.tar.bz2) = c9800e4683f68b36c264cdffd25f57c68c77073e7585784c404ec663d37f4b2e
-SIZE (gphoto2-2.4.5.tar.bz2) = 598659
+MD5 (gphoto2-2.4.7.tar.bz2) = a0bd7629040735f16e510b63edf386dd
+SHA256 (gphoto2-2.4.7.tar.bz2) = 16e21ab5387220ad885e1d27f936f3add4081d15a1039577002682be521b2c03
+SIZE (gphoto2-2.4.7.tar.bz2) = 641553
diff --git a/graphics/gphoto2/pkg-plist b/graphics/gphoto2/pkg-plist
index efef94e7b5d0..10eb61174276 100644
--- a/graphics/gphoto2/pkg-plist
+++ b/graphics/gphoto2/pkg-plist
@@ -11,9 +11,9 @@ bin/gphoto2
%%NLS%%share/locale/fi/LC_MESSAGES/gphoto2.mo
%%NLS%%share/locale/fr/LC_MESSAGES/gphoto2.mo
%%NLS%%share/locale/hu/LC_MESSAGES/gphoto2.mo
+%%NLS%%share/locale/id/LC_MESSAGES/gphoto2.mo
%%NLS%%share/locale/it/LC_MESSAGES/gphoto2.mo
%%NLS%%share/locale/ja/LC_MESSAGES/gphoto2.mo
-%%NLS%%share/locale/nb/LC_MESSAGES/gphoto2.mo
%%NLS%%share/locale/nl/LC_MESSAGES/gphoto2.mo
%%NLS%%share/locale/pa/LC_MESSAGES/gphoto2.mo
%%NLS%%share/locale/pl/LC_MESSAGES/gphoto2.mo
@@ -24,7 +24,6 @@ bin/gphoto2
%%NLS%%@dirrmtry share/locale/rw/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/rw
%%NLS%%share/locale/sk/LC_MESSAGES/gphoto2.mo
-%%NLS%%share/locale/sl/LC_MESSAGES/gphoto2.mo
%%NLS%%share/locale/sr/LC_MESSAGES/gphoto2.mo
%%NLS%%share/locale/sv/LC_MESSAGES/gphoto2.mo
%%NLS%%share/locale/uk/LC_MESSAGES/gphoto2.mo