Install a correct pkgIndex.tcl, make the pkg-plist NOPORTDOCS-aware.
PR: 23865 Submitted by: maintainer
This commit is contained in:
parent
738f1d0b7a
commit
b3ff865b0d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=36627
@ -40,10 +40,15 @@ DDIR= ${PREFIX}/lib/tcl${TCLV}/Trf
|
||||
do-install:
|
||||
${MKDIR} ${PREFIX}/lib/tcl${TCLV}/memchan
|
||||
${INSTALL_DATA} ${WRKSRC}/libmemchan.so.1 ${PREFIX}/lib/
|
||||
${INSTALL_DATA} ${WRKSRC}/pkgIndex.tcl ${PREFIX}/lib/tcl${TCLV}/memchan
|
||||
${SED} 's@%%PREFIX%%@${PREFIX}@g' < ${FILESDIR}/pkgIndex.tcl \
|
||||
> ${PREFIX}/lib/tcl${TCLV}/memchan/pkgIndex.tcl
|
||||
.ifndef(NOPORTDOCS)
|
||||
${MKDIR} ${PREFIX}/share/doc/memchan
|
||||
${CP} -pR ${WRKSRC}/../doc/html/* ${PREFIX}/share/doc/memchan/
|
||||
|
||||
PLIST_SUB+= DOC=''
|
||||
.else
|
||||
PLIST_SUB+= DOC='@comment '
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -0,0 +1 @@
|
||||
package ifneeded Memchan 2.1 [list load %%PREFIX%%/lib/libmemchan.so.1]
|
@ -1,17 +1,17 @@
|
||||
lib/libmemchan.so.1
|
||||
lib/tcl%%TCLV%%/memchan/pkgIndex.tcl
|
||||
@dirrm lib/tcl%%TCLV%%/memchan
|
||||
share/doc/memchan/img/up.gif
|
||||
share/doc/memchan/memchan_ack.html
|
||||
share/doc/memchan/memchan_bdist.html
|
||||
share/doc/memchan/memchan_cmac.html
|
||||
share/doc/memchan/memchan_cmds.html
|
||||
share/doc/memchan/memchan_compile.html
|
||||
share/doc/memchan/memchan_ctea.html
|
||||
share/doc/memchan/memchan_cunix.html
|
||||
share/doc/memchan/memchan_cwin.html
|
||||
share/doc/memchan/index.html
|
||||
share/doc/memchan/memchan_where.html
|
||||
share/doc/memchan/sitemap.html
|
||||
@dirrm share/doc/memchan/img/
|
||||
@dirrm share/doc/memchan/
|
||||
%%DOC%%share/doc/memchan/img/up.gif
|
||||
%%DOC%%share/doc/memchan/memchan_ack.html
|
||||
%%DOC%%share/doc/memchan/memchan_bdist.html
|
||||
%%DOC%%share/doc/memchan/memchan_cmac.html
|
||||
%%DOC%%share/doc/memchan/memchan_cmds.html
|
||||
%%DOC%%share/doc/memchan/memchan_compile.html
|
||||
%%DOC%%share/doc/memchan/memchan_ctea.html
|
||||
%%DOC%%share/doc/memchan/memchan_cunix.html
|
||||
%%DOC%%share/doc/memchan/memchan_cwin.html
|
||||
%%DOC%%share/doc/memchan/index.html
|
||||
%%DOC%%share/doc/memchan/memchan_where.html
|
||||
%%DOC%%share/doc/memchan/sitemap.html
|
||||
%%DOC%%@dirrm share/doc/memchan/img/
|
||||
%%DOC%%@dirrm share/doc/memchan/
|
||||
|
Loading…
Reference in New Issue
Block a user