Hi,

I noticed a bug in my ices port - the modules directory shouldn't point to ...share/examples/ices, but ...share/ices (IMO).


Moritz
This patch fixes the playlist module directory - instead of looking in
share/examples/ices for custom playlist modules, ices now looks in share/ices.
The configuration example stays in share/examples/ices, while the playlist
module examples moved to the module directory as well (to make it more clear
where modules belong)


Index: Makefile
===================================================================
RCS file: /cvs/ports/net/ices/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile    21 May 2005 13:46:44 -0000      1.6
+++ Makefile    18 Jun 2005 16:17:08 -0000
@@ -3,6 +3,7 @@
 COMMENT=       "icecast source for streaming MP3"
 
 DISTNAME=      ices-0.4
+PKGNAME=       ${DISTNAME}p0
 CATEGORIES=    net audio
 
 HOMEPAGE=      http://www.icecast.org/
@@ -21,7 +22,7 @@
 AUTOCONF_VERSION=2.59
 CONFIGURE_STYLE=gnu autoconf
 CONFIGURE_ARGS=        --with-docdir=${LOCALBASE}/share/doc/ices \
-               --with-moddir=${LOCALBASE}/share/examples/ices \
+               --with-moddir=${LOCALBASE}/share/ices \
                --with-lame=${LOCALBASE} --with-vorbis=${LOCALBASE} \
                --with-flac=${LOCALBASE}
 
@@ -52,6 +53,7 @@
 SEPARATE_BUILD=        simple
 
 post-install:
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ices
        ${INSTALL_DATA} ${WRKINST}/${SYSCONFDIR}/ices.conf.dist \
                ${PREFIX}/share/examples/ices/
 
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/net/ices/pkg/PLIST,v
retrieving revision 1.5
diff -u -r1.5 PLIST
--- pkg/PLIST   21 May 2005 13:46:44 -0000      1.5
+++ pkg/PLIST   18 Jun 2005 16:17:08 -0000
@@ -10,5 +10,6 @@
 @mode 660
 @sample ${SYSCONFDIR}/ices.conf
 @mode
-share/examples/ices/ices.pm.dist
-share/examples/ices/ices.py.dist
+share/ices/
+share/ices/ices.pm.dist
+share/ices/ices.py.dist

Reply via email to