diff options
author | James E. Housley <jeh@FreeBSD.org> | 2000-10-23 19:51:17 +0000 |
---|---|---|
committer | James E. Housley <jeh@FreeBSD.org> | 2000-10-23 19:51:17 +0000 |
commit | a175bb655833db3b3b30b74b7db1b8680f844322 (patch) | |
tree | 067e244a3302b88179b52804ecb4a23af76e630d /audio | |
parent | Detach the WITH_I18N knob and always configure for the int'lized (diff) |
Update to version 0.65
PR: 22246
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/grip/Makefile | 11 | ||||
-rw-r--r-- | audio/grip/distinfo | 2 | ||||
-rw-r--r-- | audio/grip/files/patch-aa | 13 | ||||
-rw-r--r-- | audio/grip/files/patch-ad | 42 |
4 files changed, 42 insertions, 26 deletions
diff --git a/audio/grip/Makefile b/audio/grip/Makefile index cd6e9862c180..07c922d11dc7 100644 --- a/audio/grip/Makefile +++ b/audio/grip/Makefile @@ -6,7 +6,7 @@ # PORTNAME= grip -PORTVERSION= 2.94 +PORTVERSION= 2.95 CATEGORIES= audio MASTER_SITES= http://www.nostatic.org/grip/ EXTRACT_SUFX= .tgz @@ -21,14 +21,17 @@ ALL_TARGET= gripnopar gcd MAN1= grip.1 MLINKS= grip.1 gcd.1 +post-patch: + @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/*.c + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/grip ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/gcd ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/grip.1 ${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/grip.1 ${MANPREFIX}/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 +.for file in CHANGES CREDITS README TODO + ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/grip .endfor .endif diff --git a/audio/grip/distinfo b/audio/grip/distinfo index cc5ec7b8757c..1b05095686db 100644 --- a/audio/grip/distinfo +++ b/audio/grip/distinfo @@ -1 +1 @@ -MD5 (grip-2.94.tgz) = d963bd0dc3fac92aaa5df80db8a3a9fd +MD5 (grip-2.95.tgz) = fabf302f9f35708725415b2d1f7d3602 diff --git a/audio/grip/files/patch-aa b/audio/grip/files/patch-aa index 73832f4e2104..b02145a186e2 100644 --- a/audio/grip/files/patch-aa +++ b/audio/grip/files/patch-aa @@ -1,5 +1,5 @@ ---- Makefile.orig Wed Apr 19 00:37:44 2000 -+++ Makefile Tue Jul 11 03:58:32 2000 +--- Makefile.orig Thu Oct 19 04:12:53 2000 ++++ Makefile Fri Oct 20 20:33:10 2000 @@ -4,24 +4,24 @@ OS=$(shell uname -s) @@ -21,13 +21,12 @@ # Compiler flags -CFLAGS= -Wall `gtk-config --cflags` -DAUXDIR=\"$(AUXDIR)\" \ -- -DINSTALLDIR=\"$(INSTALLDIR)\" -D_REENTRANT -+CFLAGS+= `$(GTK_CONFIG) --cflags` -DAUXDIR=\"$(AUXDIR)\" \ -+ -DINSTALLDIR=\"$(INSTALLDIR)\" -D_REENTRANT -D_THREAD_SAFE ++CFLAGS+= `$(GTK_CONFIG) --cflags gthread` -DAUXDIR=\"$(AUXDIR)\" \ + -DINSTALLDIR=\"$(INSTALLDIR)\" -D_REENTRANT # Link libraries --LIBS= `gtk-config --libs` -+LIBS= `$(GTK_CONFIG) --libs` +-LIBS= `gtk-config --libs gthread` ++LIBS= `$(GTK_CONFIG) --libs gthread` ifeq ($(OS), Linux) LIBS+= -lpthread endif diff --git a/audio/grip/files/patch-ad b/audio/grip/files/patch-ad index 1f8e5382abbf..9fa8b797b681 100644 --- a/audio/grip/files/patch-ad +++ b/audio/grip/files/patch-ad @@ -1,15 +1,29 @@ ---- grip.c.orig Tue Apr 18 10:37:44 2000 -+++ grip.c Mon Sep 4 17:59:26 2000 -@@ -1279,6 +1279,12 @@ - CDStat(cd_desc,&info,FALSE); +--- grip.c.orig Thu Oct 19 04:12:53 2000 ++++ grip.c Fri Oct 20 20:55:01 2000 +@@ -314,7 +314,7 @@ + gboolean use_proxy=FALSE; + gboolean use_proxy_env=FALSE; - if(info.disc_present) { -+ /* FreeBSD CD ioctl CDIOREADTOCHEADER fails when old disk is ejected -+ * and a new disk one entered. Re-opening device fixes this. -+ */ -+ CDCloseDevice(cd_desc); -+ cd_desc = CDInitDevice(cddevice); -+ - CDStat(cd_desc,&info,TRUE); - - Debug("CDStat found a disc, checking tracks\n"); +-char *bin_search_paths[]={"/cpd/misc/bin","/usr/bin","/usr/local/bin",NULL}; ++char *bin_search_paths[]={"/cpd/misc/bin","/usr/bin","%%LOCALBASE%%/bin",NULL}; + Ripper ripper_defaults[]={ + #ifdef CDPAR + {"grip (cdparanoia)",""}, +@@ -327,7 +327,7 @@ + #endif + {"other",""}, + {"",""}}; +-char ripexename[256]="/usr/bin/cdparanoia"; ++char ripexename[256]="%%LOCALBASE%%/bin/cdparanoia"; + char ripcmdline[256]="-d %c %t:[.%b]-%t:[.%e] %f"; + int selected_ripper=0; + char outputdir[256]; +@@ -346,7 +346,7 @@ + gboolean disable_extra_paranoia=FALSE; + gboolean disable_scratch_detect=FALSE; + gboolean disable_scratch_repair=FALSE; +-char mp3exename[256]="/usr/bin/bladeenc"; ++char mp3exename[256]="%%LOCALBASE%%/bin/bladeenc"; + char mp3cmdline[256]="-%b -QUIT %f"; + int selected_encoder=1; + char mp3fileformat[256]="~/mp3/%a/%d/%n.mp3"; |