aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-01-17 22:41:39 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-01-17 22:41:39 +0000
commit97146b1783109f27f535b0335b8c14569b09b8be (patch)
treec235cc1f47d86064ddad9bab0d11936561ef2742
parentb528253e72a8b3ea036574f8da278402dd06433b (diff)
downloadports-97146b1783109f27f535b0335b8c14569b09b8be.tar.gz
ports-97146b1783109f27f535b0335b8c14569b09b8be.zip
Notes
-rw-r--r--graphics/libexif/Makefile25
-rw-r--r--graphics/libexif/distinfo6
-rw-r--r--graphics/libexif/pkg-plist15
3 files changed, 30 insertions, 16 deletions
diff --git a/graphics/libexif/Makefile b/graphics/libexif/Makefile
index 5c1e6fa97952..5e5ec4462dd8 100644
--- a/graphics/libexif/Makefile
+++ b/graphics/libexif/Makefile
@@ -6,30 +6,43 @@
#
PORTNAME= libexif
-PORTVERSION= 0.6.16
+PORTVERSION= 0.6.17
CATEGORIES= graphics
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Library to read digital camera file meta-data
USE_BZIP2= yes
-USE_GNOME= gnomehack gnometarget pkgconfig ltverhack
+USE_GNOME= gnomehack ltverhack pkgconfig
+USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --disable-docs
USE_LDCONFIG= yes
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
-CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib -lintl"
.else
+CONFIGURE_ENV+= am_cv_func_iconv=no
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-g -Wall||g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e '/^SUBDIRS =/s|doc||g ; \
+ /^am__installdirs =/s|$$(docdir)||g ; \
+ /^install-data-am:/s|install-docDATA||g' ${WRKSRC}/Makefile.in
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for file in AUTHORS ChangeLog NEWS README
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
.include <bsd.port.mk>
diff --git a/graphics/libexif/distinfo b/graphics/libexif/distinfo
index 50f38a2d46ce..c69ff1616db9 100644
--- a/graphics/libexif/distinfo
+++ b/graphics/libexif/distinfo
@@ -1,3 +1,3 @@
-MD5 (libexif-0.6.16.tar.bz2) = deee153b1ded5a944ea05d041d959eca
-SHA256 (libexif-0.6.16.tar.bz2) = db6885d5e40e3a273ff8bb9708ab739c8ace3c5abdd75509eec8ea31a31aac43
-SIZE (libexif-0.6.16.tar.bz2) = 691528
+MD5 (libexif-0.6.17.tar.bz2) = f7cf4e623a48c9a3b13f7f95f0a41015
+SHA256 (libexif-0.6.17.tar.bz2) = dceb9355b148a8ee6aa96e3dff82a06c066c81e6ab18c190c946ed3b30fc7353
+SIZE (libexif-0.6.17.tar.bz2) = 820976
diff --git a/graphics/libexif/pkg-plist b/graphics/libexif/pkg-plist
index 252dcdcb0630..baa248f59f3c 100644
--- a/graphics/libexif/pkg-plist
+++ b/graphics/libexif/pkg-plist
@@ -17,19 +17,20 @@ lib/libexif.la
lib/libexif.so
lib/libexif.so.12
libdata/pkgconfig/libexif.pc
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
%%NLS%%share/locale/cs/LC_MESSAGES/libexif-12.mo
%%NLS%%share/locale/de/LC_MESSAGES/libexif-12.mo
+%%NLS%%share/locale/en_CA/LC_MESSAGES/libexif-12.mo
%%NLS%%share/locale/es/LC_MESSAGES/libexif-12.mo
%%NLS%%share/locale/fr/LC_MESSAGES/libexif-12.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/libexif-12.mo
%%NLS%%share/locale/pl/LC_MESSAGES/libexif-12.mo
%%NLS%%share/locale/ru/LC_MESSAGES/libexif-12.mo
%%NLS%%share/locale/sk/LC_MESSAGES/libexif-12.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/libexif-12.mo
%%NLS%%share/locale/vi/LC_MESSAGES/libexif-12.mo
-%%DOCSDIR%%/ABOUT-NLS
-%%DOCSDIR%%/AUTHORS
-%%DOCSDIR%%/COPYING
-%%DOCSDIR%%/ChangeLog
-%%DOCSDIR%%/NEWS
-%%DOCSDIR%%/README
-@dirrm %%DOCSDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm include/libexif