aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorskreuzer <skreuzer@FreeBSD.org>2009-04-01 22:22:37 +0800
committerskreuzer <skreuzer@FreeBSD.org>2009-04-01 22:22:37 +0800
commit1f0ad1bb0f14a187fee05c1a3849251f2fbf2753 (patch)
tree409242d62c40fc7957c54355c98d9b7473acad6d /x11
parent93ac124f70686fb3fd50b7f6350562c78e6d5890 (diff)
downloadfreebsd-ports-graphics-1f0ad1bb0f14a187fee05c1a3849251f2fbf2753.tar.gz
freebsd-ports-graphics-1f0ad1bb0f14a187fee05c1a3849251f2fbf2753.tar.zst
freebsd-ports-graphics-1f0ad1bb0f14a187fee05c1a3849251f2fbf2753.zip
Make port honor NOPORTDOCS which resolves mtree errors identified by QAT
Approved by: wxs (mentor)
Diffstat (limited to 'x11')
-rw-r--r--x11/mrxvt/Makefile17
-rw-r--r--x11/mrxvt/pkg-plist9
2 files changed, 17 insertions, 9 deletions
diff --git a/x11/mrxvt/Makefile b/x11/mrxvt/Makefile
index 55217012c5e..7990fe60db5 100644
--- a/x11/mrxvt/Makefile
+++ b/x11/mrxvt/Makefile
@@ -36,6 +36,17 @@ CONFIGURE_ARGS+= --enable-xft
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LIBS="${LIBS} -L${LOCALBASE}/lib"
+.if !defined(NOPORTDOCS)
+PORTDOCS= TIPS \
+ README.greek \
+ README.menu \
+ README.xvt \
+ xdefaults-sample.txt \
+ xterm.seq \
+ mrxvt.vbs \
+ mrxvtset.pl
+.endif
+
MAN1= mrxvt.1
pre-everything::
@@ -44,4 +55,10 @@ pre-everything::
@${ECHO_MSG} "For XFT support use make -DWITH_XFT install"
@${ECHO_MSG} "=========================================>"
+.if defined(NOPORTDOCS)
+post-patch:
+ @${REINPLACE_CMD} -e '/^\(install-data-am:\).*/ \
+ s/install-docDATA //' ${WRKSRC}/doc/Makefile.in
+.endif
+
.include <bsd.port.mk>
diff --git a/x11/mrxvt/pkg-plist b/x11/mrxvt/pkg-plist
index df2153e1294..bd2d21208b2 100644
--- a/x11/mrxvt/pkg-plist
+++ b/x11/mrxvt/pkg-plist
@@ -5,12 +5,3 @@ share/pixmaps/mrxvt-root.png
share/pixmaps/mrxvt-root.xpm
share/pixmaps/mrxvt.png
share/pixmaps/mrxvt.xpm
-%%PORTDOCS%%%%DOCSDIR%%/mrxvt.vbs
-%%PORTDOCS%%%%DOCSDIR%%/mrxvtset.pl
-%%PORTDOCS%%%%DOCSDIR%%/README.greek
-%%PORTDOCS%%%%DOCSDIR%%/README.menu
-%%PORTDOCS%%%%DOCSDIR%%/README.xvt
-%%PORTDOCS%%%%DOCSDIR%%/TIPS
-%%PORTDOCS%%%%DOCSDIR%%/xdefaults-sample.txt
-%%PORTDOCS%%%%DOCSDIR%%/xterm.seq
-%%PORTDOCS%%@dirrm %%DOCSDIR%%