diff options
author | pav <pav@FreeBSD.org> | 2009-09-07 17:03:55 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2009-09-07 17:03:55 +0800 |
commit | 9cd96c64a95bc037df0bd82d4921c14919c1e75d (patch) | |
tree | e2b06d4ea8ea316eed8a61c79b49319de9e83143 /graphics/gphoto2 | |
parent | 2ed4c37d7e820f7d13a5b18ea4276cc54d5ceda4 (diff) | |
download | freebsd-ports-gnome-9cd96c64a95bc037df0bd82d4921c14919c1e75d.tar.gz freebsd-ports-gnome-9cd96c64a95bc037df0bd82d4921c14919c1e75d.tar.zst freebsd-ports-gnome-9cd96c64a95bc037df0bd82d4921c14919c1e75d.zip |
- Update to 2.4.7
- Make aalib/jpeg dependency optional
Diffstat (limited to 'graphics/gphoto2')
-rw-r--r-- | graphics/gphoto2/Makefile | 18 | ||||
-rw-r--r-- | graphics/gphoto2/distinfo | 6 | ||||
-rw-r--r-- | graphics/gphoto2/pkg-plist | 3 |
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 |