head	1.21;
access;
symbols
	pkgsrc-2026Q1:1.21.0.22
	pkgsrc-2026Q1-base:1.21
	pkgsrc-2025Q4:1.21.0.20
	pkgsrc-2025Q4-base:1.21
	pkgsrc-2025Q3:1.21.0.18
	pkgsrc-2025Q3-base:1.21
	pkgsrc-2025Q2:1.21.0.16
	pkgsrc-2025Q2-base:1.21
	pkgsrc-2025Q1:1.21.0.14
	pkgsrc-2025Q1-base:1.21
	pkgsrc-2024Q4:1.21.0.12
	pkgsrc-2024Q4-base:1.21
	pkgsrc-2024Q3:1.21.0.10
	pkgsrc-2024Q3-base:1.21
	pkgsrc-2024Q2:1.21.0.8
	pkgsrc-2024Q2-base:1.21
	pkgsrc-2024Q1:1.21.0.6
	pkgsrc-2024Q1-base:1.21
	pkgsrc-2023Q4:1.21.0.4
	pkgsrc-2023Q4-base:1.21
	pkgsrc-2023Q3:1.21.0.2
	pkgsrc-2023Q3-base:1.21
	pkgsrc-2023Q2:1.20.0.86
	pkgsrc-2023Q2-base:1.20
	pkgsrc-2023Q1:1.20.0.84
	pkgsrc-2023Q1-base:1.20
	pkgsrc-2022Q4:1.20.0.82
	pkgsrc-2022Q4-base:1.20
	pkgsrc-2022Q3:1.20.0.80
	pkgsrc-2022Q3-base:1.20
	pkgsrc-2022Q2:1.20.0.78
	pkgsrc-2022Q2-base:1.20
	pkgsrc-2022Q1:1.20.0.76
	pkgsrc-2022Q1-base:1.20
	pkgsrc-2021Q4:1.20.0.74
	pkgsrc-2021Q4-base:1.20
	pkgsrc-2021Q3:1.20.0.72
	pkgsrc-2021Q3-base:1.20
	pkgsrc-2021Q2:1.20.0.70
	pkgsrc-2021Q2-base:1.20
	pkgsrc-2021Q1:1.20.0.68
	pkgsrc-2021Q1-base:1.20
	pkgsrc-2020Q4:1.20.0.66
	pkgsrc-2020Q4-base:1.20
	pkgsrc-2020Q3:1.20.0.64
	pkgsrc-2020Q3-base:1.20
	pkgsrc-2020Q2:1.20.0.60
	pkgsrc-2020Q2-base:1.20
	pkgsrc-2020Q1:1.20.0.40
	pkgsrc-2020Q1-base:1.20
	pkgsrc-2019Q4:1.20.0.62
	pkgsrc-2019Q4-base:1.20
	pkgsrc-2019Q3:1.20.0.58
	pkgsrc-2019Q3-base:1.20
	pkgsrc-2019Q2:1.20.0.56
	pkgsrc-2019Q2-base:1.20
	pkgsrc-2019Q1:1.20.0.54
	pkgsrc-2019Q1-base:1.20
	pkgsrc-2018Q4:1.20.0.52
	pkgsrc-2018Q4-base:1.20
	pkgsrc-2018Q3:1.20.0.50
	pkgsrc-2018Q3-base:1.20
	pkgsrc-2018Q2:1.20.0.48
	pkgsrc-2018Q2-base:1.20
	pkgsrc-2018Q1:1.20.0.46
	pkgsrc-2018Q1-base:1.20
	pkgsrc-2017Q4:1.20.0.44
	pkgsrc-2017Q4-base:1.20
	pkgsrc-2017Q3:1.20.0.42
	pkgsrc-2017Q3-base:1.20
	pkgsrc-2017Q2:1.20.0.38
	pkgsrc-2017Q2-base:1.20
	pkgsrc-2017Q1:1.20.0.36
	pkgsrc-2017Q1-base:1.20
	pkgsrc-2016Q4:1.20.0.34
	pkgsrc-2016Q4-base:1.20
	pkgsrc-2016Q3:1.20.0.32
	pkgsrc-2016Q3-base:1.20
	pkgsrc-2016Q2:1.20.0.30
	pkgsrc-2016Q2-base:1.20
	pkgsrc-2016Q1:1.20.0.28
	pkgsrc-2016Q1-base:1.20
	pkgsrc-2015Q4:1.20.0.26
	pkgsrc-2015Q4-base:1.20
	pkgsrc-2015Q3:1.20.0.24
	pkgsrc-2015Q3-base:1.20
	pkgsrc-2015Q2:1.20.0.22
	pkgsrc-2015Q2-base:1.20
	pkgsrc-2015Q1:1.20.0.20
	pkgsrc-2015Q1-base:1.20
	pkgsrc-2014Q4:1.20.0.18
	pkgsrc-2014Q4-base:1.20
	pkgsrc-2014Q3:1.20.0.16
	pkgsrc-2014Q3-base:1.20
	pkgsrc-2014Q2:1.20.0.14
	pkgsrc-2014Q2-base:1.20
	pkgsrc-2014Q1:1.20.0.12
	pkgsrc-2014Q1-base:1.20
	pkgsrc-2013Q4:1.20.0.10
	pkgsrc-2013Q4-base:1.20
	pkgsrc-2013Q3:1.20.0.8
	pkgsrc-2013Q3-base:1.20
	pkgsrc-2013Q2:1.20.0.6
	pkgsrc-2013Q2-base:1.20
	pkgsrc-2013Q1:1.20.0.4
	pkgsrc-2013Q1-base:1.20
	pkgsrc-2012Q4:1.20.0.2
	pkgsrc-2012Q4-base:1.20
	pkgsrc-2012Q3:1.19.0.8
	pkgsrc-2012Q3-base:1.19
	pkgsrc-2012Q2:1.19.0.6
	pkgsrc-2012Q2-base:1.19
	pkgsrc-2012Q1:1.19.0.4
	pkgsrc-2012Q1-base:1.19
	pkgsrc-2011Q4:1.19.0.2
	pkgsrc-2011Q4-base:1.19
	pkgsrc-2011Q3:1.18.0.18
	pkgsrc-2011Q3-base:1.18
	pkgsrc-2011Q2:1.18.0.16
	pkgsrc-2011Q2-base:1.18
	pkgsrc-2011Q1:1.18.0.14
	pkgsrc-2011Q1-base:1.18
	pkgsrc-2010Q4:1.18.0.12
	pkgsrc-2010Q4-base:1.18
	pkgsrc-2010Q3:1.18.0.10
	pkgsrc-2010Q3-base:1.18
	pkgsrc-2010Q2:1.18.0.8
	pkgsrc-2010Q2-base:1.18
	pkgsrc-2010Q1:1.18.0.6
	pkgsrc-2010Q1-base:1.18
	pkgsrc-2009Q4:1.18.0.4
	pkgsrc-2009Q4-base:1.18
	pkgsrc-2009Q3:1.18.0.2
	pkgsrc-2009Q3-base:1.18
	pkgsrc-2009Q2:1.17.0.10
	pkgsrc-2009Q2-base:1.17
	pkgsrc-2009Q1:1.17.0.8
	pkgsrc-2009Q1-base:1.17
	pkgsrc-2008Q4:1.17.0.6
	pkgsrc-2008Q4-base:1.17
	pkgsrc-2008Q3:1.17.0.4
	pkgsrc-2008Q3-base:1.17
	cube-native-xorg:1.17.0.2
	cube-native-xorg-base:1.17
	pkgsrc-2008Q2:1.16.0.16
	pkgsrc-2008Q2-base:1.16
	cwrapper:1.16.0.14
	pkgsrc-2008Q1:1.16.0.12
	pkgsrc-2008Q1-base:1.16
	pkgsrc-2007Q4:1.16.0.10
	pkgsrc-2007Q4-base:1.16
	pkgsrc-2007Q3:1.16.0.8
	pkgsrc-2007Q3-base:1.16
	pkgsrc-2007Q2:1.16.0.6
	pkgsrc-2007Q2-base:1.16
	pkgsrc-2007Q1:1.16.0.4
	pkgsrc-2007Q1-base:1.16
	pkgsrc-2006Q4:1.16.0.2
	pkgsrc-2006Q4-base:1.16
	pkgsrc-2006Q3:1.15.0.2
	pkgsrc-2006Q3-base:1.15
	pkgsrc-2006Q2:1.14.0.2
	pkgsrc-2006Q2-base:1.14
	pkgsrc-2006Q1:1.13.0.2
	pkgsrc-2006Q1-base:1.13
	pkgsrc-2005Q4:1.11.0.2
	pkgsrc-2005Q4-base:1.11
	pkgsrc-2005Q3:1.10.0.4
	pkgsrc-2005Q3-base:1.10
	pkgsrc-2005Q2:1.10.0.2
	pkgsrc-2005Q2-base:1.10
	pkgsrc-2005Q1:1.8.0.4
	pkgsrc-2005Q1-base:1.8
	pkgsrc-2004Q4:1.8.0.2
	pkgsrc-2004Q4-base:1.8
	pkgsrc-2004Q3:1.5.0.4
	pkgsrc-2004Q3-base:1.5
	pkgsrc-2004Q2:1.5.0.2
	pkgsrc-2004Q2-base:1.5
	pkgsrc-2004Q1:1.4.0.4
	pkgsrc-2004Q1-base:1.4
	pkgsrc-2003Q4:1.4.0.2
	pkgsrc-2003Q4-base:1.4
	netbsd-1-6-1:1.2.0.2
	netbsd-1-6-1-base:1.2
	netbsd-1-6:1.1.1.1.0.4
	netbsd-1-6-RELEASE-base:1.1
	pkgviews:1.1.1.1.0.6
	pkgviews-base:1.1
	buildlink2-base:1.1.1.1
	buildlink2:1.1.1.1.0.2
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.21
date	2023.07.11.06.04.18;	author nia;	state Exp;
branches;
next	1.20;
commitid	sROIYYT5QUtKDlwE;

1.20
date	2012.10.25.06.57.01;	author asau;	state Exp;
branches;
next	1.19;

1.19
date	2011.12.09.14.36.36;	author drochner;	state Exp;
branches;
next	1.18;

1.18
date	2009.07.07.20.46.04;	author joerg;	state Exp;
branches;
next	1.17;

1.17
date	2008.08.12.17.20.19;	author joerg;	state Exp;
branches;
next	1.16;

1.16
date	2006.10.02.23.30.30;	author rillig;	state Exp;
branches;
next	1.15;

1.15
date	2006.09.09.02.46.08;	author obache;	state Exp;
branches;
next	1.14;

1.14
date	2006.04.28.18.48.25;	author joerg;	state Exp;
branches;
next	1.13;

1.13
date	2006.02.21.22.39.51;	author wiz;	state Exp;
branches;
next	1.12;

1.12
date	2006.02.05.23.11.07;	author joerg;	state Exp;
branches;
next	1.11;

1.11
date	2005.12.12.21.36.56;	author joerg;	state Exp;
branches;
next	1.10;

1.10
date	2005.06.01.18.03.23;	author jlam;	state Exp;
branches;
next	1.9;

1.9
date	2005.04.11.21.47.42;	author tv;	state Exp;
branches;
next	1.8;

1.8
date	2004.11.13.21.28.29;	author jlam;	state Exp;
branches;
next	1.7;

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

1.6
date	2004.10.03.00.18.21;	author tv;	state Exp;
branches;
next	1.5;

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

1.4
date	2003.11.10.13.23.05;	author gavan;	state Exp;
branches;
next	1.3;

1.3
date	2003.07.17.22.54.51;	author grant;	state Exp;
branches;
next	1.2;

1.2
date	2002.09.23.23.30.25;	author jlam;	state Exp;
branches;
next	1.1;

1.1
date	2002.06.15.09.21.43;	author shell;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2002.06.15.09.21.43;	author shell;	state Exp;
branches
	1.1.1.1.2.1;
next	;

1.1.1.1.2.1
date	2002.06.15.09.21.43;	author jlam;	state dead;
branches;
next	1.1.1.1.2.2;

1.1.1.1.2.2
date	2002.06.23.19.02.48;	author jlam;	state Exp;
branches;
next	;


desc
@@


1.21
log
@stardic: Add missing include required for FILE.
@
text
@# $NetBSD: Makefile,v 1.20 2012/10/25 06:57:01 asau Exp $

DISTNAME=	dic
PKGNAME=	stardic-1.31
PKGREVISION=	8
CATEGORIES=	textproc
MASTER_SITES=	http://download.linuxbyte.net/Chinese/dictionary/
DIST_SUBDIR=	${PKGNAME_NOREV}

MAINTAINER=	rxg@@NetBSD.org
COMMENT=	English-Chinese dictionary

MAKE_FILE=	makefile
USE_LANGUAGES=	c c++

FONTS_DIRS.x11+=	${PREFIX}/share/stardic/hzfont
REQD_DIRS+=		${PREFIX}/share/stardic ${PREFIX}/share/stardic/hzfont

INSTALLATION_DIRS=	bin

post-extract:
	chmod -R u+w,go-w ${WRKSRC}

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


1.20
log
@Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2011/12/09 14:36:36 drochner Exp $
d5 1
a5 1
PKGREVISION=	7
@


1.19
log
@PKGREV bump for libXp-less openmotif
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2009/07/07 20:46:04 joerg Exp $
a12 2
PKG_DESTDIR_SUPPORT=	user-destdir

@


1.18
log
@user-destdir support
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2008/08/12 17:20:19 joerg Exp $
d5 1
a5 1
PKGREVISION=	6
@


1.17
log
@Don't try to make the pkgsrc tree writeable.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2006/10/02 23:30:30 rillig Exp $
d13 2
d21 2
@


1.16
log
@Fixed file permissions during the build. Bumped PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2006/09/09 02:46:08 obache Exp $
d20 1
a20 1
	chmod -R u+w,go-w . ${WRKSRC}
@


1.15
log
@Rename variable MAKEFILE to MAKE_FILE.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2006/04/28 18:48:25 joerg Exp $
d5 1
a5 1
PKGREVISION=	5
d8 1
a12 2
DIST_SUBDIR=	${PKGNAME_NOREV}

d19 3
@


1.14
log
@fonts.dir is managed by install framework, don't list. Bump revision.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2006/02/21 22:39:51 wiz Exp $
d14 1
a14 1
MAKEFILE=	makefile
@


1.13
log
@Use pkginstall font handling. Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2006/02/05 23:11:07 joerg Exp $
d5 1
a5 1
PKGREVISION=	4
@


1.12
log
@Recursive revision bump / recommended bump for gettext ABI change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2005/12/12 21:36:56 joerg Exp $
d5 1
a5 1
PKGREVISION=	3
d17 2
a18 7
post-patch:
	${CHMOD} u+w  ${WRKSRC}/hzfont
	${MV} ${WRKSRC}/hzfont/fonts.dir ${WRKSRC}/hzfont/fonts.dir.orig
	${ECHO} '3' > ${WRKSRC}/hzfont/fonts.dir
	${ECHO} 'hz16.pcf.gz hz16' >> ${WRKSRC}/hzfont/fonts.dir
	${ECHO} 'hz16ft.pcf.gz hz16ft' >> ${WRKSRC}/hzfont/fonts.dir
	${ECHO} 'yb10x20.pcf.gz yb10x20' >> ${WRKSRC}/hzfont/fonts.dir
@


1.11
log
@Bump all motif packages for recent openmotif update. The major version
of the shared libXm has changed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2005/06/01 18:03:23 jlam Exp $
d5 1
a5 1
PKGREVISION=	2
@


1.10
log
@Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2005/04/11 21:47:42 tv Exp $
d5 1
a5 1
PKGREVISION=	1
@


1.9
log
@Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2004/11/13 21:28:29 jlam Exp $
a13 1
USE_X11=	# defined
@


1.8
log
@USE_BUILDLINK3 is a yes/no variable.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2004/10/05 13:16:56 wiz Exp $
a13 1
USE_BUILDLINK3=	yes
@


1.7
log
@Set DIST_SUBDIR to PKGNAME_NOREV, not PKGNAME, since the latter
changes with PKGREVISION settings. Closes PR 27148.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2004/10/03 00:18:21 tv Exp $
d14 1
a14 1
USE_BUILDLINK3=	# defined
@


1.6
log
@Libtool fix for PR pkg/26633, and other issues.  Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2004/05/03 23:00:20 wiz Exp $
d12 1
a12 1
DIST_SUBDIR=	${PKGNAME}
@


1.5
log
@Convert to bl3 and make build with gcc3.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2003/11/10 13:23:05 gavan Exp $
d5 1
@


1.4
log
@Set USE_GCC_SHLIB. Fixes linking on Solaris.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2003/07/17 22:54:51 grant Exp $
d13 1
a13 2
USE_BUILDLINK2=	# defined
USE_GCC_SHLIB=	# defined
d16 1
d19 1
d26 1
a26 1
.include "../../mk/motif.buildlink2.mk"
@


1.3
log
@s/netbsd.org/NetBSD.org/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2002/09/23 23:30:25 jlam Exp $
d14 1
@


1.2
log
@buildlink1 -> buildlink2
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2002/06/15 09:21:43 shell Exp $
d8 1
a8 1
MAINTAINER=	rxg@@netbsd.org
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD$
d13 2
d24 1
a24 2
.include "../../mk/motif.buildlink.mk"
.include "../../mk/x11.buildlink.mk"
@


1.1.1.1
log
@Initial import of stardic-1.31

(PR#16410 by Rui-Xiang Guo <rxg@@netbsd.org>)

English-Chinese dictionary
---
* an English-Chinese dictionary software for Unix;
* about 50000 words, some have phonetic symbols;
* rule match;
* fetch word from screen;
* no Chinese environment needed;


@
text
@@


1.1.1.1.2.1
log
@file Makefile was added on branch buildlink2 on 2002-06-23 19:02:48 +0000
@
text
@d1 24
@


1.1.1.1.2.2
log
@Merge from pkgsrc-current to buildlink2 branch.
@
text
@a0 24
# $NetBSD: Makefile,v 1.1.1.1.2.1 2002/06/23 19:02:48 jlam Exp $

DISTNAME=	dic
PKGNAME=	stardic-1.31
CATEGORIES=	textproc
MASTER_SITES=	http://download.linuxbyte.net/Chinese/dictionary/

MAINTAINER=	rxg@@netbsd.org
COMMENT=	English-Chinese dictionary

DIST_SUBDIR=	${PKGNAME}

MAKEFILE=	makefile

post-patch:
	${MV} ${WRKSRC}/hzfont/fonts.dir ${WRKSRC}/hzfont/fonts.dir.orig
	${ECHO} '3' > ${WRKSRC}/hzfont/fonts.dir
	${ECHO} 'hz16.pcf.gz hz16' >> ${WRKSRC}/hzfont/fonts.dir
	${ECHO} 'hz16ft.pcf.gz hz16ft' >> ${WRKSRC}/hzfont/fonts.dir
	${ECHO} 'yb10x20.pcf.gz yb10x20' >> ${WRKSRC}/hzfont/fonts.dir

.include "../../mk/motif.buildlink.mk"
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"
@
