From c8275d82db3eda2a5f40fd30d151adca6e1913a6 Mon Sep 17 00:00:00 2001 From: "David W. Chapman Jr." Date: Mon, 3 Sep 2001 23:09:04 +0000 Subject: Use ${PERL} instead of perl Add ${DOCSDIR} support Add NOPORTDOC compliance PR: 29761 Submitted by: pat@databits.net --- converters/uulib/Makefile | 7 ++++--- converters/uulib/pkg-plist | 24 ++++++++++++------------ 2 files changed, 16 insertions(+), 15 deletions(-) (limited to 'converters') 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 -- cgit v1.2.3