From owner-freebsd-ports Mon Jun 17 13:30:40 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8A92937B421 for ; Mon, 17 Jun 2002 13:30:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5HKU2j23443; Mon, 17 Jun 2002 13:30:02 -0700 (PDT) (envelope-from gnats) Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117]) by hub.freebsd.org (Postfix) with ESMTP id B926137B4A8 for ; Mon, 17 Jun 2002 13:21:51 -0700 (PDT) Received: from www.freebsd.org (localhost [127.0.0.1]) by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g5HKLphG061030 for ; Mon, 17 Jun 2002 13:21:51 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.2/8.12.2/Submit) id g5HKLpQI061029; Mon, 17 Jun 2002 13:21:51 -0700 (PDT) Message-Id: <200206172021.g5HKLpQI061029@www.freebsd.org> Date: Mon, 17 Jun 2002 13:21:51 -0700 (PDT) From: KATO Tsuguru To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/39433: Update port: graphics/pngquant Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 39433 >Category: ports >Synopsis: Update port: graphics/pngquant >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: Mon Jun 17 13:30:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.6-RELEASE i386 >Organization: >Environment: >Description: - Support CFLAGS/LOCALBASE properly Remove file: files/patch-aa >How-To-Repeat: >Fix: diff -urN /usr/ports/graphics/pngquant/Makefile graphics/pngquant/Makefile --- /usr/ports/graphics/pngquant/Makefile Fri Jun 14 19:36:07 2002 +++ graphics/pngquant/Makefile Fri Jun 14 20:14:38 2002 @@ -7,6 +7,7 @@ PORTNAME= pngquant PORTVERSION= 1.0 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://www.libpng.org/pub/png/src/ \ ftp://ftp.libpng.org/pub/png/src/ \ @@ -16,17 +17,20 @@ MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= png:${PORTSDIR}/graphics/png +LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png -MAKEFILE= Makefile.unx WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +MAKEFILE= Makefile.unx +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ + LDFLAGS="-lpng -lz -lm -L${LOCALBASE}/lib" + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pngquant ${PREFIX}/bin .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif .include diff -urN /usr/ports/graphics/pngquant/files/patch-aa graphics/pngquant/files/patch-aa --- /usr/ports/graphics/pngquant/files/patch-aa Wed Apr 3 01:52:20 2002 +++ graphics/pngquant/files/patch-aa Thu Jan 1 09:00:00 1970 @@ -1,22 +0,0 @@ ---- Makefile.unx.orig Fri Feb 8 17:55:47 2002 -+++ Makefile.unx Fri Feb 8 17:57:53 2002 -@@ -1,13 +1,14 @@ - # Makefile for pngquant - # GRR 20001222 - --CC=gcc -+CC?=gcc -+LD=$(CC) - --PNGINC = ../libpng --PNGLIB = ../libpng -+PNGINC = /usr/local/include -+PNGLIB = /usr/local/lib - --ZINC = ../zlib --ZLIB = ../zlib -+ZINC = /usr/include -+ZLIB = /usr/lib - - CFLAGS = -O3 -Wall -I. -I$(PNGINC) -I$(ZINC) - #LDFLAGS = -L$(PNGLIB) -lpng -L$(ZLIB) -lz -lm >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message