freebsd-ports/graphics/exiftran/Makefile
Daniel Engberg 664a2fa1e5 */*: Bump jpeg-turbo users treewide
New major version 3.0.0
2023-07-28 19:13:17 +02:00

40 lines
1 KiB
Makefile

PORTNAME= exiftran
PORTVERSION= 2.14
PORTREVISION= 1
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
WWW= https://www.kraxel.org/blog/linux/fbida/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libexif.so:graphics/libexif
USES= jpeg uidfix xorg
USE_XORG= pixman
CONFLICTS_INSTALL= ida
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 <bsd.port.mk>