aboutsummaryrefslogtreecommitdiff
path: root/audio/snowstar/Makefile
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-06-23 13:44:03 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-06-23 13:44:03 +0000
commit40a33a607008465f53d5a6195b52da563743c5c1 (patch)
tree6746aa60a42ef4999ee47c9081c98f357098f148 /audio/snowstar/Makefile
parent08436d780099b5b9549d412fe146fb0733c19412 (diff)
downloadports-40a33a607008465f53d5a6195b52da563743c5c1.tar.gz
ports-40a33a607008465f53d5a6195b52da563743c5c1.zip
- Support LOCALBASE properly (in setting path to custom wish script)
PR: 19470 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Notes
Notes: svn path=/head/; revision=29809
Diffstat (limited to 'audio/snowstar/Makefile')
-rw-r--r--audio/snowstar/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/audio/snowstar/Makefile b/audio/snowstar/Makefile
index 1cfcb06725d6..864dafdcd425 100644
--- a/audio/snowstar/Makefile
+++ b/audio/snowstar/Makefile
@@ -18,12 +18,14 @@ RUN_DEPENDS= rio:${PORTSDIR}/audio/rio \
NO_BUILD= true
NO_WRKSUBDIR= true
+DOC_FILES= CHANGES TODO README_Snowstar LICENSE
+
# somehow snowstar.tcl managed to get loaded with ^M's.
post-extract:
- @${MV} ${WRKSRC}/snowstar.tcl ${WRKSRC}/snowstar.tcl.dist
- @${SED} -e 's/ $$//' ${WRKSRC}/snowstar.tcl.dist > ${WRKSRC}/snowstar.tcl
+ @${PERL} -pi -e "s|\r\n|\n|g" ${WRKSRC}/snowstar.tcl
-DOC_FILES= CHANGES TODO README_Snowstar LICENSE
+post-patch:
+ @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/snowstar.tcl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/snowstar.tcl ${PREFIX}/bin/snowstar