From owner-freebsd-ports Fri Jun 16 17:20:19 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 0076037B77F for ; Fri, 16 Jun 2000 17:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA62131; Fri, 16 Jun 2000 17:20:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id BE7AA37C2C2; Fri, 16 Jun 2000 17:13:24 -0700 (PDT) Message-Id: <20000617001324.BE7AA37C2C2@hub.freebsd.org> Date: Fri, 16 Jun 2000 17:13:24 -0700 (PDT) From: tkato@prontomail.ne.jp To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/19342: Update port: graphics/dc20ctrl Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 19342 >Category: ports >Synopsis: Update port: graphics/dc20ctrl >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jun 16 17:20:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.0-RELEASE i386 >Organization: >Environment: >Description: - MAKE_FLAGS -> MAKE_ARGS - Support CC/PREFIX/LOCALBASE properly - Add WWW: line into pkg/DESCR >How-To-Repeat: >Fix: diff -urN /usr/ports/graphics/dc20ctrl/Makefile graphics/dc20ctrl/Makefile --- /usr/ports/graphics/dc20ctrl/Makefile Tue Jun 13 05:30:58 2000 +++ graphics/dc20ctrl/Makefile Wed Jun 14 19:26:55 2000 @@ -8,15 +8,14 @@ PORTNAME= dc20ctrl PORTVERSION= 0.4 CATEGORIES= graphics -MASTER_SITES= http://aguirre.dsi.unifi.it/~paterno/binaries/ +MASTER_SITES= http://www.paternostro.org/~ugo/binaries/ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ tiff.4:${PORTSDIR}/graphics/tiff \ png.3:${PORTSDIR}/graphics/png -MAKE_FLAGS= -DUSE_JPEG -DUSE_TIFF -DUSE_PNG +MAKE_ARGS= -DUSE_JPEG -DUSE_TIFF -DUSE_PNG MAN1= dc20ctrl.1 -MANCOMPRESSED= yes .include diff -urN /usr/ports/graphics/dc20ctrl/patches/patch-aa graphics/dc20ctrl/patches/patch-aa --- /usr/ports/graphics/dc20ctrl/patches/patch-aa Tue Dec 22 11:19:18 1998 +++ graphics/dc20ctrl/patches/patch-aa Wed Jun 14 19:38:48 2000 @@ -1,5 +1,23 @@ ---- Makefile.orig Mon Dec 21 21:09:06 1998 -+++ Makefile Mon Dec 21 21:09:19 1998 +--- Makefile.orig Wed Feb 18 19:30:56 1998 ++++ Makefile Wed Jun 14 19:38:36 2000 +@@ -50,7 +50,7 @@ + # + # How to install the package. + # +-INSTALL=/usr/bin/install ++INSTALL?=/usr/bin/install + # + # Under FreeBSD we need to make it SGID to dialer, that is the serial port + # owner. +@@ -60,7 +60,7 @@ + # + # Where to install it. + # +-ROOTDIR=/usr/local ++ROOTDIR=${PREFIX} + BINDIR=${ROOTDIR}/bin + MANDIR=${ROOTDIR}/man + @@ -79,7 +79,7 @@ # # Used only if you make the project with USE_TIFF defined. @@ -9,3 +27,37 @@ # # Used only if you make the project with USE_PNG defined. +@@ -91,8 +91,8 @@ + # make the project with at least one between USE_JPEG, USE_TIFF and USE_PNG + # defined. + # +-EXTRA_LIBS_PATH=-L/usr/local/lib +-EXTRA_INCLUDES_PATH=-I/usr/local/include ++EXTRA_LIBS_PATH=-L${LOCALBASE}/lib ++EXTRA_INCLUDES_PATH=-I${LOCALBASE}/include + + # + # Do not change anything below this line +@@ -151,11 +151,10 @@ + install: install.bin install.man + + install.bin: $(PROJECT) +- ${INSTALL} -c -g ${INSTALL_GROUP} -m ${INSTALL_MODE} ${PROJECT} ${BINDIR} ++ ${INSTALL} -c -o ${BINOWN} -g ${INSTALL_GROUP} -m ${INSTALL_MODE} ${PROJECT} ${BINDIR} + + install.man: +- ${INSTALL} -c ${PROJECT}.man ${MANDIR}/man1/${PROJECT}.1 +- gzip --best ${MANDIR}/man1/${PROJECT}.1 ++ ${INSTALL} -c -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} ${PROJECT}.man ${MANDIR}/man1/${PROJECT}.1 + + man: ${PROJECT}.1 + +@@ -163,7 +162,7 @@ + nroff -man ${PROJECT}.man >${PROJECT}.1 + + $(PROJECT): $(OBJ) +- cc -o $@ $(OBJ) $(LFLAGS) $(LIBS) ++ ${CC} -o $@ $(OBJ) $(LFLAGS) $(LIBS) + + clean: + rm -f $(OBJ) $(PROJECT) core $(PROJECT).core *.bak a.out .depend $(PROJECT)-${VERSION}.${REVISION}.tar.gz diff -urN /usr/ports/graphics/dc20ctrl/pkg/DESCR graphics/dc20ctrl/pkg/DESCR --- /usr/ports/graphics/dc20ctrl/pkg/DESCR Tue Dec 22 11:19:18 1998 +++ graphics/dc20ctrl/pkg/DESCR Wed Jun 14 19:08:09 2000 @@ -4,3 +4,5 @@ pictures (in raw, pgm or ppm format, and eventually others: it depends on compilation-time options), erasing the camera memory and changing its resolution. + +WWW: http://www.paternostro.org/~ugo/English/dc20.html >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message