Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Dec 2013 07:39:14 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336877 - head/news/nntp
Message-ID:  <201312190739.rBJ7dEXh005055@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dinoex
Date: Thu Dec 19 07:39:14 2013
New Revision: 336877
URL: http://svnweb.freebsd.org/changeset/ports/336877

Log:
  - use STAGEDIR

Modified:
  head/news/nntp/Makefile
  head/news/nntp/pkg-plist

Modified: head/news/nntp/Makefile
==============================================================================
--- head/news/nntp/Makefile	Thu Dec 19 07:26:07 2013	(r336876)
+++ head/news/nntp/Makefile	Thu Dec 19 07:39:14 2013	(r336877)
@@ -3,7 +3,7 @@
 
 PORTNAME=	nntp
 PORTVERSION=	1.5.12.2
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	news
 MASTER_SITES=	ftp://ftp.dinoex.org/pub/c-news/
 DISTNAME=	${PORTNAME}.${PORTVERSION}
@@ -16,8 +16,6 @@ COMMENT=	NNTP with NOV support
 
 BUILD_DEPENDS=	${LOCALBASE}/lib/libcnews.a:${PORTSDIR}/news/cnews
 
-NO_STAGE=	yes
-
 NO_WRKSUBDIR=	yes
 MAN1=		nntpxmit.1
 MAN8=		nntpd.8c acttimes.8c
@@ -32,18 +30,19 @@ VARBASE?=	/var
 NEWSBIN?=	${PREFIX}/libexec/cnews
 NEWSCTL?=	${VARBASE}/lib/news
 NEWSARTS?=	${VARBASE}/news
-NEWSOV?=	${VARBASE}/news
+NEWSOV?=	${VARBASE}/news/over.view
 
 MAKE_ENV+=	DBLIBS="${LOCALBASE}/lib/libcnews.a -lcrypt -lutil"
-MAKE_ENV+=	ETCDIR="${LOCALBASE}/sbin" BINDIR="${NEWSBIN}"
-MAKE_ENV+=	MANDIR="${LOCALBASE}/man"
+MAKE_ENV+=	ETCDIR="${STAGEDIR}${PREFIX}/sbin"
+MAKE_ENV+=	BINDIR="${STAGEDIR}${NEWSBIN}"
+MAKE_ENV+=	MANDIR="${STAGEDIR}${PREFIX}/man"
 
 OPTIONS_DEFINE=	DOCS
 
 .include <bsd.port.options.mk>
 
 post-extract:
-	@${CP} ${WRKSRC}/conf.h.dist ${WRKSRC}/conf.h
+	${CP} ${WRKSRC}/conf.h.dist ${WRKSRC}/conf.h
 
 pre-configure:
 	${REINPLACE_CMD} \
@@ -57,17 +56,18 @@ pre-configure:
 		-e "s=/usr/local/man=${PREFIX}/man=" \
 		${WRKSRC}/conf.h
 
+pre-install:
+	${MKDIR} ${STAGEDIR}${NEWSBIN}
+
 post-install:
-	${INSTALL_DATA} ${WRKSRC}/overview.fmt ${NEWSCTL}/overview.fmt
+	${MKDIR} ${STAGEDIR}${NEWSCTL}
+	${INSTALL_DATA} ${WRKSRC}/overview.fmt ${STAGEDIR}${NEWSCTL}/overview.fmt
 .if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${DOCSFILES1:S=^=${WRKSRC}/=} ${DOCSDIR}/
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${DOCSFILES1:S=^=${WRKSRC}/=} ${STAGEDIR}${DOCSDIR}/
 .for i in ${DOCSFILES2}
-	${INSTALL_DATA} ${WRKSRC}/${i}/README ${DOCSDIR}/${i}-README
+	${INSTALL_DATA} ${WRKSRC}/${i}/README ${STAGEDIR}${DOCSDIR}/${i}-README
 .endfor
 .endif
-	@${ECHO_MSG}
-	@${CAT} ${PKGMESSAGE}
-	@${ECHO_MSG}
 
 .include <bsd.port.mk>

Modified: head/news/nntp/pkg-plist
==============================================================================
--- head/news/nntp/pkg-plist	Thu Dec 19 07:26:07 2013	(r336876)
+++ head/news/nntp/pkg-plist	Thu Dec 19 07:39:14 2013	(r336877)
@@ -1,8 +1,10 @@
+man/man1/nntpxmit.1.gz
+man/man8/nntpd.8c.gz
+man/man8/acttimes.8c.gz
 sbin/nntpd
 %%NEWSBIN%%/acttimes
 %%NEWSBIN%%/nntpxmit
 %%NEWSBIN%%/nntpxfer
-@comment     just in case anyone wants it
 %%NEWSBIN%%/shlock
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORIZE
 %%PORTDOCS%%%%DOCSDIR%%/CHANGES



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312190739.rBJ7dEXh005055>