aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gphoto2/Makefile
blob: 6b4cc99d23760dae7d189fd3149338115ba23f4b (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
34
35
36
37
38
39
# New ports collection makefile for:    gphoto
# Version required: gphoto-19990511
# Date created:     26 May 1999
# Whom:         Anders Nordby <anders@fix.no>
#
# $FreeBSD$
#

DISTNAME=   gphoto-0.4.0
CATEGORIES= graphics
MASTER_SITES=   http://www.mustec.eu.org/~psj/downloads/ \
        http://www.freenix.no/~anders/

MAINTAINER= anders@fix.no

BUILD_DEPENDS=  ${X11BASE}/include/ppm.h:${PORTSDIR}/graphics/netpbm
LIB_DEPENDS=    gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
        gdk_imlib.5:${PORTSDIR}/graphics/imlib
RUN_DEPENDS=    convert:${PORTSDIR}/graphics/ImageMagick

USE_LIBTOOL=    yes
CONFIGURE_ENV=  GLIB_CONFIG="${PREFIX}/bin/glib12-config" \
        GTK_CONFIG="${X11BASE}/bin/gtk12-config" \
        IMLIB_CONFIG="${X11BASE}/bin/imlib-config" \

MAN1=       gphoto.1

post-install:
    @${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/gphoto/doc
    @${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/share/gphoto/doc
    @${INSTALL_DATA} ${WRKSRC}/FAQ ${PREFIX}/share/gphoto/doc
    @${INSTALL_DATA} ${WRKSRC}/NEWS ${PREFIX}/share/gphoto/doc
    @${INSTALL_DATA} ${WRKSRC}/PROGRAMMERS ${PREFIX}/share/gphoto/doc
    @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/gphoto/doc
    @${INSTALL_DATA} ${WRKSRC}/THANKS ${PREFIX}/share/gphoto/doc
    @${INSTALL_DATA} ${WRKSRC}/THEMES ${PREFIX}/share/gphoto/doc
    @${INSTALL_DATA} ${WRKSRC}/TODO ${PREFIX}/share/gphoto/doc

.include <bsd.port.mk>