aboutsummaryrefslogtreecommitdiffstats
path: root/audio/abcde
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2003-08-07 17:30:07 +0800
committerosa <osa@FreeBSD.org>2003-08-07 17:30:07 +0800
commit1e2ba88dcf52d93cec3d90d54970eb99041ab451 (patch)
tree3d3bf40fd3c373d64e57bbe4790944ad0fe20abf /audio/abcde
parent15c7293afbad146d099be3e03e93c835bcd135c0 (diff)
downloadfreebsd-ports-gnome-1e2ba88dcf52d93cec3d90d54970eb99041ab451.tar.gz
freebsd-ports-gnome-1e2ba88dcf52d93cec3d90d54970eb99041ab451.tar.zst
freebsd-ports-gnome-1e2ba88dcf52d93cec3d90d54970eb99041ab451.zip
Fix path (from /etc to ${PREFIX}/etc) for tool and manpage.
Original idea: Bjoern A. Zeeb <bzeeb+freebsdports@zabbadoz.net> Patch from: osa Approved by: Munish Chopra <chopra@soulwax.net> (maintainer) PR: 54671
Diffstat (limited to 'audio/abcde')
-rw-r--r--audio/abcde/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/audio/abcde/Makefile b/audio/abcde/Makefile
index db1ab415a8f9..4eca8000a38b 100644
--- a/audio/abcde/Makefile
+++ b/audio/abcde/Makefile
@@ -21,6 +21,7 @@ RUN_DEPENDS= cd-discid:${PORTSDIR}/audio/cd-discid \
normalize:${PORTSDIR}/audio/normalize \
oggenc:${PORTSDIR}/audio/vorbis-tools
+USE_REINPLACE= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAN1= abcde.1 cddb-tool.1
@@ -67,6 +68,12 @@ pre-fetch:
@${ECHO_MSG} ""
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's#/etc/#${PREFIX}/etc/#g' \
+ ${WRKSRC}/abcde.1
+ @${REINPLACE_CMD} -e 's#/etc/#${PREFIX}/etc/#g' \
+ ${WRKSRC}/abcde
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/abcde ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/cddb-tool ${PREFIX}/bin