diff options
author | pat <pat@FreeBSD.org> | 2002-01-17 03:04:56 +0000 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2002-01-17 03:04:56 +0000 |
commit | f73ef5bb43ea45914ab344a1b491b129db46e717 (patch) | |
tree | ab691dcfd74029c9e73d31ee6f4939084e146f38 /converters | |
parent | 977be908de2df2e5523f93e8f6a16c62b36668f7 (diff) | |
download | FreeBSD-ports-f73ef5bb43ea45914ab344a1b491b129db46e717.zip FreeBSD-ports-f73ef5bb43ea45914ab344a1b491b129db46e717.tar.gz |
- Add NOPORTDOCS support (pkg-plist)
- Use INSTALL_DATA to install docs
- Use DOCSDIR
PR: 29760
Approved by: hoek
Diffstat (limited to 'converters')
-rw-r--r-- | converters/uudeview/Makefile | 12 | ||||
-rw-r--r-- | converters/uudeview/pkg-plist | 6 |
2 files changed, 8 insertions, 10 deletions
diff --git a/converters/uudeview/Makefile b/converters/uudeview/Makefile index 5cd1ce2..a6654e3 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 29662ae..c61b937 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 |