diff options
author | max <max@FreeBSD.org> | 1997-04-21 12:05:18 +0800 |
---|---|---|
committer | max <max@FreeBSD.org> | 1997-04-21 12:05:18 +0800 |
commit | 583493b6191221804439995c6a38652e2d6fc5b2 (patch) | |
tree | d422bc07b60848f46ee0a1b28e790e8393cb82f5 /mail | |
parent | b19d407f1e791f2c08403861af6dce0db778e0d1 (diff) | |
download | freebsd-ports-gnome-583493b6191221804439995c6a38652e2d6fc5b2.tar.gz freebsd-ports-gnome-583493b6191221804439995c6a38652e2d6fc5b2.tar.zst freebsd-ports-gnome-583493b6191221804439995c6a38652e2d6fc5b2.zip |
Moved a part of post-install to pkg/INSTALL.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/youbin/Makefile | 7 | ||||
-rw-r--r-- | mail/youbin/pkg-install | 10 |
2 files changed, 12 insertions, 5 deletions
diff --git a/mail/youbin/Makefile b/mail/youbin/Makefile index a65393625a2c..5c0bb3efca13 100644 --- a/mail/youbin/Makefile +++ b/mail/youbin/Makefile @@ -3,7 +3,7 @@ # Date created: 09 Aug 1996 # Whom: Masafumi NAKANE <max@FreeBSD.ORG> # -# $Id: Makefile,v 1.6 1996/10/09 12:50:54 max Exp $ +# $Id: Makefile,v 1.7 1996/11/10 21:32:56 obrien Exp $ # DISTNAME= youbin-2.13 @@ -31,9 +31,6 @@ post-install: echo "fi" >> ${STARTUP_SCRIPT} ; \ chmod 755 ${STARTUP_SCRIPT} ; \ fi - @-(grep -v ^# /etc/inetd.conf | grep comsat > /dev/null) && \ - (echo "Now you need to edit /etc/inetd.conf and comment out the" ;\ - echo "entry for comsat. Then, do:" ; \ - echo "kill -HUP `cat /var/run/inetd.pid`") + @/bin/sh ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL .include <bsd.port.mk> diff --git a/mail/youbin/pkg-install b/mail/youbin/pkg-install new file mode 100644 index 000000000000..649b7f3b895e --- /dev/null +++ b/mail/youbin/pkg-install @@ -0,0 +1,10 @@ +#!/bin/sh +if [ "$2" != "POST-INSTALL" ]; then exit 0; fi + +(grep -v ^# /etc/inetd.conf | grep comsat > /dev/null) || exit 0 + +echo "***********************************************************" +echo " Now you need to edit /etc/inetd.conf and comment out the" +echo " entry for comsat. Then, do:" +echo " kill -HUP `cat /var/run/inetd.pid`" +echo "***********************************************************" |