aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2009-03-24 02:18:13 +0800
committerjohans <johans@FreeBSD.org>2009-03-24 02:18:13 +0800
commitd69b53a31a9b9a9558a23c41b1201824b05eeca9 (patch)
treecdd5fac725e735c640ae60134b6b54f20f6d3b49
parentd1629803689ff6fb34ebd3db502775dae1bb531d (diff)
downloadfreebsd-ports-gnome-d69b53a31a9b9a9558a23c41b1201824b05eeca9.tar.gz
freebsd-ports-gnome-d69b53a31a9b9a9558a23c41b1201824b05eeca9.tar.zst
freebsd-ports-gnome-d69b53a31a9b9a9558a23c41b1201824b05eeca9.zip
- Respect NOPORTDOCS
- Take maintainership
-rw-r--r--news/slrn/Makefile7
-rw-r--r--news/slrn/pkg-plist56
2 files changed, 34 insertions, 29 deletions
diff --git a/news/slrn/Makefile b/news/slrn/Makefile
index 2d958305e261..c13c7e236a5b 100644
--- a/news/slrn/Makefile
+++ b/news/slrn/Makefile
@@ -15,7 +15,7 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://ftp.plig.org/pub/slrn/
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= johans@stack.nl
COMMENT= SLang-based newsreader
LIB_DEPENDS= slang.2:${PORTSDIR}/devel/libslang2
@@ -45,6 +45,11 @@ LIB_DEPENDS+= uu.3:${PORTSDIR}/converters/uulib
CONFIGURE_ARGS+= --with-uulib
.endif
+.if defined(NOPORTDOCS)
+# Use dummy target rather than rewriting makefile
+CONFIGURE_ARGS+= --with-docdir=${WRKSRC}/dummy
+.endif
+
ALL_TARGET= all
MAN1= slrn.1 slrnpull.1
diff --git a/news/slrn/pkg-plist b/news/slrn/pkg-plist
index d14e47406077..63e4c3e9f383 100644
--- a/news/slrn/pkg-plist
+++ b/news/slrn/pkg-plist
@@ -1,31 +1,31 @@
bin/slrn
bin/slrnpull
-%%DOCSDIR%%/COPYING
-%%DOCSDIR%%/COPYRIGHT
-%%DOCSDIR%%/FAQ
-%%DOCSDIR%%/FIRST_STEPS
-%%DOCSDIR%%/README
-%%DOCSDIR%%/README.GroupLens
-%%DOCSDIR%%/README.SSL
-%%DOCSDIR%%/README.macros
-%%DOCSDIR%%/README.multiuser
-%%DOCSDIR%%/THANKS
-%%DOCSDIR%%/changes.txt
-%%DOCSDIR%%/help.txt
-%%DOCSDIR%%/manual.txt
-%%DOCSDIR%%/score.sl
-%%DOCSDIR%%/score.txt
-%%DOCSDIR%%/slrn-doc.html
-%%DOCSDIR%%/slrn.rc
-%%DOCSDIR%%/slrnfuns.txt
-%%DOCSDIR%%/slrnpull/README
-%%DOCSDIR%%/slrnpull/README.offline
-%%DOCSDIR%%/slrnpull/SETUP
-%%DOCSDIR%%/slrnpull/score
-%%DOCSDIR%%/slrnpull/setgid.txt
-%%DOCSDIR%%/slrnpull/slrn.rc
-%%DOCSDIR%%/slrnpull/slrnpull.conf
-%%DOCSDIR%%/slrnpull/slrnpull.sh
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
+%%PORTDOCS%%%%DOCSDIR%%/FAQ
+%%PORTDOCS%%%%DOCSDIR%%/FIRST_STEPS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/README.GroupLens
+%%PORTDOCS%%%%DOCSDIR%%/README.SSL
+%%PORTDOCS%%%%DOCSDIR%%/README.macros
+%%PORTDOCS%%%%DOCSDIR%%/README.multiuser
+%%PORTDOCS%%%%DOCSDIR%%/THANKS
+%%PORTDOCS%%%%DOCSDIR%%/changes.txt
+%%PORTDOCS%%%%DOCSDIR%%/help.txt
+%%PORTDOCS%%%%DOCSDIR%%/manual.txt
+%%PORTDOCS%%%%DOCSDIR%%/score.sl
+%%PORTDOCS%%%%DOCSDIR%%/score.txt
+%%PORTDOCS%%%%DOCSDIR%%/slrn-doc.html
+%%PORTDOCS%%%%DOCSDIR%%/slrn.rc
+%%PORTDOCS%%%%DOCSDIR%%/slrnfuns.txt
+%%PORTDOCS%%%%DOCSDIR%%/slrnpull/README
+%%PORTDOCS%%%%DOCSDIR%%/slrnpull/README.offline
+%%PORTDOCS%%%%DOCSDIR%%/slrnpull/SETUP
+%%PORTDOCS%%%%DOCSDIR%%/slrnpull/score
+%%PORTDOCS%%%%DOCSDIR%%/slrnpull/setgid.txt
+%%PORTDOCS%%%%DOCSDIR%%/slrnpull/slrn.rc
+%%PORTDOCS%%%%DOCSDIR%%/slrnpull/slrnpull.conf
+%%PORTDOCS%%%%DOCSDIR%%/slrnpull/slrnpull.sh
%%NLS%%share/locale/be/LC_MESSAGES/slrn.mo
%%NLS%%share/locale/da/LC_MESSAGES/slrn.mo
%%NLS%%share/locale/de/LC_MESSAGES/slrn.mo
@@ -56,5 +56,5 @@ bin/slrnpull
%%DATADIR%%/slang/xcomment.sl
@dirrm %%DATADIR%%/slang
@dirrm %%DATADIR%%
-@dirrm %%DOCSDIR%%/slrnpull
-@dirrm %%DOCSDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/slrnpull
+%%PORTDOCS%%@dirrm %%DOCSDIR%%