aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libgphoto2/Makefile
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-12-20 16:49:23 +0800
committerkrion <krion@FreeBSD.org>2004-12-20 16:49:23 +0800
commit4ca00f560ba52d8862db832fca18c5ccf77b2507 (patch)
tree0741c589f4cc759d7211aa455d4b93d1a41a59f7 /graphics/libgphoto2/Makefile
parent5d0e6a12c78a5be6ae547ab24984a26b30001b3c (diff)
downloadfreebsd-ports-gnome-4ca00f560ba52d8862db832fca18c5ccf77b2507.tar.gz
freebsd-ports-gnome-4ca00f560ba52d8862db832fca18c5ccf77b2507.tar.zst
freebsd-ports-gnome-4ca00f560ba52d8862db832fca18c5ccf77b2507.zip
Update to version 2.1.5
PR: ports/75267 Submitted by: Ports Fury
Diffstat (limited to 'graphics/libgphoto2/Makefile')
-rw-r--r--graphics/libgphoto2/Makefile18
1 files changed, 12 insertions, 6 deletions
diff --git a/graphics/libgphoto2/Makefile b/graphics/libgphoto2/Makefile
index 21cfd0ad50e5..c2907a97e051 100644
--- a/graphics/libgphoto2/Makefile
+++ b/graphics/libgphoto2/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= libgphoto2
-PORTVERSION= 2.1.4
-PORTREVISION= 4
+PORTVERSION= 2.1.5
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gphoto
@@ -18,22 +17,29 @@ COMMENT= A universal digital camera picture control tool
LIB_DEPENDS= usb-0.1.7:${PORTSDIR}/devel/libusb \
exif.10:${PORTSDIR}/graphics/libexif
-USE_BZIP2= yes
-USE_GETTEXT= yes
USE_GNOME= gnometarget pkgconfig
USE_GETOPT_LONG= yes
USE_REINPLACE= yes
USE_GMAKE= yes
-GNU_CONFIGURE= yes
+USE_LIBTOOL_VER= 15
+LIBTOOLFILES= configure libgphoto2_port/configure
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
INSTALLS_SHLIB= yes
-PLIST_SUB= VERSION=${PORTVERSION}
+PLIST_SUB= VERSION="${PORTVERSION}"
MAN3= libgphoto2.3 libgphoto2_port.3
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.else
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.endif
+
post-patch:
.for file in configure libgphoto2_port/configure
@${REINPLACE_CMD} -e \