diff --git a/converters/uulib/Makefile b/converters/uulib/Makefile index 9c8d8308f0b2..b79a83fb4b08 100644 --- a/converters/uulib/Makefile +++ b/converters/uulib/Makefile @@ -40,13 +40,14 @@ do-install: @/usr/bin/ranlib ${PREFIX}/lib/libuu.a ${INSTALL_DATA} ${WRKSRC}/uulib/uudeview.h ${PREFIX}/include ${INSTALL_MAN} ${FILESDIR}/uulib.3 ${PREFIX}/man/man3 - perl -pi -e '$$a = '\''${PREFIX}/'\''; $$a =~ s/([^\w\/])/\\$$1/g; s/FUNKYTOKENHERE/$$a/' ${PREFIX}/man/man3/uulib.3 + ${PERL} -pi -e '$$a = '\''${PREFIX}/'\''; $$a =~ s/([^\w\/])/\\$$1/g; \ + s/FUNKYTOKENHERE/$$a/' ${PREFIX}/man/man3/uulib.3 .if !defined(NOPORTDOCS) @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}" @${MKDIR} ${PREFIX}/share/doc/uulib - @${INSTALL_MAN} ${FILESDIR}/porting.notes ${PREFIX}/share/doc/uulib + @${INSTALL_DATA} ${FILESDIR}/porting.notes ${DOCSDIR} .for docfile in ${DOCFILES} - @${INSTALL_MAN} ${WRKSRC}/${docfile} ${PREFIX}/share/doc/uulib + @${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR} .endfor .endif diff --git a/converters/uulib/pkg-plist b/converters/uulib/pkg-plist index a8e6dfb3ecae..c5865b2aee50 100644 --- a/converters/uulib/pkg-plist +++ b/converters/uulib/pkg-plist @@ -2,15 +2,15 @@ lib/libuu.a lib/libuu.so lib/libuu.so.1 include/uudeview.h -share/doc/uulib/Makefile -share/doc/uulib/README -share/doc/uulib/binhex.fig -share/doc/uulib/library.ltx -share/doc/uulib/structure.fig -share/doc/uulib/td-v1.c -share/doc/uulib/td-v2.c -share/doc/uulib/td-v3.c -share/doc/uulib/test.txt -share/doc/uulib/porting.notes -share/doc/uulib/HISTORY -@dirrm share/doc/uulib +%%PORTDOCS%%share/doc/uulib/Makefile +%%PORTDOCS%%share/doc/uulib/README +%%PORTDOCS%%share/doc/uulib/binhex.fig +%%PORTDOCS%%share/doc/uulib/library.ltx +%%PORTDOCS%%share/doc/uulib/structure.fig +%%PORTDOCS%%share/doc/uulib/td-v1.c +%%PORTDOCS%%share/doc/uulib/td-v2.c +%%PORTDOCS%%share/doc/uulib/td-v3.c +%%PORTDOCS%%share/doc/uulib/test.txt +%%PORTDOCS%%share/doc/uulib/porting.notes +%%PORTDOCS%%share/doc/uulib/HISTORY +%%PORTDOCS%%@dirrm share/doc/uulib