diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-05-16 18:08:40 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-05-16 18:08:40 +0000 |
commit | 31907917a73e3f42bf4e517e1649bf1a8e1efbd1 (patch) | |
tree | c3ffcc0b563c941381dc67d9bb1b433238d980ca /www/middleman | |
parent | 3fbe3275d7eec77fe791d98fdc971f5f1fb2b657 (diff) |
fix core dump
Reportted by: James Satterfield <james@uberduper.com>
Submitted by: maintainer (with little modification)
Notes
Notes:
svn path=/head/; revision=81116
Diffstat (limited to 'www/middleman')
-rw-r--r-- | www/middleman/Makefile | 4 | ||||
-rw-r--r-- | www/middleman/pkg-plist | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/www/middleman/Makefile b/www/middleman/Makefile index 0f2f40c48fab..212ca735b082 100644 --- a/www/middleman/Makefile +++ b/www/middleman/Makefile @@ -30,6 +30,9 @@ CONFIGURE_ARGS+= --enable-syslog CONFIGURE_ARGS+= --enable-debug .endif +MMAN_CACHE= /var/cache/mman +PLIST_SUB+= MMAN_CACHE=${MMAN_CACHE} + post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|/usr/bin/mman|${PREFIX}/bin/mman|g' \ @@ -37,6 +40,7 @@ post-patch: ${WRKSRC}/scripts/mman.init do-install: + @${MKDIR} ${MMAN_CACHE} ${INSTALL_PROGRAM} ${WRKSRC}/mman ${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/config.xml ${PREFIX}/etc/mman.xml ${INSTALL_DATA} ${WRKSRC}/scripts/mman.init ${PREFIX}/etc/rc.d/mman.sh.sample diff --git a/www/middleman/pkg-plist b/www/middleman/pkg-plist index b64b6cd0a1af..32c278df506f 100644 --- a/www/middleman/pkg-plist +++ b/www/middleman/pkg-plist @@ -4,3 +4,7 @@ etc/mman.xml %%PORTDOCS%%share/doc/middleman/README.html %%PORTDOCS%%share/doc/middleman/filter.pl @dirrm %%PORTDOCS%%share/doc/middleman +@cwd / +@exec mkdir -p %%MMAN_CACHE%% +@unexec rm -rf %%MMAN_CACHE%% +@dirrm /var/cache |