diff options
author | fjoe <fjoe@FreeBSD.org> | 2003-04-30 20:15:55 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2003-04-30 20:15:55 +0800 |
commit | 0499382ca09fde71340f74c20fea703415b0f2c2 (patch) | |
tree | 161f4d27cecf9e533134de0c1d0c89e077c7368b | |
parent | a61788c82d617c08402811b85d1e905cd8ba69f9 (diff) | |
download | freebsd-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
-rw-r--r-- | www/middleman/Makefile | 3 | ||||
-rw-r--r-- | www/middleman/files/patch-aa | 14 |
2 files changed, 3 insertions, 14 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 diff --git a/www/middleman/files/patch-aa b/www/middleman/files/patch-aa deleted file mode 100644 index 0efef10d0024..000000000000 --- a/www/middleman/files/patch-aa +++ /dev/null @@ -1,14 +0,0 @@ ---- scripts/mman.init.orig Sun Apr 27 18:38:32 2003 -+++ scripts/mman.init Sun Apr 27 18:38:54 2003 -@@ -1,9 +1,9 @@ - #!/bin/sh - --PROGRAM=/usr/bin/mman -+PROGRAM=/usr/local/bin/mman - PIDFILE=/var/run/mman.pid - LOGFILE=/var/log/mman.log --CONFIG=/etc/mman/config.xml -+CONFIG=/usr/local/etc/mman.xml - LOGLEVEL=2047 - case "$1" in - start|--start) |