diff options
author | Michael Haro <mharo@FreeBSD.org> | 1999-06-26 22:58:41 +0000 |
---|---|---|
committer | Michael Haro <mharo@FreeBSD.org> | 1999-06-26 22:58:41 +0000 |
commit | a34a75aba7589ca9e13652c92055b0ac4c6a459b (patch) | |
tree | 25354c590af0fa89f6613e0416f276394ff725e9 /net | |
parent | Add new categories irc, java and x11-servers. (diff) |
use ${PREFIX} and only require tcp_wrappers if it isn't part of the
base system.
Notes
Notes:
svn path=/head/; revision=19814
Diffstat (limited to 'net')
-rw-r--r-- | net/rwhois/Makefile | 6 | ||||
-rw-r--r-- | net/rwhoisd/Makefile | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/net/rwhois/Makefile b/net/rwhois/Makefile index 77fc35ae698e..827473d32be7 100644 --- a/net/rwhois/Makefile +++ b/net/rwhois/Makefile @@ -3,7 +3,7 @@ # Date created: May 9th 1997 # Whom: James FitzGibbon <jfitz@FreeBSD.org> # -# $Id: Makefile,v 1.4 1998/10/14 00:19:56 jseger Exp $ +# $Id: Makefile,v 1.5 1998/10/16 03:10:09 jseger Exp $ # DISTNAME= rwhois-1.0B9.2 @@ -13,7 +13,9 @@ MASTER_SITES= ftp://ftp.rwhois.net/pub/ MAINTAINER= jfitz@FreeBSD.ORG +.if !exists(/usr/include/tcpd.h) LIB_DEPENDS= wrap.7:${PORTSDIR}/security/tcp_wrapper +.endif HAS_CONFIGURE= YES CONFIGURE_ARGS= --prefix=${PREFIX}/lib/rwhois @@ -33,7 +35,7 @@ post-install: @ echo "# remove or comment the following line and uncomment the one below it once you have" >> ${PREFIX}/etc/rc.d/rwhoisd.sh @ echo "# configured your server's data" >> ${PREFIX}/etc/rc.d/rwhoisd.sh @ echo "echo \"rwhoisd not started; sample data still in place. See ${PREFIX}/share/doc/rwhois for details.\"" >> ${PREFIX}/etc/rc.d/rwhoisd.sh - @ echo "#[ -x /usr/local/lib/rwhois/sbin/rwhoisd ] && /usr/local/lib/rwhois/sbin/rwhoisd -c /usr/local/lib/rwhois/rwhois.conf & && echo -n ' rwhoisd'" >> ${PREFIX}/etc/rc.d/rwhoisd.sh + @ echo "#[ -x ${PREFIX}/lib/rwhois/sbin/rwhoisd ] && ${PREFIX}/lib/rwhois/sbin/rwhoisd -c ${PREFIX}/lib/rwhois/rwhois.conf & && echo -n ' rwhoisd'" >> ${PREFIX}/etc/rc.d/rwhoisd.sh chmod 751 ${PREFIX}/etc/rc.d/rwhoisd.sh .include <bsd.port.mk> diff --git a/net/rwhoisd/Makefile b/net/rwhoisd/Makefile index 77fc35ae698e..827473d32be7 100644 --- a/net/rwhoisd/Makefile +++ b/net/rwhoisd/Makefile @@ -3,7 +3,7 @@ # Date created: May 9th 1997 # Whom: James FitzGibbon <jfitz@FreeBSD.org> # -# $Id: Makefile,v 1.4 1998/10/14 00:19:56 jseger Exp $ +# $Id: Makefile,v 1.5 1998/10/16 03:10:09 jseger Exp $ # DISTNAME= rwhois-1.0B9.2 @@ -13,7 +13,9 @@ MASTER_SITES= ftp://ftp.rwhois.net/pub/ MAINTAINER= jfitz@FreeBSD.ORG +.if !exists(/usr/include/tcpd.h) LIB_DEPENDS= wrap.7:${PORTSDIR}/security/tcp_wrapper +.endif HAS_CONFIGURE= YES CONFIGURE_ARGS= --prefix=${PREFIX}/lib/rwhois @@ -33,7 +35,7 @@ post-install: @ echo "# remove or comment the following line and uncomment the one below it once you have" >> ${PREFIX}/etc/rc.d/rwhoisd.sh @ echo "# configured your server's data" >> ${PREFIX}/etc/rc.d/rwhoisd.sh @ echo "echo \"rwhoisd not started; sample data still in place. See ${PREFIX}/share/doc/rwhois for details.\"" >> ${PREFIX}/etc/rc.d/rwhoisd.sh - @ echo "#[ -x /usr/local/lib/rwhois/sbin/rwhoisd ] && /usr/local/lib/rwhois/sbin/rwhoisd -c /usr/local/lib/rwhois/rwhois.conf & && echo -n ' rwhoisd'" >> ${PREFIX}/etc/rc.d/rwhoisd.sh + @ echo "#[ -x ${PREFIX}/lib/rwhois/sbin/rwhoisd ] && ${PREFIX}/lib/rwhois/sbin/rwhoisd -c ${PREFIX}/lib/rwhois/rwhois.conf & && echo -n ' rwhoisd'" >> ${PREFIX}/etc/rc.d/rwhoisd.sh chmod 751 ${PREFIX}/etc/rc.d/rwhoisd.sh .include <bsd.port.mk> |