diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-06-23 21:44:03 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-06-23 21:44:03 +0800 |
commit | 75802943a41a8d04904b4f8f73577c1e1f41bd19 (patch) | |
tree | cdb15359f6b17edd36ab0ef3a40572e8e1afb2d9 /audio/snowstar/Makefile | |
parent | 8ec81ff63c63edeff820bab082cf56a6e9155929 (diff) | |
download | freebsd-ports-gnome-75802943a41a8d04904b4f8f73577c1e1f41bd19.tar.gz freebsd-ports-gnome-75802943a41a8d04904b4f8f73577c1e1f41bd19.tar.zst freebsd-ports-gnome-75802943a41a8d04904b4f8f73577c1e1f41bd19.zip |
- Support LOCALBASE properly (in setting path to custom wish script)
PR: 19470
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'audio/snowstar/Makefile')
-rw-r--r-- | audio/snowstar/Makefile | 8 |
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 |