summaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
Diffstat (limited to 'news')
-rw-r--r--news/newsx/Makefile15
-rw-r--r--news/newsx/pkg-descr2
-rw-r--r--news/newsx/pkg-plist9
3 files changed, 23 insertions, 3 deletions
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 <tthomas@mail.dotcom.fr>
+- Thierry Thomas <thierry@thomas.as>
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
OpenPOWER on IntegriCloud