aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2010-04-29 20:42:01 +0800
committergahr <gahr@FreeBSD.org>2010-04-29 20:42:01 +0800
commit6db3f48b6191aad4605b4fdfe6719af6a415a068 (patch)
tree950128bbffc84ab3a99d31cfecf6cdc7ff7334b2 /x11-toolkits
parent4b985b5cf7e9fc1d26e948e3e3714eae039bb811 (diff)
downloadfreebsd-ports-gnome-6db3f48b6191aad4605b4fdfe6719af6a415a068.tar.gz
freebsd-ports-gnome-6db3f48b6191aad4605b4fdfe6719af6a415a068.tar.zst
freebsd-ports-gnome-6db3f48b6191aad4605b4fdfe6719af6a415a068.zip
- Respect NOPORTDOCS
Reported by: QAT
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/fltk/Makefile6
-rw-r--r--x11-toolkits/fltk/files/patch-documentation_Makefile16
2 files changed, 18 insertions, 4 deletions
diff --git a/x11-toolkits/fltk/Makefile b/x11-toolkits/fltk/Makefile
index 4f06fbda3e03..8eb0e85429be 100644
--- a/x11-toolkits/fltk/Makefile
+++ b/x11-toolkits/fltk/Makefile
@@ -36,10 +36,14 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAN1= fltk-config.1 fluid.1
MAN3= fltk.3
+post-patch:
+ ${REINPLACE_CMD} -e '30s/test //' ${WRKSRC}/Makefile
+
.if !defined(NOPORTDOCS)
PORTDOCS= *
post-install:
- cd ${WRKSRC}/documentation && ${MAKE} install
+ cd ${WRKSRC}/documentation && ${MAKE} docinstall
+ cd ${WRKSRC}/test && ${MAKE} install
.endif
.include <bsd.port.mk>
diff --git a/x11-toolkits/fltk/files/patch-documentation_Makefile b/x11-toolkits/fltk/files/patch-documentation_Makefile
index 6d9aa679db52..29a6f9070b56 100644
--- a/x11-toolkits/fltk/files/patch-documentation_Makefile
+++ b/x11-toolkits/fltk/files/patch-documentation_Makefile
@@ -1,8 +1,18 @@
---- documentation/Makefile.orig 2010-03-09 15:46:16.000000000 +0100
-+++ documentation/Makefile 2010-03-09 15:46:58.000000000 +0100
-@@ -237,11 +237,6 @@
+--- documentation/Makefile.orig 2007-02-06 19:35:28.000000000 +0000
++++ documentation/Makefile 2010-04-29 08:51:10.000000000 +0000
+@@ -230,18 +230,15 @@
+
+ depend:
+
+-install: $(MANPAGES)
++docinstall:
+ echo "Installing documentation files in $(DESTDIR)$(docdir)..."
+ -$(INSTALL_DIR) $(DESTDIR)$(docdir)
+ for file in $(HTMLFILES) $(IMAGEFILES) index.html; do \
$(INSTALL_DATA) $$file $(DESTDIR)$(docdir); \
done
++
++install: $(MANPAGES)
echo "Installing man pages in $(DESTDIR)$(mandir)..."
- -$(INSTALL_DIR) $(DESTDIR)$(mandir)/cat1
- $(INSTALL_MAN) fluid.$(CAT1EXT) $(DESTDIR)$(mandir)/cat1