summaryrefslogtreecommitdiffstats
path: root/graphics/gphoto/Makefile
blob: 3fabf1a1fb43c59e2d9fdb89f7ce337d232c9db6 (plain)
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
40
# 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=	ftp://ftp.gphoto.org/projects/gphoto/pub/tar/stable/ \
		ftp://ftp.uk.linux.org/pub/gphoto/0.4/
       
MAINTAINER=	ports@FreeBSD.org

LIB_DEPENDS=	gdk_imlib.5:${PORTSDIR}/graphics/imlib
RUN_DEPENDS=	convert:${PORTSDIR}/graphics/ImageMagick

GLIB_CONFIG?=	${LOCALBASE}/bin/glib12-config
GTK_CONFIG?=	${X11BASE}/bin/gtk12-config

USE_LIBTOOL=	yes
INSTALLS_SHLIB=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		GLIB_CONFIG="${GLIB_CONFIG}" \
		GTK_CONFIG="${GTK_CONFIG}" \
		LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS=	--disable-gtktest --disable-imlibtest

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>
OpenPOWER on IntegriCloud