aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libexif/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libexif/Makefile')
-rw-r--r--graphics/libexif/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/graphics/libexif/Makefile b/graphics/libexif/Makefile
index faf78256dcc9..65861e8d40fb 100644
--- a/graphics/libexif/Makefile
+++ b/graphics/libexif/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= libexif
-PORTVERSION= 0.5.0
-PORTREVISION= 1
+PORTVERSION= 0.5.4
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,14 +14,20 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= pschmied@qwest.net
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
+LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext
RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
-GNU_CONFIGURE= yes
+USE_BZIP2= yes
+USE_REINPLACE= yes
+USE_LIBTOOL= yes
+CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib -lintl"
INSTALLS_SHLIB= yes
post-patch:
- @${PERL} -pi -e 's|-g -Wall||g' ${WRKSRC}/configure
- @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${PERL} -pi -e \
- 's|\$$\(libdir\)/pkgconfig|\$$\(prefix\)/libdata/pkgconfig|g'
+ @${REINPLACE_CMD} -e 's|-g -Wall||g' ${WRKSRC}/configure
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'
.include <bsd.port.mk>