summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-09-03 23:09:04 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-09-03 23:09:04 +0000
commitc8275d82db3eda2a5f40fd30d151adca6e1913a6 (patch)
tree0f1fe643aa77837473e1baa1f001c8b890be7b37 /converters
parentUpdate to 0.9.27 (diff)
Use ${PERL} instead of perl
Add ${DOCSDIR} support Add NOPORTDOC compliance PR: 29761 Submitted by: pat@databits.net
Notes
Notes: svn path=/head/; revision=47405
Diffstat (limited to 'converters')
-rw-r--r--converters/uulib/Makefile7
-rw-r--r--converters/uulib/pkg-plist24
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