openbsd-ports/graphics/cqcam/Makefile
2010-10-24 20:58:58 +00:00

46 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.18 2010/10/24 21:21:00 ajacoutot 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_GROFF = 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>