ports/56521: Update port: audio/grip

KATO Tsuguru tkato at prontomail.com
Sat Sep 6 15:00:50 UTC 2003


>Number:         56521
>Category:       ports
>Synopsis:       Update port: audio/grip
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 06 08:00:33 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Reaarange USE_GNOME
- Add optional cdparanoia support

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/grip/Makefile audio/grip/Makefile
--- /usr/ports/audio/grip/Makefile	Mon Jun  9 07:08:53 2003
+++ audio/grip/Makefile	Sat Sep  6 21:35:53 2003
@@ -7,7 +7,7 @@
 
 PORTNAME=	grip
 PORTVERSION=	3.0.7
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=grip
@@ -19,27 +19,23 @@
 		ghttp.1:${PORTSDIR}/www/libghttp
 
 USE_X_PREFIX=	yes
-
+USE_GNOME=	gnomehack gnomelibs gnomeprefix gnometarget
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-USE_GNOME=	gnomelibs
-
-CONFIGURE_ARGS+=	--datadir=${PREFIX}/share
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
+		LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
 
-CFLAGS+=	${PTHREAD_CFLAGS}
-LDFLAGS=	-L${LOCALBASE}/lib
-
-.if defined(WITH_DEBUG)
-CFLAGS+=	-g
-LDFLAGS+=	-g
+.if defined(WITH_CDPARANOIA)
+LIB_DEPENDS+=	cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia
+.else
+CONFIGURE_ARGS+=	--disable-cdpar
 .endif
-CONFIGURE_ENV+=	CFLAGS="${CFLAGS}"
-CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include"
-CONFIGURE_ENV+=	CXXFLAGS="${CXXFLAGS}"
-CONFIGURE_ENV+=	LDFLAGS="${LDFLAGS}"
-CONFIGURE_ENV+= LIBS=${PTHREAD_LIBS}
 
-post-install::
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|helpdir)/images|helpdir)|g' ${WRKSRC}/doc/C/Makefile.in
+
+post-install:
 	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
diff -urN /usr/ports/audio/grip/pkg-plist audio/grip/pkg-plist
--- /usr/ports/audio/grip/pkg-plist	Sat Apr 26 12:37:47 2003
+++ audio/grip/pkg-plist	Sat Sep  6 21:34:56 2003
@@ -71,6 +71,7 @@
 share/gnome/help/grip/C/trkedit.png
 share/gnome/help/grip/C/volume.png
 share/gnome/help/grip/C/x135.html
+share/gnome/pixmaps/gripicon.png
 share/locale/ca/LC_MESSAGES/grip.mo
 share/locale/de/LC_MESSAGES/grip.mo
 share/locale/es/LC_MESSAGES/grip.mo
@@ -81,34 +82,5 @@
 share/locale/zh_CN/LC_MESSAGES/grip.mo
 share/locale/zh_HK/LC_MESSAGES/grip.mo
 share/locale/zh_TW/LC_MESSAGES/grip.mo
-share/pixmaps/gripicon.png
- at exec /bin/mkdir -p %D/share/gnome/help/grip/C/images
- at unexec /bin/rmdir %D/share/gnome/help/grip/C/images || true
- at dirrm share/pixmaps
- at dirrm share/locale/zh_TW/LC_MESSAGES
- at dirrm share/locale/zh_TW
- at dirrm share/locale/zh_HK/LC_MESSAGES
- at dirrm share/locale/zh_HK
- at dirrm share/locale/zh_CN/LC_MESSAGES
- at dirrm share/locale/zh_CN
- at dirrm share/locale/ru/LC_MESSAGES
- at dirrm share/locale/ru
- at dirrm share/locale/pt_BR/LC_MESSAGES
- at dirrm share/locale/pt_BR
- at dirrm share/locale/ja/LC_MESSAGES
- at dirrm share/locale/ja
- at dirrm share/locale/fr/LC_MESSAGES
- at dirrm share/locale/fr
- at dirrm share/locale/es/LC_MESSAGES
- at dirrm share/locale/es
- at dirrm share/locale/de/LC_MESSAGES
- at dirrm share/locale/de
- at dirrm share/locale/ca/LC_MESSAGES
- at dirrm share/locale/ca
- at dirrm share/locale
 @dirrm share/gnome/help/grip/C
 @dirrm share/gnome/help/grip
- at dirrm share/gnome/help
- at dirrm share/gnome/apps/Multimedia
- at dirrm share/gnome/apps
- at dirrm share/gnome
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list