summaryrefslogtreecommitdiffstats
path: root/news/nn/Makefile
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1997-06-19 06:54:39 +0000
committerasami <asami@FreeBSD.org>1997-06-19 06:54:39 +0000
commitc2d7da8784a05b0f75da2105d12087ed1330eb8e (patch)
tree610093d21fc3988ae21b011a37c91d01bd2ebdd7 /news/nn/Makefile
parent9261fb2750260f477196dcc1bfb6eb98f0a7172f (diff)
downloadFreeBSD-ports-c2d7da8784a05b0f75da2105d12087ed1330eb8e.zip
FreeBSD-ports-c2d7da8784a05b0f75da2105d12087ed1330eb8e.tar.gz
Create ${PREFIX}/news first as the mkdir's in the source's Makefile
don't have the -p flag. While I'm here, replace stuff with macros (${PREFIX}, ${ECHO}, etc.).
Diffstat (limited to 'news/nn/Makefile')
-rw-r--r--news/nn/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/news/nn/Makefile b/news/nn/Makefile
index 01f2ef3..5e43f3b 100644
--- a/news/nn/Makefile
+++ b/news/nn/Makefile
@@ -3,7 +3,7 @@
# Date created: 24 September 1994
# Whom: adam
#
-# $Id: Makefile,v 1.11 1996/12/07 00:01:26 ache Exp $
+# $Id: Makefile,v 1.12 1997/04/12 09:54:00 ache Exp $
#
DISTNAME= nn-6.5.0.b3
@@ -17,16 +17,17 @@ MAN1= nn.1 nncheck.1 nngoback.1 nngrab.1 nngrep.1 nnpost.1 \
MAN8= nnmaster.8 nnspew.8
pre-patch:
- @cp ${WRKSRC}/config.h-dist ${WRKSRC}/config.h
+ @${CP} ${WRKSRC}/config.h-dist ${WRKSRC}/config.h
pre-build:
- @cp ${.CURDIR}/files/s-freebsd.h ${WRKSRC}/conf
+ @${CP} ${FILESDIR}/s-freebsd.h ${WRKSRC}/conf
pre-install:
- [ -r /usr/local/news/lib/inews ] || ( cd ${WRKSRC}/inews; ${MAKE} all )
- [ -r /usr/local/news/lib/inews ] || ( cd ${WRKSRC}/inews; ${MAKE} install )
+ ${MKDIR} ${PREFIX}/news
+ [ -r ${PREFIX}/news/lib/inews ] || ( cd ${WRKSRC}/inews; ${MAKE} all )
+ [ -r ${PREFIX}/news/lib/inews ] || ( cd ${WRKSRC}/inews; ${MAKE} install )
post-install:
- @echo Put your NNTP host into ${PREFIX}/etc/nntpserver file
+ @${ECHO} Put your NNTP host into ${PREFIX}/etc/nntpserver file
.include <bsd.port.mk>
OpenPOWER on IntegriCloud