summaryrefslogtreecommitdiffstats
path: root/graphics/qcread
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-04-02 19:05:33 +0000
committerkrion <krion@FreeBSD.org>2004-04-02 19:05:33 +0000
commita6467b3cb374218887e7bcce158e18e51eeefa66 (patch)
tree4fe9677e08d8d6c930e5893803dbc6876bb35116 /graphics/qcread
parente4c45394312f9eabcd8488edfade23f4d24cae17 (diff)
downloadFreeBSD-ports-a6467b3cb374218887e7bcce158e18e51eeefa66.zip
FreeBSD-ports-a6467b3cb374218887e7bcce158e18e51eeefa66.tar.gz
- Support USE_GETOPT_LONG
PR: ports/65086 Submitted by: Ports Fury
Diffstat (limited to 'graphics/qcread')
-rw-r--r--graphics/qcread/Makefile7
-rw-r--r--graphics/qcread/files/patch-aa26
2 files changed, 5 insertions, 28 deletions
diff --git a/graphics/qcread/Makefile b/graphics/qcread/Makefile
index 75ed227f..f01d15e 100644
--- a/graphics/qcread/Makefile
+++ b/graphics/qcread/Makefile
@@ -7,6 +7,7 @@
PORTNAME= qcread
PORTVERSION= 0.3
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://www.fhttpd.org/pub/qcread/
@@ -15,9 +16,11 @@ COMMENT= Supports both color and B&W parallel-port Connectix QuickCam for PC
ONLY_FOR_ARCHS= i386
-post-extract:
+USE_GETOPT_LONG= yes
- @${CP} -r ${WRKSRC}/gnu-getopt/. ${WRKSRC}
+do-build:
+ cd ${WRKSRC} && ${CC} ${CFLAGS} -I. -DFreeBSD ${CPPFLAGS} \
+ -o qcread qcread.c cqc.c -lm ${LDFLAGS}
do-install:
${INSTALL} ${COPY} -o root -g wheel -m 644 ${WRKSRC}/qcam.conf ${PREFIX}/etc/qcam.conf.dist
diff --git a/graphics/qcread/files/patch-aa b/graphics/qcread/files/patch-aa
deleted file mode 100644
index 44da6f4..0000000
--- a/graphics/qcread/files/patch-aa
+++ /dev/null
@@ -1,26 +0,0 @@
---- Makefile.old Sun Aug 23 21:51:14 1998
-+++ Makefile Sun Aug 23 21:53:23 1998
-@@ -9,17 +9,17 @@
-
- # for Linux
- #
--CFLAGS = -O -DLinux
--INCLUDES = cqc.h
--OBJS = cqc.o
-+#CFLAGS = -O -DLinux
-+#INCLUDES = cqc.h
-+#OBJS = cqc.o
- #
- # end Linux options
-
- ## for FreeBSD
- ##
--#CFLAGS = -g -O -Ignu-getopt -DFreeBSD
--#INCLUDES = cqc.h gnu-getopt/getopt.h
--#OBJS = cqc.o gnu-getopt/getopt.o gnu-getopt/getopt1.o
-+CFLAGS+= -I. -DFreeBSD
-+INCLUDES = cqc.h getopt.h
-+OBJS = cqc.o getopt.o getopt1.o
- ##
- ## end FreeBSD options
-
OpenPOWER on IntegriCloud