aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-08-27 02:42:25 +0800
committerkrion <krion@FreeBSD.org>2003-08-27 02:42:25 +0800
commitacaef58256bb72d3b83d866fb41fb7a4df0b221c (patch)
treec07f2a8628403d33ee808a28247a3ea224bbc018 /audio
parent9e574d02ee17ac270757336593a772bdad747fd6 (diff)
downloadfreebsd-ports-gnome-acaef58256bb72d3b83d866fb41fb7a4df0b221c.tar.gz
freebsd-ports-gnome-acaef58256bb72d3b83d866fb41fb7a4df0b221c.tar.zst
freebsd-ports-gnome-acaef58256bb72d3b83d866fb41fb7a4df0b221c.zip
- Fix *_DEPENDS
- Utilize INFO PR: 55997 Submitted by: Ports Fury
Diffstat (limited to 'audio')
-rw-r--r--audio/glame/Makefile33
-rw-r--r--audio/glame/pkg-plist9
2 files changed, 16 insertions, 26 deletions
diff --git a/audio/glame/Makefile b/audio/glame/Makefile
index 4e03094674c0..e38ef58e24c7 100644
--- a/audio/glame/Makefile
+++ b/audio/glame/Makefile
@@ -7,6 +7,7 @@
PORTNAME= glame
PORTVERSION= 1.0.1
+PORTREVISION= 1
CATEGORIES= audio gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -14,30 +15,28 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A powerful, fast, stable, and easily extensible sound editor for GNOME
-LIB_DEPENDS= ltdl.4:${PORTSDIR}/devel/libltdl
+BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
+LIB_DEPENDS= vorbis.2:${PORTSDIR}/audio/libvorbis \
+ ltdl.4:${PORTSDIR}/devel/libltdl
-USE_GNOME= gnomeprefix gnomehack libglade
USE_X_PREFIX= yes
+USE_GNOME= gnomehack gnomeprefix gnometarget libglade
USE_GMAKE= yes
USE_LIBTOOL= yes
-INSTALLS_SHLIB= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib -lltdl ${PTHREAD_LIBS}"
+ LDFLAGS="-L${LOCALBASE}/lib -lltdl ${PTHREAD_LIBS}" \
+ MAKEINFO="makeinfo --no-split"
+INSTALLS_SHLIB= yes
-.include <bsd.port.pre.mk>
+INFO= glame glame-dev
+
+post-extract:
+ @cd ${WRKSRC}/doc && ${RM} -f *.info*
post-patch:
- @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
- s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @find ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} -e \
+ @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
's|-lpthread|${PTHREAD_LIBS}|g'
- @find ${WRKSRC} -name "*.[ch]" | xargs ${REINPLACE_CMD} -e \
- 's|<values[.]h>|<limits.h>|'
-
-post-install:
- @install-info ${PREFIX}/info/glame.info \
- --section="Audio Processing" \
- --entry="* glame: (glame). audio processing tool for GNOME" \
- ${PREFIX}/info/dir
+ @${GREP} -lR "<values\.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|<values\.h>|<limits.h>|'
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/glame/pkg-plist b/audio/glame/pkg-plist
index ac3ef4e7652b..a35e355b1728 100644
--- a/audio/glame/pkg-plist
+++ b/audio/glame/pkg-plist
@@ -1,15 +1,6 @@
bin/cglame
bin/glame
bin/glame-convert.sh
-info/dir
-info/glame-dev.info
-info/glame-dev.info-1
-info/glame-dev.info-2
-info/glame-dev.info-3
-info/glame.info
-info/glame.info-1
-info/glame.info-2
-info/glame.info-3
lib/glame/audio_io_esd.so
lib/glame/audio_io_oss.so
lib/glame/debug.so