freebsd-ports/graphics/exiftran/Makefile
2015-06-22 18:33:20 +00:00

37 lines
1,019 B
Makefile

# Created by: Martin Matuska <mm@FreeBSD.org>
# $FreeBSD$
PORTNAME= exiftran
DISTNAME= fbida-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
PORTVERSION= 2.09
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://www.kraxel.org/releases/fbida/
MAINTAINER= mm@FreeBSD.org
COMMENT= Command line utility to transform jpeg files
LIB_DEPENDS= libexif.so:${PORTSDIR}/graphics/libexif
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= jpeg uidfix
MAKE_ARGS+= WRKSRC=${WRKSRC} BINDIR=${PREFIX}/bin MANDIR=${MANPREFIX}/man
PLIST_FILES= bin/exiftran bin/thumbnail.cgi \
man/man1/exiftran.1.gz
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}/exiftran.man \
${STAGEDIR}${PREFIX}/man/man1/exiftran.1
.include <bsd.port.mk>