freebsd-ports/graphics/metacam/Makefile
2014-03-18 14:26:57 +00:00

33 lines
738 B
Makefile

# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= metacam
PORTVERSION= 1.2
CATEGORIES= graphics
MASTER_SITES= CRITICAL
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Digital camera EXIF meta-information reader
USES= gmake
CFLAGS+= -I${LOCALBASE}/include
CXXFLAGS+= -I${LOCALBASE}/include
PLIST_FILES= bin/metacam man/man1/metacam.1.gz
PORTDOCS= README.canon README.casio
ALL_TARGET= ${PORTNAME}
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${FILESDIR}/${PORTNAME}.1 \
${STAGEDIR}${MANPREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>