aboutsummaryrefslogtreecommitdiff
path: root/graphics/exiftran
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2019-06-09 06:44:12 +0000
committerMartin Matuska <mm@FreeBSD.org>2019-06-09 06:44:12 +0000
commit038c4f6828c144be9b29916fdcc36b904cc37fb1 (patch)
tree5fd2a94f17d7fa709a1d90e99713ce8c6c6a09b3 /graphics/exiftran
parenta6170b3c73ff5a165bb1450a3609ae20eb8ece21 (diff)
downloadports-038c4f6828c144be9b29916fdcc36b904cc37fb1.tar.gz
ports-038c4f6828c144be9b29916fdcc36b904cc37fb1.zip
Notes
Diffstat (limited to 'graphics/exiftran')
-rw-r--r--graphics/exiftran/Makefile9
-rw-r--r--graphics/exiftran/distinfo6
-rw-r--r--graphics/exiftran/files/Makefile.exiftran9
3 files changed, 15 insertions, 9 deletions
diff --git a/graphics/exiftran/Makefile b/graphics/exiftran/Makefile
index cd59bc342cd3..f5e5e1d0657d 100644
--- a/graphics/exiftran/Makefile
+++ b/graphics/exiftran/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= exiftran
-PORTVERSION= 2.12
+PORTVERSION= 2.14
CATEGORIES= graphics
MASTER_SITES= http://www.kraxel.org/releases/fbida/
DISTNAME= fbida-${PORTVERSION}
@@ -16,11 +16,14 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libexif.so:graphics/libexif
USES= jpeg uidfix
-MAKE_ARGS+= WRKSRC=${WRKSRC} BINDIR=${PREFIX}/bin MANDIR=${MANPREFIX}/man
+USE_XORG= pixman
+MAKE_ARGS+= WRKSRC=${WRKSRC} BINDIR=${PREFIX}/bin MANDIR=${MANPREFIX}/man
PLIST_FILES= bin/exiftran bin/thumbnail.cgi \
man/man1/exiftran.1.gz
+CFLAGS+= -I${LOCALBASE}/include
+
post-patch:
@${MKDIR} ${WRKSRC}/build/exiftran ${WRKSRC}/build/thumbnail.cgi
@${CP} ${FILESDIR}/Makefile ${WRKSRC}/Makefile
@@ -30,7 +33,7 @@ post-patch:
${WRKSRC}/build/thumbnail.cgi/Makefile
post-install:
- ${INSTALL_MAN} ${WRKSRC}/exiftran.man \
+ ${INSTALL_MAN} ${WRKSRC}/man/exiftran.1 \
${STAGEDIR}${PREFIX}/man/man1/exiftran.1
.include <bsd.port.mk>
diff --git a/graphics/exiftran/distinfo b/graphics/exiftran/distinfo
index 7a8df8f78e04..72852ada5655 100644
--- a/graphics/exiftran/distinfo
+++ b/graphics/exiftran/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1485550405
-SHA256 (fbida-2.12.tar.gz) = d33193105cce77057c919761728cee9bbe8ec8ec4f12a770a600cab33611822f
-SIZE (fbida-2.12.tar.gz) = 294842
+TIMESTAMP = 1560061472
+SHA256 (fbida-2.14.tar.gz) = 95b7c01556cb6ef9819f358b314ddfeb8a4cbe862b521a3ed62f03d163154438
+SIZE (fbida-2.14.tar.gz) = 296826
diff --git a/graphics/exiftran/files/Makefile.exiftran b/graphics/exiftran/files/Makefile.exiftran
index bf74e5fb3202..0313a15c0722 100644
--- a/graphics/exiftran/files/Makefile.exiftran
+++ b/graphics/exiftran/files/Makefile.exiftran
@@ -10,10 +10,13 @@ SRCS+= transupp.c
.PATH: ${.CURDIR}/../../rd
SRCS+= read-jpeg.c
-LDADD= -L${PREFIX}/lib -ljpeg -lexif -lm
+LDADD= -L${LOCALBASE}/lib -ljpeg -lexif -lm -lpixman-1
-CFLAGS+= -I${PREFIX}/include -I${.CURDIR}/../../jpeg/80 \
- -I${.CURDIR}/../.. -DHAVE_NEW_EXIF
+CFLAGS+= -I${LOCALBASE}/include \
+ -I${LOCALBASE}/include/pixman-1 \
+ -I${.CURDIR}/../../jpeg/80 \
+ -I${.CURDIR}/../.. \
+ -DHAVE_NEW_EXIF
MAN=