aboutsummaryrefslogtreecommitdiff
path: root/graphics/snx101util/Makefile
blob: e1b634da5cf27a51aa860f23fbddebde32226cd5 (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
40
# New ports collection makefile for:	snx101util
# Date created:				23 November 2004
# Whom:					Yoichi NAKAYAMA <yoichi@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	snx101util
PORTVERSION=	0.2
PORTREVISION=	1
CATEGORIES=	graphics
MASTER_SITES=	http://www.medias.ne.jp/~takam/bsd/

MAINTAINER=	yoichi@FreeBSD.org
COMMENT=	Image capture programs for Webcam based SN9C101

.if defined(WITHOUT_X11)
COMPONENTS=	snx101shot
.else
USE_GNOME=	imlib gtk12
COMPONENTS=	snx101shot snx101view
.endif

MAN1=		${COMPONENTS:S/$/.1/}
MANCOMPRESSED=	yes
PLIST_FILES=	${COMPONENTS:S/^/bin\//}

MAKE_ARGS+=	MANDIR=${MANPREFIX}/man/man

do-build:
.for component in ${COMPONENTS}
	@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} Makefile.${component} ${MAKE_ARGS} ${ALL_TARGET})
.endfor

do-install:
.for component in ${COMPONENTS}
	@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} Makefile.${component} ${MAKE_ARGS} ${INSTALL_TARGET})
.endfor

.include <bsd.port.mk>