diff options
-rw-r--r-- | graphics/qcread/Makefile | 7 | ||||
-rw-r--r-- | graphics/qcread/files/patch-aa | 26 |
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 - |