aboutsummaryrefslogtreecommitdiff
path: root/x11/mrxvt
diff options
context:
space:
mode:
authorSteven Kreuzer <skreuzer@FreeBSD.org>2009-04-01 14:22:37 +0000
committerSteven Kreuzer <skreuzer@FreeBSD.org>2009-04-01 14:22:37 +0000
commitab8a95032fad4fdd57dc998ff56ac9768becf62f (patch)
tree7803e50cc4c52c94b71904b4d83ecb3705c802ba /x11/mrxvt
parent35be9a88ac0f8a0ac080271aa66c5d81968f1a7d (diff)
downloadports-ab8a95032fad4fdd57dc998ff56ac9768becf62f.tar.gz
ports-ab8a95032fad4fdd57dc998ff56ac9768becf62f.zip
Notes
Diffstat (limited to 'x11/mrxvt')
-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 55217012c5e8..7990fe60db5f 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 df2153e1294e..bd2d21208b2e 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%%