aboutsummaryrefslogtreecommitdiffstats
path: root/www/gn
diff options
context:
space:
mode:
authoradam <adam@FreeBSD.org>1996-02-09 17:42:10 +0800
committeradam <adam@FreeBSD.org>1996-02-09 17:42:10 +0800
commit0430e58417cb1ffb50382ab1acd8ba038a2f04f5 (patch)
tree8ff9b44b9f6962fdfe78f0996392a27c78e2bc79 /www/gn
parent7dcc7415bf273cccf947b268e66870217d5dde67 (diff)
downloadfreebsd-ports-gnome-0430e58417cb1ffb50382ab1acd8ba038a2f04f5.tar.gz
freebsd-ports-gnome-0430e58417cb1ffb50382ab1acd8ba038a2f04f5.tar.zst
freebsd-ports-gnome-0430e58417cb1ffb50382ab1acd8ba038a2f04f5.zip
version 2.24
Diffstat (limited to 'www/gn')
-rw-r--r--www/gn/Makefile28
-rw-r--r--www/gn/distinfo2
2 files changed, 13 insertions, 17 deletions
diff --git a/www/gn/Makefile b/www/gn/Makefile
index 6e2e577d8268..b16de12f85ad 100644
--- a/www/gn/Makefile
+++ b/www/gn/Makefile
@@ -1,12 +1,12 @@
# New ports collection makefile for: gn
-# Version required: 2.17
+# Version required: 2.24
# Date created: 20 Sep 1994
# Whom: adam
#
-# $Id: Makefile,v 1.11 1995/10/20 09:14:12 adam Exp $
+# $Id: Makefile,v 1.12 1995/11/27 04:10:23 asami Exp $
#
-DISTNAME= gn-2.23
+DISTNAME= gn-2.24
CATEGORIES+= www net
MASTER_SITES= ftp://ftp.acns.nwu.edu/pub/gn/
@@ -36,24 +36,20 @@ pre-install:
.if defined(YES_INSTALL)
post-install:
@cd ${PREFIX}; \
- if [ -s etc/gn_mime.types ]; then \
- cmp -s etc/gn_mime.types ${WRKSRC}/etc/gn_mime.types || { \
- echo Aborting install due to ${PREFIX}/etc/gn_mime.types; \
- exit 0; \
- }; \
+ [ -s etc/gn_mime.types ] && \
+ if ! cmp -s etc/gn_mime.types ${WRKSRC}/etc/gn_mime.types; then \
+ echo mv etc/gn_mime.types etc/gn_mime.types.old; \
+ mv etc/gn_mime.types etc/gn_mime.types.old; \
fi; \
- if [ -s gnroot/menu ]; then \
- cmp -s gnroot/menu ${WRKSRC}/gnroot/menu || { \
- echo Aborting install due to ${PREFIX}/gnroot/menu; \
- exit 0; \
- }; \
+ [ -s gnroot/menu ] && \
+ if ! cmp -s gnroot/menu ${WRKSRC}/gnroot/menu; then \
+ echo mv gnroot/menu gnroot/menu.old; \
+ mv gnroot/menu gnroot/menu.old; \
fi; \
tar -cf - -C ${WRKSRC} gnroot libexec bin etc | tar xpf - && \
(cd gnroot; ${WRKSRC}/bin/mkcache -r); \
awk '$$1 == "gopher" { exit 1 }' ${INETD_CONF} || { \
- echo gopher${CONF} >>${INETD_CONF}; \
- kill -HUP \
- `ps ax | awk '$$5 == "inetd" { print $$1 }'`; \
+ echo gopher${CONF} >>${INETD_CONF}
}
.endif
diff --git a/www/gn/distinfo b/www/gn/distinfo
index fad24468c307..09853baadf6c 100644
--- a/www/gn/distinfo
+++ b/www/gn/distinfo
@@ -1 +1 @@
-MD5 (gn-2.23.tar.gz) = 2c201014d2dd71729e11609a876dd86f
+MD5 (gn-2.24.tar.gz) = 50c73b0344f2568b8468ba965088cfd2