head	1.9;
access;
symbols
	pkgsrc-2013Q2:1.9.0.54
	pkgsrc-2013Q2-base:1.9
	pkgsrc-2012Q4:1.9.0.52
	pkgsrc-2012Q4-base:1.9
	pkgsrc-2011Q4:1.9.0.50
	pkgsrc-2011Q4-base:1.9
	pkgsrc-2011Q2:1.9.0.48
	pkgsrc-2011Q2-base:1.9
	pkgsrc-2009Q4:1.9.0.46
	pkgsrc-2009Q4-base:1.9
	pkgsrc-2008Q4:1.9.0.44
	pkgsrc-2008Q4-base:1.9
	pkgsrc-2008Q3:1.9.0.42
	pkgsrc-2008Q3-base:1.9
	cube-native-xorg:1.9.0.40
	cube-native-xorg-base:1.9
	pkgsrc-2008Q2:1.9.0.38
	pkgsrc-2008Q2-base:1.9
	pkgsrc-2008Q1:1.9.0.36
	pkgsrc-2008Q1-base:1.9
	pkgsrc-2007Q4:1.9.0.34
	pkgsrc-2007Q4-base:1.9
	pkgsrc-2007Q3:1.9.0.32
	pkgsrc-2007Q3-base:1.9
	pkgsrc-2007Q2:1.9.0.30
	pkgsrc-2007Q2-base:1.9
	pkgsrc-2007Q1:1.9.0.28
	pkgsrc-2007Q1-base:1.9
	pkgsrc-2006Q4:1.9.0.26
	pkgsrc-2006Q4-base:1.9
	pkgsrc-2006Q3:1.9.0.24
	pkgsrc-2006Q3-base:1.9
	pkgsrc-2006Q2:1.9.0.22
	pkgsrc-2006Q2-base:1.9
	pkgsrc-2006Q1:1.9.0.20
	pkgsrc-2006Q1-base:1.9
	pkgsrc-2005Q4:1.9.0.18
	pkgsrc-2005Q4-base:1.9
	pkgsrc-2005Q3:1.9.0.16
	pkgsrc-2005Q3-base:1.9
	pkgsrc-2005Q2:1.9.0.14
	pkgsrc-2005Q2-base:1.9
	pkgsrc-2005Q1:1.9.0.12
	pkgsrc-2005Q1-base:1.9
	pkgsrc-2004Q4:1.9.0.10
	pkgsrc-2004Q4-base:1.9
	pkgsrc-2004Q3:1.9.0.8
	pkgsrc-2004Q3-base:1.9
	pkgsrc-2004Q2:1.9.0.6
	pkgsrc-2004Q2-base:1.9
	pkgsrc-2004Q1:1.9.0.4
	pkgsrc-2004Q1-base:1.9
	pkgsrc-2003Q4:1.9.0.2
	pkgsrc-2003Q4-base:1.9
	buildlink2:1.8.0.2
	buildlink2-base:1.9
	netbsd-1-5-PATCH003:1.8
	netbsd-1-5-PATCH001:1.7
	netbsd-1-5-RELEASE:1.6
	netbsd-1-4-PATCH003:1.6
	netbsd-1-4-PATCH002:1.5
	FreeBSD-current-1999-11-02:1.1.1.1
	FREEBSD:1.1.1;
locks; strict;
comment	@# @;


1.9
date	2002.05.31.15.37.48;	author seb;	state dead;
branches;
next	1.8;

1.8
date	2001.09.27.23.18.15;	author jlam;	state Exp;
branches
	1.8.2.1;
next	1.7;

1.7
date	2001.02.16.15.25.33;	author wiz;	state Exp;
branches;
next	1.6;

1.6
date	2000.05.16.11.20.02;	author sakamoto;	state Exp;
branches;
next	1.5;

1.5
date	2000.01.05.01.12.50;	author wiz;	state Exp;
branches;
next	1.4;

1.4
date	99.11.04.10.53.23;	author agc;	state Exp;
branches;
next	1.3;

1.3
date	99.11.02.11.50.32;	author agc;	state Exp;
branches;
next	1.2;

1.2
date	99.11.02.11.19.12;	author sakamoto;	state Exp;
branches;
next	1.1;

1.1
date	99.11.02.11.15.42;	author sakamoto;	state Exp;
branches
	1.1.1.1;
next	;

1.8.2.1
date	2002.06.23.18.50.07;	author jlam;	state dead;
branches;
next	;

1.1.1.1
date	99.11.02.11.15.42;	author sakamoto;	state Exp;
branches;
next	;


desc
@@


1.9
log
@Remove all package and category files from the japanese category.
This effectively retire the japanese category.
@
text
@# $NetBSD: Makefile,v 1.8 2001/09/27 23:18:15 jlam Exp $
# FreeBSD Id: ports/japanese/xjman/Makefile,v 1.10 1999/10/30 15:34:24 sada Exp

DISTNAME=	xjman-0.5
CATEGORIES=	japanese x11
MASTER_SITES=	http://xjman.dsl.gr.jp/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	sakamoto@@netbsd.org
HOMEPAGE=	http://xjman.dsl.gr.jp/
COMMENT=	Japanized X manual from "The X Japanese Documentation Project"

DEPENDS+=	ja-man-[0-9]*:../../japanese/man

USE_X11BASE=	yes
PLIST_SRC=	${WRKDIR}/PLIST
WRKSRC=		${WRKDIR}/man/ja_JP.eucJP
XJMANDIR=	man/ja_JP.EUC
MAKE_ENV+=	XJMANDIR=${XJMANDIR}

NO_CONFIGURE=	yes

MANCOMPRESSED_IF_MANZ=	yes

.include "../../mk/bsd.prefs.mk"

post-extract:
.for f in Makefile Makefile.inc
	@@${CP} ${FILESDIR}/${f} ${WRKSRC}
.endfor

pre-build:
.for dir in man1 man3 man5
	@@(cd ${WRKSRC}/${dir};					\
	  for file in *; do					\
		f=`${ECHO} $$file|${SED} -e 's|x$$||'`;		\
		mlink=`head -1 $$file|${GREP} '^\.so man./'|	\
			${SED} -e 's|.*man./\(.*\)x|\1|'`; 	\
		if [ "$$mlink" = "" ]; then			\
			${ECHO} "MAN+= $$f" >> Makefile;	\
			${MV} $$file $$f;			\
		else						\
			${ECHO} "MLINKS+= $$mlink $$f" >> Makefile;	\
			${SED} -e 's|x$$||' $$file > $$f;	\
			${RM} $$file;				\
		fi;						\
	  done;							\
	  ${ECHO} ".include <bsd.prog.mk>" >> Makefile;		\
	  )
.endfor

MKCATPAGES?=	yes

post-build:
	@@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
	@@(cd ${WRKSRC};						\
	  ${FIND} man1/*.1 man3/*.3 man5/*.5 -type f |		\
		${SED} -e 's|^|${XJMANDIR}/|' | sort >> ${PLIST_SRC})
.if ${MKCATPAGES} != no
	@@(cd ${WRKSRC};						\
	  ${FIND} man1/*.1 man3/*.3 man5/*.5 -type f |		\
		${SED} -e 's|^|${XJMANDIR}/|'			\
		       -e 's|man[135]\(/.*\)\.\([135]\)$$|cat\2\1.0|' | \
		sort >> ${PLIST_SRC})
.endif

post-install:
	@@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xjman
.for i in COPYRIGHT COPYRIGHT.XJDP
	@@${INSTALL_DATA} ${FILESDIR}/$i ${PREFIX}/share/doc/xjman
.endfor
	@@${INSTALL_DATA} ${WRKDIR}/man/README ${PREFIX}/share/doc/xjman

.include "../../mk/bsd.pkg.mk"
@


1.8
log
@Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2001/02/16 15:25:33 wiz Exp $
@


1.8.2.1
log
@Merge from pkgsrc-current to buildlink2 branch.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2001/09/27 23:18:15 jlam Exp $
@


1.7
log
@Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2000/05/16 11:20:02 sakamoto Exp $
d13 1
a13 1
DEPENDS+=	ja-man-*:../../japanese/man
@


1.6
log
@Update xjman to 0.5
Changes:
	XFree86 3.3.6 base.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2000/01/05 01:12:50 wiz Exp $
d11 1
@


1.5
log
@replaced some commands by their ${COMMAND} counterparts
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 1999/11/04 10:53:23 agc Exp $
d4 1
a4 1
DISTNAME=	xjman-0.4
d12 1
a12 1
DEPENDS+=	ja-man-19990531:../../japanese/man
d16 1
a16 1
WRKSRC=		${WRKDIR}/man/ja_JP.ujis
@


1.4
log
@Initialiase MKCATPAGES (to yes) so that other operations can take place
on this Makefile.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 1999/11/02 11:50:32 agc Exp $
d36 1
a36 1
		mlink=`head -1 $$file|grep '^\.so man./'|	\
d56 1
a56 1
	  find man1/*.1 man3/*.3 man5/*.5 -type f |		\
d60 1
a60 1
	  find man1/*.1 man3/*.3 man5/*.5 -type f |		\
@


1.3
log
@Use MANCOMPRESSED_IF_MANZ
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 1999/11/02 11:19:12 sakamoto Exp $
d50 2
@


1.2
log
@Adapt this package to NetBSD.
@
text
@d1 1
a1 1
# $NetBSD$
d22 2
a24 3
.ifdef MANZ
MANCOMPRESSED=	yes
.endif
@


1.1
log
@Initial revision
@
text
@d1 2
a2 9
# New ports collection makefile for: X Japanese man documents
# Version required:	0.4
# Date created:		24 Dec 1998
# Based on:		Kiriyama Kazuhiko <kiri@@kiri.toba-cmt.ac.jp>'s
#			japanese/man-doc
# Whom:			SADA Kenji <sada@@FreeBSD.org>
#
# $FreeBSD: ports/japanese/xjman/Makefile,v 1.10 1999/10/30 15:34:24 sada Exp $
#
d5 11
a15 10
PKGNAME=	ja-${DISTNAME}
CATEGORIES=	japanese
MASTER_SITES=	${MASTER_SITE_PORTS_JP} \
		http://xjman.dsl.gr.jp/

MAINTAINER=	sada@@FreeBSD.org

NO_MTREE=	yes
PLIST=		${WRKDIR}/PLIST
USE_BZIP2=	yes
d17 4
a20 1
SCRIPTS_ENV+=	MANSECS="${MANSECS}"
d22 4
a25 1
MANSECS=	1 3 5
d28 22
a49 2
.for i in Makefile Makefile.inc
	@@${CP} ${FILESDIR}/$i ${WRKSRC}
d53 11
a63 25
	@@${RM} -f ${PLIST}
	@@for sec in ${MANSECS}; do \
	if [ -d ${WRKSRC}/man$${sec} ]; then \
		cd ${WRKSRC}/man$${sec}; \
		list=`${MAKE} pages-list`; \
		set `${ECHO} $$list " "|${SED} 's/\.\([0-9]\)x /.\1x \1 /g'`; \
		while : ; do \
			case $$# in \
				0) break;; \
				[1]) ${ECHO} "can not happen"; break;; \
			esac; \
			${ECHO} man/ja/man$$2/$$1.gz; shift 2; \
		done; \
	fi; \
	done|sort|uniq >>${PLIST}
	@@${ECHO} "@@exec ${LN} -sf %D/man/ja %D/man/ja_JP.EUC" >>${PLIST}
	@@${ECHO} "@@unexec ${RM} -f %D/man/ja_JP.EUC" >>${PLIST}
	@@${ECHO} "share/doc/xjman/COPYRIGHT" >>${PLIST}
	@@${ECHO} "share/doc/xjman/COPYRIGHT.XJDP" >>${PLIST}
	@@${ECHO} "@@dirrm share/doc/xjman" >>${PLIST}

pre-install:
.for sec in ${MANSECS}
	@@${MKDIR} ${PREFIX}/man/ja/man${sec}
.endfor
d66 1
a66 1
	@@${MKDIR} ${PREFIX}/share/doc/xjman
d68 1
a68 1
	@@${INSTALL_DATA} ${FILESDIR}/$i ${PREFIX}/share/doc/xjman/
d70 1
a70 1
	@@${CAT} ${PKGDIR}/MESSAGE
d72 1
a72 1
.include <bsd.port.mk>
@


1.1.1.1
log
@Import FreeBSD's "ja-xjman" port:
Japanized X manual from "The X Japanese Documentation Project"
@
text
@@
