aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/ccaudio2/Makefile8
-rw-r--r--audio/ccaudio2/distinfo6
-rw-r--r--audio/ccaudio2/pkg-plist23
3 files changed, 21 insertions, 16 deletions
diff --git a/audio/ccaudio2/Makefile b/audio/ccaudio2/Makefile
index 39c9eb55a901..c085ffff2518 100644
--- a/audio/ccaudio2/Makefile
+++ b/audio/ccaudio2/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= ccaudio2
-PORTVERSION= 0.9.14
+PORTVERSION= 1.0.0
CATEGORIES= audio
MASTER_SITES= http://www.gnutelephony.org/dist/tarballs/
@@ -18,14 +18,12 @@ LIB_DEPENDS= ccgnu2:${PORTSDIR}/devel/commoncpp
CONFLICTS= ccaudio-[0-9]*
USE_AUTOTOOLS= libtool:15
-USE_GNOME= gnometarget
+USE_GNOME= gnometarget gnomehack
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
MAN1= audiotool.1 tonetool.1
-post-patch:
- ${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
- ${WRKSRC}/Makefile.in
+PLIST_SUB+= CCVERSION=1.0
.include <bsd.port.mk>
diff --git a/audio/ccaudio2/distinfo b/audio/ccaudio2/distinfo
index 289fd6a40fea..1f0ca1d8a227 100644
--- a/audio/ccaudio2/distinfo
+++ b/audio/ccaudio2/distinfo
@@ -1,3 +1,3 @@
-MD5 (ccaudio2-0.9.14.tar.gz) = b64d0fba68aa516d8f8273a860fd7fc9
-SHA256 (ccaudio2-0.9.14.tar.gz) = abdb623caaf9dc8e54dfc9f78968243626252f0f68fc59118fdbdbc915fb4e91
-SIZE (ccaudio2-0.9.14.tar.gz) = 434330
+MD5 (ccaudio2-1.0.0.tar.gz) = 6e2691fd42925937517e7dfeab03e7d2
+SHA256 (ccaudio2-1.0.0.tar.gz) = e2009414dbf5ef70276597e8ec1a93d070e4d45e8e776c059d781d5f36f9662a
+SIZE (ccaudio2-1.0.0.tar.gz) = 428839
diff --git a/audio/ccaudio2/pkg-plist b/audio/ccaudio2/pkg-plist
index 518bf52fbed0..06cc6633cde2 100644
--- a/audio/ccaudio2/pkg-plist
+++ b/audio/ccaudio2/pkg-plist
@@ -1,14 +1,21 @@
+bin/audiotool
+bin/tonetool
include/cc++/audio2.h
-lib/ccaudio2-0.9/adpcm.codec
-lib/ccaudio2-0.9/g.711.codec
-lib/ccaudio2-0.9/oki.codec
-lib/libccaudio2-0.9.so
-lib/libccaudio2-0.9.so.0
+lib/ccaudio2-%%CCVERSION%%/adpcm.a
+lib/ccaudio2-%%CCVERSION%%/adpcm.la
+lib/ccaudio2-%%CCVERSION%%/adpcm.so
+lib/ccaudio2-%%CCVERSION%%/g711.a
+lib/ccaudio2-%%CCVERSION%%/g711.la
+lib/ccaudio2-%%CCVERSION%%/g711.so
+lib/ccaudio2-%%CCVERSION%%/oki.a
+lib/ccaudio2-%%CCVERSION%%/oki.la
+lib/ccaudio2-%%CCVERSION%%/oki.so
+lib/libccaudio2-%%CCVERSION%%.so
+lib/libccaudio2-%%CCVERSION%%.so.0
lib/libccaudio2.a
lib/libccaudio2.la
lib/libccaudio2.so
libdata/pkgconfig/libccaudio2.pc
-bin/audiotool
-bin/tonetool
@dirrmtry include/cc++
-@dirrm lib/ccaudio2-0.9
+@dirrm lib/ccaudio2-%%CCVERSION%%
+