1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

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.).
This commit is contained in:
Satoshi Asami 1997-06-19 06:54:39 +00:00
parent a5120cef6b
commit 5c10f3b56c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=7006

View File

@ -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>