mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
bd46978ddb
PR: 21795 Submitted by: Ports Fury
53 lines
1.3 KiB
Makefile
53 lines
1.3 KiB
Makefile
# New ports collection makefile for: cqcam
|
|
# Date created: 29 Oct 1997
|
|
# Whom: Kensaku Masuda <greg@greg.rim.or.jp>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= cqcam
|
|
PORTVERSION= 0.90p11
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://www.cs.duke.edu/~reynolds/cqcam/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/p/pre/}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
USE_XLIB= yes
|
|
USE_GTK= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
CONFIGURE_ARGS= --disable-asm
|
|
INSTALL_TARGET= bininstall
|
|
|
|
MAN1= cqcam.1
|
|
MLINKS= cqcam.1 webcam.1 \
|
|
cqcam.1 xcqcam.1
|
|
|
|
PORTDOCS= README docs/APINOTES docs/CHANGES docs/README.webcam \
|
|
docs/refresh.html docs/webcam.html
|
|
|
|
post-install:
|
|
.for file in cqcam gtkcam webcam xcqcam
|
|
@strip ${PREFIX}/bin/${file}
|
|
.endfor
|
|
${INSTALL_MAN} ${WRKSRC}/docs/cqcam.1 ${MANPREFIX}/man/man1
|
|
@${MKDIR} ${PREFIX}/share/examples/cqcam
|
|
${INSTALL_DATA} ${WRKSRC}/.cqcrc ${PREFIX}/share/examples/cqcam/sample.cqcrc
|
|
${INSTALL_DATA} ${WRKSRC}/webcam/nph-webcam ${PREFIX}/share/examples/cqcam/sample.nph-webcam
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${PREFIX}/share/doc/cqcam
|
|
.for file in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/cqcam
|
|
.endfor
|
|
.endif
|
|
@${SED} -e "s:/usr/local:${PREFIX}:" ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|