summaryrefslogtreecommitdiff
path: root/graphics/ov519view/Makefile
blob: 4ea801afae03e28dbab32bfe7f9bced3fc53879d (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.15 2010/06/13 22:44:39 wiz Exp $
#

DISTNAME=	ov51x-1.65-1.11-mark
PKGNAME=	ov519view-0.00
PKGREVISION=	7
CATEGORIES=	graphics x11
MASTER_SITES=	http://alpha.dyndns.org/ov511/download/ov51x/
EXTRACT_SUFX=	.tar.bz2

PATCH_SITES=	http://home.384.jp/takam/bsd/
PATCHFILES=	ov51x-1.65-1.11-mark-bsd-0.00.patch.gz
PATCH_DIST_STRIP=	-p1

MAINTAINER=	hamajima@NetBSD.org
HOMEPAGE=	http://home.384.jp/takam/bsd/NetBSD.html#ov519
COMMENT=	USB cameras based OV519 Utility Programs

PKG_DESTDIR_SUPPORT=	user-destdir

INSTALLATION_DIRS=	bin ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1

MAKE_ENV+=	${BSD_MAKE_ENV}

do-build:
	for f in ov519shot ov519view ; do               \
		cd ${WRKSRC} && ${SETENV} ${MAKE_ENV}   \
		NOGCCERROR=                             \
		${MAKE_PROGRAM} -f ${MAKE_FILE}.$$f ;    \
	done

do-install:
	for f in ov519shot ov519view ; do                       \
		cd ${WRKSRC} && ${SETENV} ${MAKE_ENV}           \
		${MAKE_PROGRAM} -f ${MAKE_FILE}.$$f install ${INSTALL_MAKE_FLAGS};    \
	done

.include "../../graphics/imlib/buildlink3.mk"
.include "../../x11/gtk/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"