aboutsummaryrefslogtreecommitdiffstats
path: root/www/middleman/Makefile
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2003-04-30 20:15:55 +0800
committerfjoe <fjoe@FreeBSD.org>2003-04-30 20:15:55 +0800
commit0499382ca09fde71340f74c20fea703415b0f2c2 (patch)
tree161f4d27cecf9e533134de0c1d0c89e077c7368b /www/middleman/Makefile
parenta61788c82d617c08402811b85d1e905cd8ba69f9 (diff)
downloadfreebsd-ports-gnome-0499382ca09fde71340f74c20fea703415b0f2c2.tar.gz
freebsd-ports-gnome-0499382ca09fde71340f74c20fea703415b0f2c2.tar.zst
freebsd-ports-gnome-0499382ca09fde71340f74c20fea703415b0f2c2.zip
Honor PREFIX when patching startup script
Submitted by: MAINTAINER
Diffstat (limited to 'www/middleman/Makefile')
-rw-r--r--www/middleman/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/middleman/Makefile b/www/middleman/Makefile
index 5798f0807886..9654f2462134 100644
--- a/www/middleman/Makefile
+++ b/www/middleman/Makefile
@@ -32,6 +32,9 @@ CONFIGURE_ARGS+= --enable-debug
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|/usr/bin/mman|${PREFIX}/bin/mman|g' \
+ -e 's|/etc/mman/config.xml|${PREFIX}/etc/mman.xml|g' \
+ ${WRKSRC}/scripts/mman.init
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mman ${PREFIX}/bin