aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gphoto2/Makefile
blob: 3cb8e799195518cc504470ae2d8ab55f8f6c83d4 (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
# New ports collection makefile for:    gphoto
# Date created:     26 May 1999
# Whom:         Anders Nordby <anders@fix.no>
#
# $FreeBSD$
#

PORTNAME=   gphoto
PORTVERSION=    0.4.3
CATEGORIES= graphics
MASTER_SITES=   http://www.gphoto.net/dist/
       
MAINTAINER= ports@FreeBSD.org

RUN_DEPENDS=    convert:${PORTSDIR}/graphics/ImageMagick

USE_IMLIB=  yes
USE_LIBTOOL=    yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LIBS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB= yes

MAN1=       gphoto.1

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/gphoto
.for file in ChangeLog FAQ NEWS PROGRAMMERS README THANKS THEMES TODO
    ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/gphoto
.endfor
.endif

.include <bsd.port.mk>