summaryrefslogtreecommitdiff
path: root/graphics/vigra/Makefile
blob: 6781bd8486cbcace2d1c53e1a261309dbb29a7ec (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
41
# $NetBSD: Makefile,v 1.3 2009/08/26 19:57:52 sno Exp $
#

DISTNAME=	vigra1.6.0
PKGNAME=	${DISTNAME:C/^[[:alpha:]]+/&-/}
PKGREVISION=	1
CATEGORIES=	graphics
MASTER_SITES=	http://hci.iwr.uni-heidelberg.de/vigra/

MAINTAINER=	bjs@NetBSD.org
HOMEPAGE=	http://hci.iwr.uni-heidelberg.de/vigra/
COMMENT=	Computer vision library

PKG_DESTDIR_SUPPORT=	user-destdir

GNU_CONFIGURE=		yes
USE_LANGUAGES=		c c++
USE_LIBTOOL=		yes
USE_TOOLS+=		gmake pkg-config

CONFIGURE_ARGS+=	--with-cc=${CC:Q} --with-cxx=${CXX:Q}
CONFIGURE_ARGS+=	--docdir=${PREFIX:Q}/share/doc/${PKGBASE:Q}
CONFIGURE_HAS_MANDIR=	no

.if defined(PKG_DEVELOPER)
CFLAGS+=		-Wall
.endif

INSTALL_MAKE_FLAGS+=	bindir=${DESTDIR}${PREFIX}/bin
INSTALL_MAKE_FLAGS+=	docdir=${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
INSTALL_MAKE_FLAGS+=	includedir=${DESTDIR}${PREFIX}/include
INSTALL_MAKE_FLAGS+=	libdir=${DESTDIR}${PREFIX}/lib


.include "options.mk"

.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"