summaryrefslogtreecommitdiff
path: root/graphics/phpsview/Makefile
blob: e94bc7b38dca56969a05a389e45e9cb5f5026dd3 (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
# $NetBSD: Makefile,v 1.19 2010/01/18 09:59:06 wiz Exp $
#

DISTNAME=	pwc-9.0.2
PKGNAME=	phpsview-${DISTNAME:C/.*-//}
PKGREVISION=	4
CATEGORIES=	graphics x11
MASTER_SITES=	http://www.smcc.demon.nl/webcam/

PATCH_SITES=	http://www.medias.ne.jp/~takam/bsd/
PATCHFILES=	pwc-9.0.2-bsd-0.03.patch.gz
PATCH_DIST_STRIP=	-p1

MAINTAINER=	hamajima@NetBSD.org
HOMEPAGE=	http://www.medias.ne.jp/~takam/bsd/NetBSD.html#qcamPro
COMMENT=	Philips USB Cameras Utilities

PKG_DESTDIR_SUPPORT=	user-destdir
INSTALLATION_DIRS=	bin

do-build:
	for f in phpsshot phpsview ; do				\
		cd ${WRKSRC}/2.4 && ${SETENV} ${MAKE_ENV}	\
		NOGCCERROR=					\
		${MAKE_PROGRAM} -f ${MAKE_FILE}.$$f ;		\
	done

do-install:
	for f in phpsshot phpsview ; do				\
		cd ${WRKSRC}/2.4 &&				\
		${INSTALL_PROGRAM} $$f ${DESTDIR}${PREFIX}/bin;	\
	done

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

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