diff options
author | pat <pat@FreeBSD.org> | 2002-01-17 03:07:33 +0000 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2002-01-17 03:07:33 +0000 |
commit | f305b4b77f22cdedb88d2ed3d02d984a2c386744 (patch) | |
tree | d1bcf7a6017695e25ee1d82260e2dd5e75424b84 /converters | |
parent | f73ef5bb43ea45914ab344a1b491b129db46e717 (diff) | |
download | FreeBSD-ports-f305b4b77f22cdedb88d2ed3d02d984a2c386744.zip FreeBSD-ports-f305b4b77f22cdedb88d2ed3d02d984a2c386744.tar.gz |
- Add NOPORTDOCS support to pkg-plist
- Use INSTALL_DATA for installing docs
- Use DOCSDIR
PR: 29762
Approved by: hoek
Diffstat (limited to 'converters')
-rw-r--r-- | converters/xdeview/Makefile | 9 | ||||
-rw-r--r-- | converters/xdeview/pkg-plist | 6 |
2 files changed, 7 insertions, 8 deletions
diff --git a/converters/xdeview/Makefile b/converters/xdeview/Makefile index 336faa0..5b6dd7a 100644 --- a/converters/xdeview/Makefile +++ b/converters/xdeview/Makefile @@ -26,17 +26,16 @@ ALL_TARGET= xdeview INSTALL_TARGET= install-tcl MAN1= xdeview.1 -PORTDOCDIR?= share/doc/xdeview DOCFILES= ${FILESDIR}/porting.notes ${WRKSRC}/HOWTO post-install: strip ${PREFIX}/bin/uuwish .if !defined(NOPORTDOCS) - @${ECHO_MSG} "===> Copying documents to ${PREFIX}/${PORTDOCDIR}" - @${MKDIR} ${PREFIX}/${PORTDOCDIR} - ${INSTALL_MAN} ${DOCFILES} ${PREFIX}/${PORTDOCDIR} + @${ECHO_MSG} "===> Installing documents to ${DOCSDIR}" + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${DOCFILES} ${DOCSDIR} .else - @${ECHO_MSG} "===> Not copying available documents" + @${ECHO_MSG} "===> Not installing available documents" .endif ${INSTALL_MAN} ${WRKSRC}/man/xdeview.1 ${PREFIX}/man/man1 diff --git a/converters/xdeview/pkg-plist b/converters/xdeview/pkg-plist index 525f374..1a4ce03 100644 --- a/converters/xdeview/pkg-plist +++ b/converters/xdeview/pkg-plist @@ -1,5 +1,5 @@ -share/doc/xdeview/HOWTO -share/doc/xdeview/porting.notes bin/uuwish bin/xdeview -@dirrm share/doc/xdeview +%%PORTDOCS%%share/doc/xdeview/HOWTO +%%PORTDOCS%%share/doc/xdeview/porting.notes +%%PORTDOCS%%@dirrm share/doc/xdeview |