diff options
author | pat <pat@FreeBSD.org> | 2002-01-17 11:07:33 +0800 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2002-01-17 11:07:33 +0800 |
commit | f305b4b77f22cdedb88d2ed3d02d984a2c386744 (patch) | |
tree | d1bcf7a6017695e25ee1d82260e2dd5e75424b84 /converters/xdeview | |
parent | f73ef5bb43ea45914ab344a1b491b129db46e717 (diff) | |
download | freebsd-ports-gnome-f305b4b77f22cdedb88d2ed3d02d984a2c386744.tar.gz freebsd-ports-gnome-f305b4b77f22cdedb88d2ed3d02d984a2c386744.tar.zst freebsd-ports-gnome-f305b4b77f22cdedb88d2ed3d02d984a2c386744.zip |
- Add NOPORTDOCS support to pkg-plist
- Use INSTALL_DATA for installing docs
- Use DOCSDIR
PR: 29762
Approved by: hoek
Diffstat (limited to 'converters/xdeview')
-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 336faa010731..5b6dd7ad9eec 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 525f3741af6e..1a4ce0342f6b 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 |