diff options
author | asami <asami@FreeBSD.org> | 1997-06-19 14:54:39 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1997-06-19 14:54:39 +0800 |
commit | c2d7da8784a05b0f75da2105d12087ed1330eb8e (patch) | |
tree | 610093d21fc3988ae21b011a37c91d01bd2ebdd7 | |
parent | 9261fb2750260f477196dcc1bfb6eb98f0a7172f (diff) | |
download | freebsd-ports-gnome-c2d7da8784a05b0f75da2105d12087ed1330eb8e.tar.gz freebsd-ports-gnome-c2d7da8784a05b0f75da2105d12087ed1330eb8e.tar.zst freebsd-ports-gnome-c2d7da8784a05b0f75da2105d12087ed1330eb8e.zip |
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.).
-rw-r--r-- | news/nn/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/news/nn/Makefile b/news/nn/Makefile index 01f2ef3003a9..5e43f3bdb907 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> |