1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/graphics/spcaview/Makefile
Hajimu UMEMOTO f42a08edb1 New port - a graphics program that lets you capture image
with USB camera using spca5xx chips.

PR:		ports/79085
Submitted by:	Yoshihiko Sarumaru <mistral_at_imasy.or.jp>
2005-04-17 08:25:42 +00:00

46 lines
1.1 KiB
Makefile

# New ports collection makefile for: spca5xx
# Date created: 21 March 2005
# Whom: Yoshihiko Sarumaru <mistral@imasy.or.jp>
#
# $FreeBSD$
#
PORTNAME= spca5xx
PORTVERSION= 20050206
CATEGORIES= graphics
MASTER_SITES= http://mxhaard.free.fr/spca50x/Download/
PATCH_SITES= http://www2.starcat.ne.jp/~takam/bsd/
PATCHFILES= spca5xx-bsd-0.3b.patch.gz
PATCH_DIST_STRIP= -p3
MAINTAINER= mistral@imasy.or.jp
COMMENT= USB Cameras based SPCA5xx Utilities
WRKSRC= ${WRKDIR}/${DISTNAME}/drivers/usb
.if defined(WITHOUT_X11)
COMPONENTS= spca5shot
.else
USE_GNOME= imlib gtk12
COMPONENTS= spca5shot spca5view
.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>