aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/metacam/Makefile
blob: 79524bb749c36849b8cbf9e979d1fd8bbc6b53d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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>