diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-10-28 22:14:07 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-10-28 22:14:07 +0000 |
commit | 3ea793adc75f9ec72916f558c036429b8d4922c2 (patch) | |
tree | 02a1212cebadc817295eecc8a7dfb793b87ce91b /graphics/libgphoto2/Makefile | |
parent | Mark as broken for recent versions of gcc. Note: the latest distfile (diff) |
- Update to version 2.1.3
PR: 58627
Submitted by: Ports Fury
Diffstat (limited to 'graphics/libgphoto2/Makefile')
-rw-r--r-- | graphics/libgphoto2/Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
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|<malloc\.h>|<stdlib.h>|g' post-install: .if !defined(NOPORTDOCS) |