aboutsummaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-01-17 03:04:56 +0000
committerPatrick Li <pat@FreeBSD.org>2002-01-17 03:04:56 +0000
commit92c2bf3806b118a9aa55864c7e691f217a9e9bfb (patch)
tree4e4aaa78882aaf9a04133634f60cc7646a3d6290 /converters
parent4f1f07dd88742fa1555caa0e551c300c1d0162e3 (diff)
downloadports-92c2bf3806b118a9aa55864c7e691f217a9e9bfb.tar.gz
ports-92c2bf3806b118a9aa55864c7e691f217a9e9bfb.zip
Notes
Diffstat (limited to 'converters')
-rw-r--r--converters/uudeview/Makefile12
-rw-r--r--converters/uudeview/pkg-plist6
2 files changed, 8 insertions, 10 deletions
diff --git a/converters/uudeview/Makefile b/converters/uudeview/Makefile
index 5cd1ce2c39d7..a6654e3743e1 100644
--- a/converters/uudeview/Makefile
+++ b/converters/uudeview/Makefile
@@ -21,18 +21,16 @@ CONFIGURE_ARGS= --enable-inews=${PREFIX}/news/lib/inews \
MAN1= uudeview.1 uuenview.1
-PORTDOCDIR?= share/doc/uudeview
-
post-install:
@/usr/bin/strip ${PREFIX}/bin/uudeview
@/usr/bin/strip ${PREFIX}/bin/uuenview
.if !defined(NOPORTDOCS)
- @${ECHO_MSG} "===> Copying documents to ${PREFIX}/${PORTDOCDIR}"
- @${MKDIR} ${PREFIX}/${PORTDOCDIR}
- @${INSTALL_MAN} ${WRKSRC}/HOWTO ${PREFIX}/${PORTDOCDIR}
- @${INSTALL_MAN} ${FILESDIR}/porting.notes ${PREFIX}/${PORTDOCDIR}
+ @${ECHO_MSG} "===> Installing documents to ${DOCSDIR}"
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/HOWTO ${DOCSDIR}
+ @${INSTALL_DATA} ${FILESDIR}/porting.notes ${DOCSDIR}
.else
- @${ECHO_MSG} "===> Not copying available documents"
+ @${ECHO_MSG} "===> Not installing available documents"
.endif
.include <bsd.port.mk>
diff --git a/converters/uudeview/pkg-plist b/converters/uudeview/pkg-plist
index 29662aee220c..c61b9376d3fa 100644
--- a/converters/uudeview/pkg-plist
+++ b/converters/uudeview/pkg-plist
@@ -1,5 +1,5 @@
-share/doc/uudeview/HOWTO
-share/doc/uudeview/porting.notes
bin/uudeview
bin/uuenview
-@dirrm share/doc/uudeview
+%%PORTDOCS%%share/doc/uudeview/HOWTO
+%%PORTDOCS%%share/doc/uudeview/porting.notes
+%%PORTDOCS%%@dirrm share/doc/uudeview