diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2010-04-29 12:42:01 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2010-04-29 12:42:01 +0000 |
commit | efc1619c8f4bc34a0b6cc05b578955223a8398a7 (patch) | |
tree | 6faf40275d637cca8930382dfafbacf35b2bcd5e /x11-toolkits | |
parent | 8dcfbd5451042c6dcd735ec93773a6d919ac2df0 (diff) | |
download | ports-efc1619c8f4bc34a0b6cc05b578955223a8398a7.tar.gz ports-efc1619c8f4bc34a0b6cc05b578955223a8398a7.zip |
- Respect NOPORTDOCS
Reported by: QAT
Notes
Notes:
svn path=/head/; revision=253419
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/fltk/Makefile | 6 | ||||
-rw-r--r-- | x11-toolkits/fltk/files/patch-documentation_Makefile | 16 |
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 |