aboutsummaryrefslogtreecommitdiff
path: root/news/newsx
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-08-07 16:25:27 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-08-07 16:25:27 +0000
commit91f190ead0b318697daffa074f2cafee0a552db4 (patch)
tree621071b501e03cdb4d928606adbbeedecbae3cd2 /news/newsx
parentf526758ef60a5b0a8be39f276fbe962040d256cd (diff)
downloadports-91f190ead0b318697daffa074f2cafee0a552db4.tar.gz
ports-91f190ead0b318697daffa074f2cafee0a552db4.zip
o Update maintainer email address
o Add extra documentation o Support NOPORTDOCS o Fix BUILD_DEPENDS while here PR: 29236 Submitted by: MAINTAINER
Notes
Notes: svn path=/head/; revision=45930
Diffstat (limited to 'news/newsx')
-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 511c73705e41..aa4d63e35a4a 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 11af043ec41b..97115279c6b6 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 0b5074d95064..3f0f131c1f0e 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