diff options
Diffstat (limited to 'audio/snack')
-rw-r--r-- | audio/snack/Makefile | 7 | ||||
-rw-r--r-- | audio/snack/distinfo | 2 | ||||
-rw-r--r-- | audio/snack/files/patch-Makefile.in | 9 | ||||
-rw-r--r-- | audio/snack/pkg-plist | 28 |
4 files changed, 28 insertions, 18 deletions
diff --git a/audio/snack/Makefile b/audio/snack/Makefile index 3c59152..dfbf154 100644 --- a/audio/snack/Makefile +++ b/audio/snack/Makefile @@ -7,7 +7,7 @@ # PORTNAME= snack -PORTVERSION= 2.2 +PORTVERSION= 2.2.2 CATEGORIES= audio tcl83 tk83 MASTER_SITES= http://www.speech.kth.se/~kare/ DISTNAME= ${PORTNAME}${PORTVERSION} @@ -24,7 +24,7 @@ CONFIGURE_ARGS= --with-tcl=${LOCALBASE}/lib/tcl8.3 \ --with-tk=${LOCALBASE}/lib/tk8.3 \ --prefix=${PREFIX} -PLIST_SUB= SNACK_VER=${PORTVERSION} +PLIST_SUB= SNACK_VER=2.2 .if defined(WITH_VORBIS) LIB_DEPENDS+= vorbis.2:${PORTSDIR}/audio/libvorbis @@ -44,7 +44,8 @@ pre-everything:: .endif post-patch: - @${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g" \ + -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/Makefile.in .if !defined(NOPORTDOCS) post-install: diff --git a/audio/snack/distinfo b/audio/snack/distinfo index bf30c86..b1144c1 100644 --- a/audio/snack/distinfo +++ b/audio/snack/distinfo @@ -1 +1 @@ -MD5 (snack2.2.tar.gz) = 2762706060ab0d90ce97ca022259a2f0 +MD5 (snack2.2.2.tar.gz) = fb042afec8f593ff20592a22986bd091 diff --git a/audio/snack/files/patch-Makefile.in b/audio/snack/files/patch-Makefile.in index 697347c..2524891 100644 --- a/audio/snack/files/patch-Makefile.in +++ b/audio/snack/files/patch-Makefile.in @@ -12,4 +12,13 @@ +TK_INCPATH = %%LOCALBASE%%/include/tk8.3/generic # The path to the X11 include files + +@@ -12,7 +12,7 @@ + # Install SNACK package here + +-SNACK_INSTALL_PATH = @SNACK_INSTALL_PATH@ ++SNACK_INSTALL_PATH = %%PREFIX%%/lib + SNACK_HINSTALL_PATH = @SNACK_HINSTALL_PATH@ + + # diff --git a/audio/snack/pkg-plist b/audio/snack/pkg-plist index 367fd1a..936be0a 100644 --- a/audio/snack/pkg-plist +++ b/audio/snack/pkg-plist @@ -5,17 +5,17 @@ lib/snack%%SNACK_VER%%/libsound.so lib/snack%%SNACK_VER%%/pkgIndex.tcl lib/snack%%SNACK_VER%%/snack.tcl @dirrm lib/snack%%SNACK_VER%% -%%PORTDOCS%%share/doc/snack/AddSubCmd.html -%%PORTDOCS%%share/doc/snack/Callback.html -%%PORTDOCS%%share/doc/snack/CreateFilter.html -%%PORTDOCS%%share/doc/snack/FileFormat.html -%%PORTDOCS%%share/doc/snack/SampConv.html -%%PORTDOCS%%share/doc/snack/SnackLib.html -%%PORTDOCS%%share/doc/snack/SoundData.html -%%PORTDOCS%%share/doc/snack/SoundObj.html -%%PORTDOCS%%share/doc/snack/SoundProp.html -%%PORTDOCS%%share/doc/snack/SoundSamp.html -%%PORTDOCS%%share/doc/snack/SphereFile.txt -%%PORTDOCS%%share/doc/snack/python-man.html -%%PORTDOCS%%share/doc/snack/tcl-man.html -%%PORTDOCS%%@dirrm share/doc/snack +%%PORTDOCS%%%%DOCSDIR%%/AddSubCmd.html +%%PORTDOCS%%%%DOCSDIR%%/Callback.html +%%PORTDOCS%%%%DOCSDIR%%/CreateFilter.html +%%PORTDOCS%%%%DOCSDIR%%/FileFormat.html +%%PORTDOCS%%%%DOCSDIR%%/SampConv.html +%%PORTDOCS%%%%DOCSDIR%%/SnackLib.html +%%PORTDOCS%%%%DOCSDIR%%/SoundData.html +%%PORTDOCS%%%%DOCSDIR%%/SoundObj.html +%%PORTDOCS%%%%DOCSDIR%%/SoundProp.html +%%PORTDOCS%%%%DOCSDIR%%/SoundSamp.html +%%PORTDOCS%%%%DOCSDIR%%/SphereFile.txt +%%PORTDOCS%%%%DOCSDIR%%/python-man.html +%%PORTDOCS%%%%DOCSDIR%%/tcl-man.html +%%PORTDOCS%%@dirrm %%DOCSDIR%% |