aboutsummaryrefslogtreecommitdiff
path: root/devel/epm
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-10-22 05:02:16 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-10-22 05:02:16 +0000
commitba102d4b0699576f3c8625a25927ad6f02f5541b (patch)
tree62e9d2bbac8c178d62e300549f2b125d29bdb350 /devel/epm
parent1bb05ce0f54e989b9e15cd41859ab1bf5bce1c50 (diff)
- Respect PORTDOCS and also pet portlint
Notes
Notes: svn path=/head/; revision=284087
Diffstat (limited to 'devel/epm')
-rw-r--r--devel/epm/Makefile6
-rw-r--r--devel/epm/pkg-plist8
2 files changed, 10 insertions, 4 deletions
diff --git a/devel/epm/Makefile b/devel/epm/Makefile
index 83fddd0803d2..918f2d773522 100644
--- a/devel/epm/Makefile
+++ b/devel/epm/Makefile
@@ -21,7 +21,13 @@ MAKE_JOBS_UNSAFE= yes
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS= autoconf
+
MAN1= epm.1 epminstall.1 mkepmlist.1 setup.1
MAN5= epm.list.5 setup.types.5
+post-patch:
+.if defined(NOPORTDOCS)
+ @${REINPLACE_CMD} -e '/docdir/d' ${WRKSRC}/Makefile.in
+.endif
+
.include <bsd.port.mk>
diff --git a/devel/epm/pkg-plist b/devel/epm/pkg-plist
index 4f06ca9a5d4f..4e6e7c1dd323 100644
--- a/devel/epm/pkg-plist
+++ b/devel/epm/pkg-plist
@@ -1,7 +1,7 @@
bin/epm
bin/epminstall
bin/mkepmlist
-%%DOCSDIR%%/COPYING
-%%DOCSDIR%%/README
-%%DOCSDIR%%/epm-book.html
-@dirrm %%DOCSDIR%%
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/epm-book.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%