diff options
author | ache <ache@FreeBSD.org> | 1994-11-10 17:28:47 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1994-11-10 17:28:47 +0000 |
commit | 8f2f4ab4f956d10104681661162e83b028d694b3 (patch) | |
tree | 87344955a11dba7762bcd1414d2667a4d4092db8 | |
parent | cfab0c5f60c6c1dff9b103d609ea18c1275e78b1 (diff) | |
download | FreeBSD-ports-8f2f4ab4f956d10104681661162e83b028d694b3.zip FreeBSD-ports-8f2f4ab4f956d10104681661162e83b028d694b3.tar.gz |
Build/install mini-inews version, if no news subsystem present(client mode)
Use network installation by default
-rw-r--r-- | news/nn/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/news/nn/Makefile b/news/nn/Makefile index 5996341..7a51dba 100644 --- a/news/nn/Makefile +++ b/news/nn/Makefile @@ -3,7 +3,7 @@ # Date created: 24 September 1994 # Whom: adam # -# $Id$ +# $Id: Makefile,v 1.1.1.1 1994/10/02 19:27:48 adam Exp $ # DISTNAME= nn-6.5.0.b3 @@ -13,7 +13,10 @@ pre-configure: @cp ${WRKSRC}/config.h-dist ${WRKSRC}/config.h @cp ${WRKSRC}/conf/s-386bsd.h ${WRKSRC}/conf/s-freebsd.h -install: all - @cd ${WRKSRC}; ./inst s +pre-build: + [ -r /usr/local/lib/news/inews ] || ( cd ${WRKSRC}/inews; ${MAKE} all ) + +pre-install: + [ -r /usr/local/lib/news/inews ] || ( cd ${WRKSRC}/inews; ${MAKE} install ) .include <bsd.port.mk> |