From 3ea793adc75f9ec72916f558c036429b8d4922c2 Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Tue, 28 Oct 2003 22:14:07 +0000 Subject: - Update to version 2.1.3 PR: 58627 Submitted by: Ports Fury --- graphics/libgphoto2/Makefile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'graphics/libgphoto2/Makefile') diff --git a/graphics/libgphoto2/Makefile b/graphics/libgphoto2/Makefile index b7624cbc90f6..041cd7f1d569 100644 --- a/graphics/libgphoto2/Makefile +++ b/graphics/libgphoto2/Makefile @@ -6,8 +6,7 @@ # PORTNAME= libgphoto2 -PORTVERSION= 2.1.2 -PORTREVISION= 2 +PORTVERSION= 2.1.3 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= gphoto @@ -20,28 +19,29 @@ LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext \ exif.10:${PORTSDIR}/graphics/libexif USE_BZIP2= yes -USE_REINPLACE= yes USE_GNOME= gnometarget pkgconfig +USE_GETOPT_LONG= yes +USE_REINPLACE= yes USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" INSTALLS_SHLIB= yes -PLIST_SUB= PORTVERSION=${PORTVERSION} +PLIST_SUB= VERSION=${PORTVERSION} MAN3= libgphoto2.3 libgphoto2_port.3 +CPPFLAGS= -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib + post-patch: .for file in configure libgphoto2_port/configure @${REINPLACE_CMD} -e \ - 's|[{]libdir[}]/pkgconfig|{prefix}/libdata/pkgconfig|g ; \ + 's|{libdir}/pkgconfig|{prefix}/libdata/pkgconfig|g ; \ s|-g ||g' ${WRKSRC}/${file} .endfor @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|po packaging doc|po doc|g ; \ s|: install-docDATA|:|g' - @${FIND} ${WRKSRC} -name "*.[ch]" | ${XARGS} ${REINPLACE_CMD} -e \ - 's|||g' post-install: .if !defined(NOPORTDOCS) -- cgit v1.2.3