diff options
author | adam <adam@FreeBSD.org> | 1997-09-17 13:14:37 +0800 |
---|---|---|
committer | adam <adam@FreeBSD.org> | 1997-09-17 13:14:37 +0800 |
commit | bbd633f0d4aa16ab348b43c4c11e5776b025550c (patch) | |
tree | c3e07fa9aeb975af6448105816d919fd53be7ae9 /www/wn | |
parent | 84f22bef109fc921c65db25764e24b7ede5b617d (diff) | |
download | freebsd-ports-gnome-bbd633f0d4aa16ab348b43c4c11e5776b025550c.tar.gz freebsd-ports-gnome-bbd633f0d4aa16ab348b43c4c11e5776b025550c.tar.zst freebsd-ports-gnome-bbd633f0d4aa16ab348b43c4c11e5776b025550c.zip |
forgot this
Diffstat (limited to 'www/wn')
-rw-r--r-- | www/wn/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/www/wn/Makefile b/www/wn/Makefile index a05705916fa7..e9ecf3e68585 100644 --- a/www/wn/Makefile +++ b/www/wn/Makefile @@ -3,7 +3,7 @@ # Date created: 4 May 1995 # Whom: adam # -# $Id: Makefile,v 1.22 1997/09/07 17:24:44 adam Exp $ +# $Id: Makefile,v 1.23 1997/09/17 04:51:19 adam Exp $ # DISTNAME= wn-1.18.3 @@ -28,15 +28,18 @@ post-install: @install -c -o bin -g bin ${WRKSRC}/bin/mkwnpasswd ${PREFIX}/wn/bin @install -c -o bin -g bin ${WRKSRC}/bin/authwn ${PREFIX}/wn/bin @if [ -s ${PREFIX}/etc/wn_mime.types ]; then \ - cmp -s ${PREFIX}/etc/wn_mime.types ${WRKSRC}/lib/mime.types || \ - echo Warning: new ${PREFIX}/etc/wn_mime.types not installed; \ + cmp -s ${PREFIX}/etc/wn_mime.types ${WRKSRC}/lib/mime.types || { \ + echo Warning: new mime.types installed as ${PREFIX}/etc/wn_mime.types-dist; \ + install -c -o bin -g bin -m 644 ${WRKSRC}/lib/mime.types \ + ${PREFIX}/etc/wn_mime.types-dist; } \ else \ install -c -o bin -g bin -m 644 ${WRKSRC}/lib/mime.types \ ${PREFIX}/etc/wn_mime.types; \ fi @if [ -s ${PREFIX}/wn/index ]; then \ - cmp -s ${PREFIX}/wn/index ${WRKDIR}/index || \ - echo Warning: new ${PREFIX}/wn/index not installed; \ + cmp -s ${PREFIX}/wn/index ${WRKDIR}/index || { \ + echo Warning: new index installed as ${PREFIX}/wn/index-dist; \ + install -c -o bin -g bin -m 644 ${WRKDIR}/index ${PREFIX}/wn/index-dist; } \ else \ install -c -o bin -g bin -m 644 ${WRKDIR}/index ${PREFIX}/wn; \ fi |