- Fix PLIST by removing DOCS
Reported by: QAT
This commit is contained in:
parent
fe9d45836c
commit
e4aceaa286
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330367
2 changed files with 0 additions and 33 deletions
|
@ -17,12 +17,9 @@ LICENSE_FILE= ${WRKSRC}/license.txt
|
|||
USES+= tk
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
PORTDOCS= *
|
||||
|
||||
PLIST_SUB= DISTNAME=${DISTNAME}
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} \
|
||||
--with-tk=${TK_LIBDIR} \
|
||||
--with-tclinclude=${TCL_INCLUDEDIR} \
|
||||
|
@ -31,13 +28,6 @@ CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} \
|
|||
--prefix=${PREFIX} \
|
||||
--exec-prefix=${PREFIX}
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|%%DOCSDIR%%|${DOCSDIR}|' \
|
||||
${WRKSRC}/Makefile.in
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
INSTALL_TARGET= install install-doc
|
||||
.endif
|
||||
|
||||
.if defined(MAINTAINER_MODE)
|
||||
test: build
|
||||
(cd ${WRKSRC}; \
|
||||
|
|
|
@ -9,14 +9,6 @@
|
|||
|
||||
PKG_MAN_PAGES = tkTable.n
|
||||
|
||||
@@ -70,6 +70,7 @@
|
||||
datadir = @datadir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
+docsdir = %%DOCSDIR%%
|
||||
|
||||
DESTDIR =
|
||||
|
||||
@@ -204,7 +205,7 @@
|
||||
|
||||
doc:
|
||||
|
@ -26,18 +18,3 @@
|
|||
|
||||
install-binaries: binaries install-lib-binaries install-bin-binaries
|
||||
@mkdir -p $(DESTDIR)$(pkglibdir)
|
||||
@@ -229,10 +230,12 @@
|
||||
#========================================================================
|
||||
|
||||
install-doc: doc
|
||||
- @mkdir -p $(DESTDIR)$(pkglibdir)/html
|
||||
+ @mkdir -p $(docsdir)/html
|
||||
+ $(INSTALL_DATA) $(srcdir)/README.txt $(docsdir)
|
||||
+ $(INSTALL_DATA) $(srcdir)/license.txt $(docsdir)
|
||||
@list='$(PKG_MAN_PAGES)'; for p in $$list; do \
|
||||
html=`basename $$p|sed -e 's/.[^.]*$$//'`.html; \
|
||||
- $(INSTALL_DATA) $(srcdir)/doc/$$html $(DESTDIR)$(pkglibdir)/html/; \
|
||||
+ $(INSTALL_DATA) $(srcdir)/doc/$$html $(docsdir)/html/; \
|
||||
done
|
||||
|
||||
html:
|
||||
|
|
Loading…
Reference in a new issue