summaryrefslogtreecommitdiff
path: root/graphics/picturebook/Makefile
blob: 1f8fb26b7b38e5487dad0fd7d4a0f6ad47e09eaf (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
# New ports collection Makefile for:	pictureboook
# Date created:			    	25 December 2000
# Whom:				    	Takanori Watanabe <takawata@FreeBSD.ORG>
#
# $FreeBSD$
#

PORTNAME=	picturebook
PORTVERSION=	20010422
PORTREVISION=	1
CATEGORIES=	graphics
MASTER_SITES=	http://samba.org/picturebook/
DISTNAME=	capture
EXTRACT_SUFX=  .tgz

MAINTAINER=	alan@clegg.com
COMMENT=	SONY VAIO camera capture utility

WRKSRC=		${WRKDIR}/${PORTNAME}
USE_GNOMENG=	yes
USE_GNOME=	imlib

post-build:
	cd ${WRKSRC}; \
	${CC} ${CFLAGS} -o setbrightness setbrightness.c; \
	${CC} ${CFLAGS} -o vaiobat vaiobat.c

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/capture ${PREFIX}/bin/capture
	${INSTALL_PROGRAM} ${WRKSRC}/setbrightness ${PREFIX}/sbin/setbrightness
	${INSTALL_PROGRAM} ${WRKSRC}/vaiobat ${PREFIX}/sbin/vaiobat
	${MKDIR} ${DOCSDIR}
	${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}/README
.if!defined(NOPORTDOCS)
	${INSTALL_MAN} ${PATCHDIR}/README.FreeBSD ${DOCSDIR}/README.FreeBSD
.endif
.include <bsd.port.mk>