From f781a15e9a191d0b02d794ab7c7479d20744cc1d Mon Sep 17 00:00:00 2001 From: Hiroki Sato Date: Wed, 23 Jul 2008 04:57:56 +0000 Subject: - Fix build with NOPORTDOCS=yes. - Add CONFLICTS=ja-kterm-[0-9]*. Spotted by: QA Tindy --- japanese/kterm16c/Makefile | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'japanese/kterm16c/Makefile') 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 +CONFLICTS= ja-kterm-[0-9]* -DOCDIR= ${PREFIX}/share/doc/kterm16c +.if !defined(NOPORTDOCS) +PORTDOCS= dot.termcap kterm16c.doc +.endif + +.include 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} -- cgit v1.2.3