freebsd-ports/graphics/jhead/Makefile
2010-02-12 17:16:17 +00:00

37 lines
866 B
Makefile

# New ports collection makefile for: jhead
# Date created: 01 Dec 2001
# Whom: Jamie Hermans <jamie@hermans.ca>
#
# $FreeBSD$
#
PORTNAME= jhead
PORTVERSION= 2.90
CATEGORIES= graphics
MASTER_SITES= http://www.sentex.net/~mwandel/jhead/ \
http://www.is-root.com/myports/
MAINTAINER= miwi@FreeBSD.org
COMMENT= Exif Jpeg camera setting parser, rotator and much more
RUN_DEPENDS= jpegtran:${PORTSDIR}/graphics/jpeg
MAKEFILE= makefile
MAKE_JOBS_SAFE= yes
PORTDOCS= usage.html
PLIST_FILES= bin/jhead
MAN1= jhead.1
post-patch:
@${REINPLACE_CMD} -E '/^CFLAGS=/d' ${WRKSRC}/makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/jhead ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/jhead.1 ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/usage.html ${DOCSDIR}
.endif
.include <bsd.port.mk>