diff options
author | asami <asami@FreeBSD.org> | 1995-07-02 20:40:13 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1995-07-02 20:40:13 +0800 |
commit | f1bd4a4193a65e14e78533f52074ed1b2d2fef1e (patch) | |
tree | 84f306c0fd803d7c00bff22ee18b0e6744687f72 /news/cnews | |
parent | 95f02149860d2e9006b196effd5f121ae4909c5e (diff) | |
download | freebsd-ports-gnome-f1bd4a4193a65e14e78533f52074ed1b2d2fef1e.tar.gz freebsd-ports-gnome-f1bd4a4193a65e14e78533f52074ed1b2d2fef1e.tar.zst freebsd-ports-gnome-f1bd4a4193a65e14e78533f52074ed1b2d2fef1e.zip |
To the do-install target:
(1) Add a "rm -f ${PREFIX}/bin/inews", install was failing when it tried
to overwrite an inews installed by a separate package (it su's first).
(2) Add "-c" to install lines of manpages.
Diffstat (limited to 'news/cnews')
-rw-r--r-- | news/cnews/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/news/cnews/Makefile b/news/cnews/Makefile index b2baa1d9b6af..24e038cd5355 100644 --- a/news/cnews/Makefile +++ b/news/cnews/Makefile @@ -3,7 +3,7 @@ # Date created: 28 September 1994 # Whom: adam # -# $Id: Makefile,v 1.9 1995/04/24 09:15:30 asami Exp $ +# $Id: Makefile,v 1.10 1995/04/24 09:21:52 asami Exp $ # DISTNAME= cnews @@ -21,6 +21,7 @@ NEWSLIB= ${PREFIX}/lib/news MANDIR= ${PREFIX}/man do-install: + rm -f ${PREFIX}/bin/inews cp ${WRKSRC}/libdbz/dbz.h ${PREFIX}/include cp ${WRKSRC}/libcnews.a ${PREFIX}/lib mkdir -p ${NEWSSPOOL} @@ -40,9 +41,9 @@ do-install: chown news.news ${NEWSBIN}/input/newsspool chmod 6755 ${NEWSBIN}/input/newsspool mkdir -p ${MANDIR}/man1 ${MANDIR}/man5 ${MANDIR}/man8 - install -o bin -g bin -m 444 ${WRKSRC}/man/*.1* ${MANDIR}/man1 - install -o bin -g bin -m 444 ${WRKSRC}/man/*.5* ${MANDIR}/man5 - install -o bin -g bin -m 444 ${WRKSRC}/man/*.8* ${MANDIR}/man8 + install -c -o bin -g bin -m 444 ${WRKSRC}/man/*.1* ${MANDIR}/man1 + install -c -o bin -g bin -m 444 ${WRKSRC}/man/*.5* ${MANDIR}/man5 + install -c -o bin -g bin -m 444 ${WRKSRC}/man/*.8* ${MANDIR}/man8 @echo "" @echo "!!!!!!!!" @echo "you MUST change the configuration of this news setup:" |