# Created by: Martin Matuska # $FreeBSD: head/graphics/exiftran/Makefile 516845 2019-11-05 22:16:14Z zeising $ PORTNAME= exiftran PORTVERSION= 2.14 CATEGORIES= graphics MASTER_SITES= http://www.kraxel.org/releases/fbida/ DISTNAME= fbida-${PORTVERSION} MAINTAINER= mm@FreeBSD.org COMMENT= Command line utility to transform jpeg files LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libexif.so:graphics/libexif USES= jpeg uidfix xorg 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 @${CP} ${FILESDIR}/Makefile.exiftran \ ${WRKSRC}/build/exiftran/Makefile @${CP} ${FILESDIR}/Makefile.thumbnail.cgi \ ${WRKSRC}/build/thumbnail.cgi/Makefile post-install: ${INSTALL_MAN} ${WRKSRC}/man/exiftran.1 \ ${STAGEDIR}${PREFIX}/man/man1/exiftran.1 .include