From c24487914fd08b8753aafca6494d591f83cf3357 Mon Sep 17 00:00:00 2001 From: lioux Date: Tue, 7 Aug 2001 16:25:27 +0000 Subject: o Update maintainer email address o Add extra documentation o Support NOPORTDOCS o Fix BUILD_DEPENDS while here PR: 29236 Submitted by: MAINTAINER --- news/newsx/Makefile | 15 +++++++++++++-- news/newsx/pkg-descr | 2 +- news/newsx/pkg-plist | 9 +++++++++ 3 files changed, 23 insertions(+), 3 deletions(-) (limited to 'news') diff --git a/news/newsx/Makefile b/news/newsx/Makefile index 511c737..aa4d63e 100644 --- a/news/newsx/Makefile +++ b/news/newsx/Makefile @@ -10,12 +10,14 @@ PORTVERSION= 1.4 CATEGORIES= news MASTER_SITES= ftp://ftp.kvaleberg.com/pub/ -MAINTAINER= tthomas@mail.dotcom.fr +MAINTAINER= thierry@thomas.as -BUILD_DEPENDS= ${LOCALBASE}/news/lib/libinn.a:${PORTSDIR}/news/inn:${hdr_dir} +BUILD_DEPENDS= ${LOCALBASE}/news/lib/libinn.a:${PORTSDIR}/news/inn hdr_dir= ${LOCALBASE}/news/include +DOCS= AUTHORS COPYING ChangeLog FAQ INSTALL NEWS README TODO + post-extract: @${ECHO} "*********************************************************" @${ECHO} "If this step fails, then you probably don't have made inn" @@ -42,6 +44,15 @@ post-configure: @${PERL} -pi -e "s:^LIBS = :LIBS = -L${LOCALBASE}/news/lib -linn:g" \ ${WRKSRC}/test/Makefile +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for FILE in ${DOCS} + @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} +.endfor + @${ECHO} "Documentation installed in ${DOCSDIR}." +.endif + #GNU_CONFIGURE= yes USE_AUTOCONF= yes diff --git a/news/newsx/pkg-descr b/news/newsx/pkg-descr index 11af043..9711527 100644 --- a/news/newsx/pkg-descr +++ b/news/newsx/pkg-descr @@ -14,4 +14,4 @@ administrative burden should be minimized. WWW: http://www.kvaleberg.com/newsx.html -- Thierry Thomas +- Thierry Thomas diff --git a/news/newsx/pkg-plist b/news/newsx/pkg-plist index 0b5074d..3f0f131 100644 --- a/news/newsx/pkg-plist +++ b/news/newsx/pkg-plist @@ -1,6 +1,15 @@ bin/newsx bin/newsq bin/testfilter +%%PORTDOCS%%share/doc/newsx/AUTHORS +%%PORTDOCS%%share/doc/newsx/COPYING +%%PORTDOCS%%share/doc/newsx/ChangeLog +%%PORTDOCS%%share/doc/newsx/FAQ +%%PORTDOCS%%share/doc/newsx/INSTALL +%%PORTDOCS%%share/doc/newsx/NEWS +%%PORTDOCS%%share/doc/newsx/README +%%PORTDOCS%%share/doc/newsx/TODO +%%PORTDOCS%%@dirrm share/doc/newsx @dirrm news/spool/inhosts @dirrm news/spool @dirrm news -- cgit v1.1