Date: Fri, 14 Jul 2000 09:33:56 -0700 (PDT) From: tkato@prontomail.ne.jp To: freebsd-gnats-submit@FreeBSD.org Subject: ports/19923: Update port: audio/grip Message-ID: <20000714163356.68FB337C20B@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 19923 >Category: ports >Synopsis: Update port: audio/grip >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 Jul 14 09:40:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.0-RELEASE i386 >Organization: >Environment: >Description: - Use GTK_CONFIG instead of hardcoded gtk12-config - Support CFLAGS properly - Support NOPORTDOCS >How-To-Repeat: >Fix: diff -urN /usr/ports/audio/grip/Makefile audio/grip/Makefile --- /usr/ports/audio/grip/Makefile Mon Jul 10 12:09:49 2000 +++ audio/grip/Makefile Tue Jul 11 03:28:40 2000 @@ -11,14 +11,28 @@ MASTER_SITES= http://www.nostatic.org/grip/ EXTRACT_SUFX= .tgz -MAINTAINER= ports@freebsd.org +MAINTAINER= ports@FreeBSD.org LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 +GTK_CONFIG?= ${X11BASE}/bin/gtk12-config + USE_GMAKE= yes -ALL_TARGET= gripnopar +MAKE_ENV= GTK_CONFIG="${GTK_CONFIG}" +ALL_TARGET= gripnopar gcd + +MAN1= grip.1 +MLINKS= grip.1 gcd.1 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/grip ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/gcd ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/grip.1 ${PREFIX}/man/man1 +.if !defined(NOPORTDOCS) +.for file in CHANGES CREDITS README TODO + @${MKDIR} ${PREFIX}/share/doc/grip + ${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/share/doc/grip +.endfor +.endif .include <bsd.port.mk> diff -urN /usr/ports/audio/grip/patches/patch-aa audio/grip/patches/patch-aa --- /usr/ports/audio/grip/patches/patch-aa Mon Jul 10 12:09:54 2000 +++ audio/grip/patches/patch-aa Tue Jul 11 03:58:50 2000 @@ -1,5 +1,5 @@ ---- Makefile.orig Tue Apr 18 08:37:44 2000 -+++ Makefile Fri May 5 23:55:16 2000 +--- Makefile.orig Wed Apr 19 00:37:44 2000 ++++ Makefile Tue Jul 11 03:58:32 2000 @@ -4,24 +4,24 @@ OS=$(shell uname -s) @@ -16,26 +16,18 @@ # Location to store auxilliary files -AUXDIR= $(PREFIX)/lib/grip -+AUXDIR= $(PREFIX)/lib ++AUXDIR= $(PREFIX)/etc # Compiler flags -CFLAGS= -Wall `gtk-config --cflags` -DAUXDIR=\"$(AUXDIR)\" \ -+CFLAGS= -Wall `gtk12-config --cflags` -DAUXDIR=\"$(AUXDIR)\" \ - -DINSTALLDIR=\"$(INSTALLDIR)\" -D_REENTRANT +- -DINSTALLDIR=\"$(INSTALLDIR)\" -D_REENTRANT ++CFLAGS+= `$(GTK_CONFIG) --cflags` -DAUXDIR=\"$(AUXDIR)\" \ ++ -DINSTALLDIR=\"$(INSTALLDIR)\" -D_REENTRANT -D_THREAD_SAFE # Link libraries -LIBS= `gtk-config --libs` -+LIBS= `gtk12-config --libs` ++LIBS= `$(GTK_CONFIG) --libs` ifeq ($(OS), Linux) LIBS+= -lpthread endif -@@ -34,7 +34,7 @@ - # This is needed for "make install" - OWNER = root - GROUP = root --INSTALL = /usr/bin/install -o $(OWNER) -g $(GROUP) -+INSTALL ?= /usr/bin/install -o $(OWNER) -g $(GROUP) - - - # ----------- You shouldn't need to make changes below here. ------------- diff -urN /usr/ports/audio/grip/pkg/PLIST audio/grip/pkg/PLIST --- /usr/ports/audio/grip/pkg/PLIST Mon Jul 10 12:09:55 2000 +++ audio/grip/pkg/PLIST Tue Jul 11 03:28:18 2000 @@ -1 +1,7 @@ +bin/gcd bin/grip +share/doc/grip/CHANGES +share/doc/grip/CREDITS +share/doc/grip/README +share/doc/grip/TODO +@dirrm share/doc/grip >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000714163356.68FB337C20B>