6be37b13b5
- re-order Makefile a bit - regen patches ok landry@
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.16 2010/03/23 19:42:57 jasper Exp $
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
COMMENT= color QuickCam control program
|
|
|
|
DISTNAME= cqcam-0.91
|
|
PKGNAME= ${DISTNAME}p3
|
|
CATEGORIES= graphics
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c m stdc++
|
|
|
|
HOMEPAGE= http://www.cs.duke.edu/~reynolds/cqcam/
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
USE_X11= Yes
|
|
LIB_DEPENDS= jpeg.>=62::graphics/jpeg
|
|
|
|
CONFIGURE_STYLE= gnu dest
|
|
CONFIGURE_ARGS= --enable-jpeg \
|
|
--enable-asm \
|
|
--without-xview
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
MAKE_FLAGS= CLIENTS="cli webcam"
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cqcam
|
|
${INSTALL_DATA} ${WRKSRC}/docs/README.webcam \
|
|
${PREFIX}/share/doc/cqcam/README.webcam
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/cqcam
|
|
${INSTALL_DATA} ${WRKSRC}/.cqcrc \
|
|
${PREFIX}/share/examples/cqcam/dot.cqcrc
|
|
${INSTALL_DATA} ${WRKSRC}/webcam/nph-webcam \
|
|
${PREFIX}/share/examples/cqcam/nph-webcam
|
|
|
|
.include <bsd.port.mk>
|