diff options
author | dwcjr <dwcjr@FreeBSD.org> | 2001-09-04 07:09:04 +0800 |
---|---|---|
committer | dwcjr <dwcjr@FreeBSD.org> | 2001-09-04 07:09:04 +0800 |
commit | 6c29e3024ca77a2038351ebe1af82a1f563fa8ed (patch) | |
tree | b0083c4162053e2d88cc0184d3d042f349da0aab /converters | |
parent | 70ed2f2de1eef5ef4a67c68dcb9ea58e38348b0a (diff) | |
download | freebsd-ports-gnome-6c29e3024ca77a2038351ebe1af82a1f563fa8ed.tar.gz freebsd-ports-gnome-6c29e3024ca77a2038351ebe1af82a1f563fa8ed.tar.zst freebsd-ports-gnome-6c29e3024ca77a2038351ebe1af82a1f563fa8ed.zip |
Use ${PERL} instead of perl
Add ${DOCSDIR} support
Add NOPORTDOC compliance
PR: 29761
Submitted by: pat@databits.net
Diffstat (limited to 'converters')
-rw-r--r-- | converters/uulib/Makefile | 7 | ||||
-rw-r--r-- | converters/uulib/pkg-plist | 24 |
2 files changed, 16 insertions, 15 deletions
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 |