diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2008-07-23 04:57:56 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2008-07-23 04:57:56 +0000 |
commit | f781a15e9a191d0b02d794ab7c7479d20744cc1d (patch) | |
tree | 7ca1d1f5d62abb57a2cfda6f7529279ea70cbf21 /japanese/kterm16c/Makefile | |
parent | 95e0d68aa89d1837500ecf283e4b1356d7e442db (diff) |
- Fix build with NOPORTDOCS=yes.
- Add CONFLICTS=ja-kterm-[0-9]*.
Spotted by: QA Tindy
Notes
Notes:
svn path=/head/; revision=217340
Diffstat (limited to 'japanese/kterm16c/Makefile')
-rw-r--r-- | japanese/kterm16c/Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/japanese/kterm16c/Makefile b/japanese/kterm16c/Makefile index 67c06468f8bb..0b0e31876036 100644 --- a/japanese/kterm16c/Makefile +++ b/japanese/kterm16c/Makefile @@ -7,7 +7,7 @@ PORTNAME= kterm16c PORTVERSION= 6.2.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= japanese x11 MASTER_SITES= ${MASTER_SITE_XCONTRIB} \ ftp://ftp.interface-business.de/pub/outgoing/ \ @@ -35,9 +35,13 @@ EXTRACT_DEPENDS= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf USE_IMAKE= yes USE_XORG= xaw -.include <bsd.port.pre.mk> +CONFLICTS= ja-kterm-[0-9]* -DOCDIR= ${PREFIX}/share/doc/kterm16c +.if !defined(NOPORTDOCS) +PORTDOCS= dot.termcap kterm16c.doc +.endif + +.include <bsd.port.pre.mk> post-extract: @${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \ @@ -77,9 +81,9 @@ do-install: post-install: .if !defined(NOPORTDOCS) - @${MKDIR} ${DOCDIR} - @${INSTALL_DATA} ${FILESDIR}/dot.termcap ${DOCDIR} - @${INSTALL_DATA} ${FILESDIR}/kterm16c.doc ${DOCDIR} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${FILESDIR}/dot.termcap \ + ${FILESDIR}/kterm16c.doc ${DOCSDIR} .endif @${CAT} ${PKGMESSAGE} |