diff options
author | ache <ache@FreeBSD.org> | 1994-11-11 01:28:47 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1994-11-11 01:28:47 +0800 |
commit | 8f2f4ab4f956d10104681661162e83b028d694b3 (patch) | |
tree | 87344955a11dba7762bcd1414d2667a4d4092db8 /news/nn/Makefile | |
parent | cfab0c5f60c6c1dff9b103d609ea18c1275e78b1 (diff) | |
download | freebsd-ports-gnome-8f2f4ab4f956d10104681661162e83b028d694b3.tar.gz freebsd-ports-gnome-8f2f4ab4f956d10104681661162e83b028d694b3.tar.zst freebsd-ports-gnome-8f2f4ab4f956d10104681661162e83b028d694b3.zip |
Build/install mini-inews version, if no news subsystem present(client mode)
Use network installation by default
Diffstat (limited to 'news/nn/Makefile')
-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 5996341cbc69..7a51dba08feb 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> |