2005-04-17 10:25:42 +02:00
|
|
|
# New ports collection makefile for: spca5xx
|
|
|
|
# Date created: 21 March 2005
|
|
|
|
# Whom: Yoshihiko Sarumaru <mistral@imasy.or.jp>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= spca5xx
|
2006-04-30 17:38:55 +02:00
|
|
|
PORTVERSION= 20060402
|
2010-03-28 08:47:48 +02:00
|
|
|
PORTREVISION= 7
|
2005-04-17 10:25:42 +02:00
|
|
|
CATEGORIES= graphics
|
2006-02-19 14:18:34 +01:00
|
|
|
MASTER_SITES= http://mxhaard.free.fr/spca50x/Download/ \
|
|
|
|
http://mxhaard.free.fr/spca50x/Download/oldrelease/
|
2005-04-17 10:25:42 +02:00
|
|
|
|
2009-10-11 07:43:43 +02:00
|
|
|
PATCH_SITES= http://home.384.jp/takam/bsd/ \
|
|
|
|
${MASTER_SITE_LOCAL}
|
|
|
|
PATCH_SITE_SUBDIR= nork
|
2007-03-05 19:17:29 +01:00
|
|
|
PATCHFILES= spca5xx-bsd-0.6b.patch.gz
|
2005-04-17 10:25:42 +02:00
|
|
|
PATCH_DIST_STRIP= -p3
|
|
|
|
|
2009-01-16 10:50:00 +01:00
|
|
|
MAINTAINER= sarumaru@jp.FreeBSD.org
|
2005-04-17 10:25:42 +02:00
|
|
|
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
|
|
|
|
|
2009-05-24 17:20:16 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 800064
|
|
|
|
BROKEN= does not build
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|