freebsd-ports/graphics/metacam/Makefile

39 lines
803 B
Makefile
Raw Normal View History

# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= metacam
PORTVERSION= 1.2
CATEGORIES= graphics
2008-03-27 20:27:34 +01:00
MASTER_SITES= CRITICAL
MAINTAINER= ehaupt@FreeBSD.org
2013-03-08 15:00:30 +01:00
COMMENT= Digital camera EXIF meta-information reader
USES= gmake
CFLAGS+= -I${LOCALBASE}/include
CXXFLAGS+= -I${LOCALBASE}/include
2013-10-25 16:17:10 +02:00
PLIST_FILES= bin/metacam man/man1/metacam.1.gz
PORTDOCS= README.canon README.casio
ALL_TARGET= ${PORTNAME}
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
do-install:
2013-10-25 16:17:10 +02:00
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${FILESDIR}/${PORTNAME}.1 \
${STAGEDIR}${MANPREFIX}/man/man1
.if ${PORT_OPTIONS:MDOCS}
2013-10-25 16:17:10 +02:00
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
2013-10-25 16:17:10 +02:00
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>