head	1.55;
access;
symbols
	pkgsrc-2026Q1:1.55.0.32
	pkgsrc-2026Q1-base:1.55
	pkgsrc-2025Q4:1.55.0.30
	pkgsrc-2025Q4-base:1.55
	pkgsrc-2025Q3:1.55.0.28
	pkgsrc-2025Q3-base:1.55
	pkgsrc-2025Q2:1.55.0.26
	pkgsrc-2025Q2-base:1.55
	pkgsrc-2025Q1:1.55.0.24
	pkgsrc-2025Q1-base:1.55
	pkgsrc-2024Q4:1.55.0.22
	pkgsrc-2024Q4-base:1.55
	pkgsrc-2024Q3:1.55.0.20
	pkgsrc-2024Q3-base:1.55
	pkgsrc-2024Q2:1.55.0.18
	pkgsrc-2024Q2-base:1.55
	pkgsrc-2024Q1:1.55.0.16
	pkgsrc-2024Q1-base:1.55
	pkgsrc-2023Q4:1.55.0.14
	pkgsrc-2023Q4-base:1.55
	pkgsrc-2023Q3:1.55.0.12
	pkgsrc-2023Q3-base:1.55
	pkgsrc-2023Q2:1.55.0.10
	pkgsrc-2023Q2-base:1.55
	pkgsrc-2023Q1:1.55.0.8
	pkgsrc-2023Q1-base:1.55
	pkgsrc-2022Q4:1.55.0.6
	pkgsrc-2022Q4-base:1.55
	pkgsrc-2022Q3:1.55.0.4
	pkgsrc-2022Q3-base:1.55
	pkgsrc-2022Q2:1.55.0.2
	pkgsrc-2022Q2-base:1.55
	pkgsrc-2022Q1:1.54.0.20
	pkgsrc-2022Q1-base:1.54
	pkgsrc-2021Q4:1.54.0.18
	pkgsrc-2021Q4-base:1.54
	pkgsrc-2021Q3:1.54.0.16
	pkgsrc-2021Q3-base:1.54
	pkgsrc-2021Q2:1.54.0.14
	pkgsrc-2021Q2-base:1.54
	pkgsrc-2021Q1:1.54.0.12
	pkgsrc-2021Q1-base:1.54
	pkgsrc-2020Q4:1.54.0.10
	pkgsrc-2020Q4-base:1.54
	pkgsrc-2020Q3:1.54.0.8
	pkgsrc-2020Q3-base:1.54
	pkgsrc-2020Q2:1.54.0.6
	pkgsrc-2020Q2-base:1.54
	pkgsrc-2020Q1:1.54.0.2
	pkgsrc-2020Q1-base:1.54
	pkgsrc-2019Q4:1.54.0.4
	pkgsrc-2019Q4-base:1.54
	pkgsrc-2019Q3:1.53.0.4
	pkgsrc-2019Q3-base:1.53
	pkgsrc-2019Q2:1.53.0.2
	pkgsrc-2019Q2-base:1.53
	pkgsrc-2019Q1:1.52.0.6
	pkgsrc-2019Q1-base:1.52
	pkgsrc-2018Q4:1.52.0.4
	pkgsrc-2018Q4-base:1.52
	pkgsrc-2018Q3:1.52.0.2
	pkgsrc-2018Q3-base:1.52
	pkgsrc-2018Q2:1.51.0.32
	pkgsrc-2018Q2-base:1.51
	pkgsrc-2018Q1:1.51.0.30
	pkgsrc-2018Q1-base:1.51
	pkgsrc-2017Q4:1.51.0.28
	pkgsrc-2017Q4-base:1.51
	pkgsrc-2017Q3:1.51.0.26
	pkgsrc-2017Q3-base:1.51
	pkgsrc-2017Q2:1.51.0.22
	pkgsrc-2017Q2-base:1.51
	pkgsrc-2017Q1:1.51.0.20
	pkgsrc-2017Q1-base:1.51
	pkgsrc-2016Q4:1.51.0.18
	pkgsrc-2016Q4-base:1.51
	pkgsrc-2016Q3:1.51.0.16
	pkgsrc-2016Q3-base:1.51
	pkgsrc-2016Q2:1.51.0.14
	pkgsrc-2016Q2-base:1.51
	pkgsrc-2016Q1:1.51.0.12
	pkgsrc-2016Q1-base:1.51
	pkgsrc-2015Q4:1.51.0.10
	pkgsrc-2015Q4-base:1.51
	pkgsrc-2015Q3:1.51.0.8
	pkgsrc-2015Q3-base:1.51
	pkgsrc-2015Q2:1.51.0.6
	pkgsrc-2015Q2-base:1.51
	pkgsrc-2015Q1:1.51.0.4
	pkgsrc-2015Q1-base:1.51
	pkgsrc-2014Q4:1.51.0.2
	pkgsrc-2014Q4-base:1.51
	pkgsrc-2014Q3:1.50.0.16
	pkgsrc-2014Q3-base:1.50
	pkgsrc-2014Q2:1.50.0.14
	pkgsrc-2014Q2-base:1.50
	pkgsrc-2014Q1:1.50.0.12
	pkgsrc-2014Q1-base:1.50
	pkgsrc-2013Q4:1.50.0.10
	pkgsrc-2013Q4-base:1.50
	pkgsrc-2013Q3:1.50.0.8
	pkgsrc-2013Q3-base:1.50
	pkgsrc-2013Q2:1.50.0.6
	pkgsrc-2013Q2-base:1.50
	pkgsrc-2013Q1:1.50.0.4
	pkgsrc-2013Q1-base:1.50
	pkgsrc-2012Q4:1.50.0.2
	pkgsrc-2012Q4-base:1.50
	pkgsrc-2012Q3:1.49.0.2
	pkgsrc-2012Q3-base:1.49
	pkgsrc-2012Q2:1.48.0.4
	pkgsrc-2012Q2-base:1.48
	pkgsrc-2012Q1:1.48.0.2
	pkgsrc-2012Q1-base:1.48
	pkgsrc-2011Q4:1.45.0.2
	pkgsrc-2011Q4-base:1.45
	pkgsrc-2011Q3:1.44.0.4
	pkgsrc-2011Q3-base:1.44
	pkgsrc-2011Q2:1.44.0.2
	pkgsrc-2011Q2-base:1.44
	pkgsrc-2011Q1:1.43.0.2
	pkgsrc-2011Q1-base:1.43
	pkgsrc-2010Q4:1.42.0.4
	pkgsrc-2010Q4-base:1.42
	pkgsrc-2010Q3:1.42.0.2
	pkgsrc-2010Q3-base:1.42
	pkgsrc-2010Q2:1.41.0.12
	pkgsrc-2010Q2-base:1.41
	pkgsrc-2010Q1:1.41.0.10
	pkgsrc-2010Q1-base:1.41
	pkgsrc-2009Q4:1.41.0.8
	pkgsrc-2009Q4-base:1.41
	pkgsrc-2009Q3:1.41.0.6
	pkgsrc-2009Q3-base:1.41
	pkgsrc-2009Q2:1.41.0.4
	pkgsrc-2009Q2-base:1.41
	pkgsrc-2009Q1:1.41.0.2
	pkgsrc-2009Q1-base:1.41
	pkgsrc-2008Q4:1.39.0.2
	pkgsrc-2008Q4-base:1.39
	pkgsrc-2008Q3:1.38.0.8
	pkgsrc-2008Q3-base:1.38
	cube-native-xorg:1.38.0.6
	cube-native-xorg-base:1.38
	pkgsrc-2008Q2:1.38.0.4
	pkgsrc-2008Q2-base:1.38
	cwrapper:1.38.0.2
	pkgsrc-2008Q1:1.37.0.2
	pkgsrc-2008Q1-base:1.37
	pkgsrc-2007Q4:1.35.0.2
	pkgsrc-2007Q4-base:1.35
	pkgsrc-2007Q3:1.34.0.2
	pkgsrc-2007Q3-base:1.34
	pkgsrc-2007Q2:1.33.0.6
	pkgsrc-2007Q2-base:1.33
	pkgsrc-2007Q1:1.33.0.4
	pkgsrc-2007Q1-base:1.33
	pkgsrc-2006Q4:1.33.0.2
	pkgsrc-2006Q4-base:1.33
	pkgsrc-2006Q3:1.32.0.4
	pkgsrc-2006Q3-base:1.32
	pkgsrc-2006Q2:1.32.0.2
	pkgsrc-2006Q2-base:1.32
	pkgsrc-2006Q1:1.31.0.2
	pkgsrc-2006Q1-base:1.31
	pkgsrc-2005Q4:1.27.0.4
	pkgsrc-2005Q4-base:1.27
	pkgsrc-2005Q3:1.27.0.2
	pkgsrc-2005Q3-base:1.27
	pkgsrc-2005Q2:1.22.0.2
	pkgsrc-2005Q2-base:1.22
	pkgsrc-2005Q1:1.18.0.4
	pkgsrc-2005Q1-base:1.18
	pkgsrc-2004Q4:1.18.0.2
	pkgsrc-2004Q4-base:1.18
	pkgsrc-2004Q3:1.15.0.4
	pkgsrc-2004Q3-base:1.15
	pkgsrc-2004Q2:1.15.0.2
	pkgsrc-2004Q2-base:1.15
	pkgsrc-2004Q1:1.12.0.2
	pkgsrc-2004Q1-base:1.12
	pkgsrc-2003Q4:1.8.0.2
	pkgsrc-2003Q4-base:1.8
	netbsd-1-6-1:1.5.0.2
	netbsd-1-6-1-base:1.5
	netbsd-1-6:1.1.1.1.0.6
	netbsd-1-6-RELEASE-base:1.1.1.1
	pkgviews:1.1.1.1.0.2
	pkgviews-base:1.1.1.1
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.55
date	2022.06.08.19.00.13;	author chuck;	state Exp;
branches;
next	1.54;
commitid	GJ26lpZP8oaVHgHD;

1.54
date	2019.11.02.22.24.43;	author rillig;	state Exp;
branches;
next	1.53;
commitid	j6beQ3JHM5EpmkJB;

1.53
date	2019.05.23.19.23.01;	author rillig;	state Exp;
branches;
next	1.52;
commitid	aWlQW8HYUUFCAmoB;

1.52
date	2018.07.04.13.40.18;	author jperkin;	state Exp;
branches;
next	1.51;
commitid	NnIyRkdX3Lbg3PIA;

1.51
date	2014.10.09.14.06.33;	author wiz;	state Exp;
branches;
next	1.50;
commitid	fBDATFVmQ3454xTx;

1.50
date	2012.10.03.18.28.30;	author asau;	state Exp;
branches;
next	1.49;

1.49
date	2012.07.17.13.22.27;	author jperkin;	state Exp;
branches;
next	1.48;

1.48
date	2012.02.02.09.34.32;	author hans;	state Exp;
branches;
next	1.47;

1.47
date	2012.01.16.12.42.56;	author drochner;	state Exp;
branches;
next	1.46;

1.46
date	2012.01.10.19.21.15;	author drochner;	state Exp;
branches;
next	1.45;

1.45
date	2012.01.04.16.59.15;	author drochner;	state Exp;
branches
	1.45.2.1;
next	1.44;

1.44
date	2011.04.22.13.43.32;	author obache;	state Exp;
branches;
next	1.43;

1.43
date	2011.03.08.17.13.33;	author drochner;	state Exp;
branches;
next	1.42;

1.42
date	2010.07.08.18.48.47;	author jdolecek;	state Exp;
branches;
next	1.41;

1.41
date	2009.02.25.07.54.07;	author sno;	state Exp;
branches;
next	1.40;

1.40
date	2009.01.04.02.25.27;	author minskim;	state Exp;
branches;
next	1.39;

1.39
date	2008.11.10.17.21.35;	author wiz;	state Exp;
branches;
next	1.38;

1.38
date	2008.05.26.02.13.18;	author joerg;	state Exp;
branches;
next	1.37;

1.37
date	2008.02.16.13.19.56;	author wiz;	state Exp;
branches;
next	1.36;

1.36
date	2008.02.11.18.53.38;	author bjs;	state Exp;
branches;
next	1.35;

1.35
date	2007.11.02.00.41.04;	author uebayasi;	state Exp;
branches;
next	1.34;

1.34
date	2007.09.28.08.42.07;	author drochner;	state Exp;
branches;
next	1.33;

1.33
date	2006.11.06.11.25.24;	author joerg;	state Exp;
branches;
next	1.32;

1.32
date	2006.04.08.07.21.28;	author reed;	state Exp;
branches;
next	1.31;

1.31
date	2006.03.04.21.29.40;	author jlam;	state Exp;
branches;
next	1.30;

1.30
date	2006.02.05.23.09.11;	author joerg;	state Exp;
branches;
next	1.29;

1.29
date	2006.01.05.20.13.34;	author joerg;	state Exp;
branches;
next	1.28;

1.28
date	2005.12.29.06.21.41;	author jlam;	state Exp;
branches;
next	1.27;

1.27
date	2005.09.09.16.59.55;	author tonio;	state Exp;
branches;
next	1.26;

1.26
date	2005.09.09.12.31.22;	author tonio;	state Exp;
branches;
next	1.25;

1.25
date	2005.09.07.17.46.28;	author reed;	state Exp;
branches;
next	1.24;

1.24
date	2005.08.19.15.51.48;	author drochner;	state Exp;
branches;
next	1.23;

1.23
date	2005.08.04.09.57.17;	author adam;	state Exp;
branches;
next	1.22;

1.22
date	2005.06.15.04.43.09;	author jlam;	state Exp;
branches;
next	1.21;

1.21
date	2005.06.01.18.02.49;	author jlam;	state Exp;
branches;
next	1.20;

1.20
date	2005.05.22.20.08.00;	author jlam;	state Exp;
branches;
next	1.19;

1.19
date	2005.04.11.21.45.47;	author tv;	state Exp;
branches;
next	1.18;

1.18
date	2004.12.03.15.14.57;	author wiz;	state Exp;
branches;
next	1.17;

1.17
date	2004.11.22.23.48.22;	author wiz;	state Exp;
branches;
next	1.16;

1.16
date	2004.10.03.00.14.42;	author tv;	state Exp;
branches;
next	1.15;

1.15
date	2004.06.19.14.38.56;	author markd;	state Exp;
branches;
next	1.14;

1.14
date	2004.04.19.04.30.03;	author minskim;	state Exp;
branches;
next	1.13;

1.13
date	2004.04.15.14.14.34;	author minskim;	state Exp;
branches;
next	1.12;

1.12
date	2004.03.03.11.28.11;	author adam;	state Exp;
branches;
next	1.11;

1.11
date	2004.02.12.21.40.02;	author minskim;	state Exp;
branches;
next	1.10;

1.10
date	2004.01.27.00.53.11;	author heinz;	state Exp;
branches;
next	1.9;

1.9
date	2004.01.22.08.38.29;	author grant;	state Exp;
branches;
next	1.8;

1.8
date	2003.07.21.16.47.09;	author martti;	state Exp;
branches;
next	1.7;

1.7
date	2003.07.17.21.37.38;	author grant;	state Exp;
branches;
next	1.6;

1.6
date	2003.06.02.01.19.43;	author jschauma;	state Exp;
branches;
next	1.5;

1.5
date	2003.01.28.22.03.19;	author jlam;	state Exp;
branches;
next	1.4;

1.4
date	2002.09.19.14.47.34;	author tron;	state Exp;
branches;
next	1.3;

1.3
date	2002.09.19.01.26.41;	author jlam;	state Exp;
branches;
next	1.2;

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

1.1
date	2002.07.19.12.37.41;	author wiz;	state Exp;
branches
	1.1.1.1;
next	;

1.45.2.1
date	2012.01.12.11.52.14;	author tron;	state Exp;
branches;
next	;

1.1.1.1
date	2002.07.19.12.37.41;	author wiz;	state Exp;
branches;
next	;


desc
@@


1.55
log
@work around clang compiler issue and malloc overflow in t1lib

there are two bugs in fonts/t1lib that cause math/grace to crash on OSX:

[1] compiler bug in some versions of clang when compiling with "-O2" ...
    this appears to have been fixed somewhere between clang-11 and clang-12.
    it works ok with "-O1" and it doesn't impact my NetBSD system (which
    has gcc instead of clang).   resolve by using memcpy() in LONGCOPY()
    macro rather than using custom code that triggers the clang issue.
    see: https://mail-index.netbsd.org/tech-pkg/2022/06/08/msg026367.html

[2] one case of t1lib trying to be clever and instead writing past end of
     malloc'd buffer (which the OSX malloc did not like at all;  the netbsd
     malloc did not get messed up by this).   the address sanitizer helped
     pinpoint this.
@
text
@# $NetBSD: Makefile,v 1.54 2019/11/02 22:24:43 rillig Exp $

DISTNAME=	t1lib-5.1.2
PKGREVISION=	7
CATEGORIES=	fonts devel graphics
MASTER_SITES=	${MASTER_SITE_SUNSITE:=libs/graphics/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
COMMENT=	Library for generating bitmaps from Adobe Type 1 fonts

MAKE_JOBS_SAFE=		no

USE_LIBTOOL=		yes
USE_TOOLS+=		gmake pax
GNU_CONFIGURE=		yes

BUILD_TARGET=	without_doc

EGDIR=		${PREFIX}/share/examples/${PKGBASE}
DATADIR=	${PREFIX}/share/${PKGBASE}

CONF_FILES=	${EGDIR}/t1lib.config.sample ${DATADIR}/t1lib.config
CONF_FILES+=	${EGDIR}/FontDataBase ${DATADIR}/FontDataBase

INSTALLATION_DIRS=	${EGDIR} ${DATADIR} share/doc

.include "options.mk"

PLIST_VARS+=	x11

.if !empty(PKG_OPTIONS:Mx11)
PLIST.x11=		yes
.else
CONFIGURE_ARGS+=	--without-x
.endif

SUBST_CLASSES+=		paths
SUBST_FILES.paths=	t1lib.config.sample
SUBST_VARS.paths=	PREFIX
SUBST_VARS.paths+=	LOCALBASE
SUBST_STAGE.paths=	pre-configure

post-extract:
	${CP} ${FILESDIR}/t1lib.config.sample ${WRKSRC}

pre-build:
	${FIND} ${WRKSRC} -name "*.orig" -print | ${XARGS} ${RM} -f

post-install:
	cd ${WRKSRC};							\
	pax -rw Fonts ${DESTDIR}${DATADIR};				\
	${CHMOD} go+r ${DESTDIR}${DATADIR}/Fonts/enc/IsoLatin2.enc;	\
	pax -rw -s "/doc/${PKGBASE}/" doc ${DESTDIR}${PREFIX}/share/doc

	${INSTALL_DATA} ${WRKSRC}/t1lib.config.sample ${DESTDIR}${EGDIR}
	cd ${WRKSRC}/examples;						\
	pax -rw FontDataBase t1example1.c t1lib.config ${DESTDIR}${EGDIR}

.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.54
log
@fonts: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.53 2019/05/23 19:23:01 rillig Exp $
d4 1
a4 1
PKGREVISION=	6
@


1.53
log
@all: replace SUBST_SED with the simpler SUBST_VARS

pkglint -Wall -r --only "substitution command" -F

With manual review and indentation fixes since pkglint doesn't get that
part correct in every case.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.52 2018/07/04 13:40:18 jperkin Exp $
d32 1
a32 1
PLIST.x11=	yes
@


1.52
log
@*: Move SUBST_STAGE from post-patch to pre-configure

Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.51 2014/10/09 14:06:33 wiz Exp $
d39 2
a40 2
SUBST_SED.paths=	-e 's,@@PREFIX@@,${PREFIX},g'
SUBST_SED.paths+=	-e 's,@@LOCALBASE@@,${LOCALBASE},g'
@


1.51
log
@Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.50 2012/10/03 18:28:30 asau Exp $
d41 1
a41 1
SUBST_STAGE.paths=	post-patch
@


1.50
log
@Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.49 2012/07/17 13:22:27 jperkin Exp $
a10 2
PKG_INSTALLATION_TYPES=	overwrite pkgviews

@


1.49
log
@Use INSTALLATION_DIRS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.48 2012/02/02 09:34:32 hans Exp $
a11 1
PKG_DESTDIR_SUPPORT=	user-destdir
@


1.48
log
@Use ${RM} -f to avoid failure if no files are found to be removed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.47 2012/01/16 12:42:56 drochner Exp $
d28 2
a52 1
	${INSTALL_DATA_DIR} ${DESTDIR}${DATADIR}
d54 2
a55 2
	pax -rw Fonts ${DESTDIR}${DATADIR};					\
	${CHMOD} go+r ${DESTDIR}${DATADIR}/Fonts/enc/IsoLatin2.enc;		\
a57 1
	${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
@


1.47
log
@fix an off-by-one in an earlier fix, from gnome bug #643882
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.46 2012/01/10 19:21:15 drochner Exp $
d48 1
a48 1
	${FIND} ${WRKSRC} -name "*.orig" -print | ${XARGS} ${RM}
@


1.46
log
@update the patch from Redhat bug #692909 to the latest version, fixes
garbled xdvi output, from Uwe Klaus per PR pkg/45813
bump PKGREV
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.45 2012/01/04 16:59:15 drochner Exp $
d4 1
a4 1
PKGREVISION=	5
@


1.45
log
@add patch from Redhat bug #692909 to fix Invalid pointer dereference
(CVE-2011-0764; CVE-2011-1552..1554 are possibly related - no
information available yet)
bump PKGREV
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.44 2011/04/22 13:43:32 obache Exp $
d4 1
a4 1
PKGREVISION=	4
@


1.45.2.1
log
@Pullup ticket #3642 - requested by drochner
fonts/t1lib: bug fix patch

Revisions pulled up:
- fonts/t1lib/Makefile                                          1.46
- fonts/t1lib/distinfo                                          1.22
- fonts/t1lib/patches/patch-aj                                  1.2
- fonts/t1lib/patches/patch-ak                                  1.2
- fonts/t1lib/patches/patch-al                                  1.1

---
   Module Name:    pkgsrc
   Committed By:   drochner
   Date:           Tue Jan 10 19:21:16 UTC 2012

   Modified Files:
           pkgsrc/fonts/t1lib: Makefile distinfo
           pkgsrc/fonts/t1lib/patches: patch-aj patch-ak
   Added Files:
           pkgsrc/fonts/t1lib/patches: patch-al

   Log Message:
   update the patch from Redhat bug #692909 to the latest version, fixes
   garbled xdvi output, from Uwe Klaus per PR pkg/45813
   bump PKGREV
@
text
@d1 1
a1 1
# $NetBSD$
d4 1
a4 1
PKGREVISION=	5
@


1.44
log
@recursive bump from gettext-lib shlib bump.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.43 2011/03/08 17:13:33 drochner Exp $
d4 1
a4 1
PKGREVISION=	3
@


1.43
log
@adopt evince/patch-ba to fix 2 possible buffer overflows in AFM file
parsing (SA43491), bump PKGREV
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.42 2010/07/08 18:48:47 jdolecek Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.42
log
@mark this package MAKE_JOBS_SAFE=no - the build fails on Mac OS X 10.4
with MAKE_JOBS=2, but builds correctly when marked
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41 2009/02/25 07:54:07 sno Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.41
log
@Without x11 set in PKG_OPTIONS tell configure to configure without x11
to avoid build errors because of missing libraries in buildlink
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2009/01/04 02:25:27 minskim Exp $
d14 2
@


1.40
log
@Fix PLIST when the x11 option is disabled.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.39 2008/11/10 17:21:35 wiz Exp $
d32 2
@


1.39
log
@Bump PKGREVISION for libXaw API depends bump due to libXaw8 removal.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2008/05/26 02:13:18 joerg Exp $
d28 6
@


1.38
log
@Second round of explicit pax dependencies. As reminded by tnn@@,
many packages used to use ${PAX}. Use the common way of directly calling
pax, it is created as tool after all.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2008/02/16 13:19:56 wiz Exp $
d4 1
@


1.37
log
@Include gettext-lib/bl3.mk for FreeBSD.
From Aleksej Saushev in PR 37870.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36 2008/02/11 18:53:38 bjs Exp $
d14 1
a14 1
USE_TOOLS+=		gmake
d42 1
a42 1
	${PAX} -rw Fonts ${DESTDIR}${DATADIR};					\
d44 1
a44 1
	${PAX} -rw -s "/doc/${PKGBASE}/" doc ${DESTDIR}${PREFIX}/share/doc
d49 1
a49 1
	${PAX} -rw FontDataBase t1example1.c t1lib.config ${DESTDIR}${EGDIR}
@


1.36
log
@

Update to version 5.1.2.  Patches removed above are no longer needed,
as they appear to have been incorporated upstream.  Additionally, the
following changes apply:

December 2006: t1lib-5.1.1:
---------------------------
- DESTDIR support was missing and has been addded in install-target i
  for type1afm.
- A bug fix in Anti-Aliasing subsampling code, which could make t1lib crash
  under certain conditions.
- Small number of further fixes, in particular with respect to the build
  mechanism.

December 2007: t1lib-5.1.2:
---------------------------
- Small number of fixes reported by users. The fixes pertain to a
  vulnerability issue, memory access issues.
- More decent handling if Encoding and / or FontBBox specification are
  missing (which is invalid with respect to the specification,
  but recoverable).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2007/11/02 00:41:04 uebayasi Exp $
d51 1
@


1.35
log
@Optionalize X11 support.  Requested & tested by Fredrik Ljung.

Reviewed By:	abs
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2007/09/28 08:42:07 drochner Exp $
d3 1
a3 2
DISTNAME=	t1lib-5.1.0
PKGREVISION=	6
@


1.34
log
@add a patch from Ubuntu to fix CVE-2007-4033 (buffer overflow in
path handling), bump PKGREVISION
(from Martti Kuparinen)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2006/11/06 11:25:24 joerg Exp $
d26 1
a26 1
.include "../../x11/libXpm/buildlink3.mk"
a51 4
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/libXaw/buildlink3.mk"
.include "../../x11/libXp/buildlink3.mk"
@


1.33
log
@DESTDIR support and switch to modular buildlinks.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2006/04/08 07:21:28 reed Exp $
d4 1
a4 1
PKGREVISION=	5
@


1.32
log
@Also include x11.buildlink3.mk.

The configure checks for Xaw and Intrinsics headers
and if no X, then it does not build xglyph and libt1x.

(I noticed because I am using modular X.org and the libXpm doesn't
pull in Xaw or Xt.)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2006/03/04 21:29:40 jlam Exp $
d12 1
d26 1
a26 1
.include "../../graphics/xpm/buildlink3.mk"
d41 1
a41 1
	${INSTALL_DATA_DIR} ${DATADIR}
d43 3
a45 3
	${PAX} -rw Fonts ${DATADIR};					\
	${CHMOD} go+r ${DATADIR}/Fonts/enc/IsoLatin2.enc;		\
	${PAX} -rw -s "/doc/${PKGBASE}/" doc ${PREFIX}/share/doc
d47 2
a48 2
	${INSTALL_DATA_DIR} ${EGDIR}
	${INSTALL_DATA} ${WRKSRC}/t1lib.config.sample ${EGDIR}
d50 1
a50 1
	${PAX} -rw FontDataBase t1example1.c t1lib.config ${EGDIR}
d52 4
a55 1
.include "../../mk/x11.buildlink3.mk"
@


1.31
log
@Point MAINTAINER to pkgsrc-users@@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2006/02/05 23:09:11 joerg Exp $
d51 1
@


1.30
log
@Recursive revision bump / recommended bump for gettext ABI change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2006/01/05 20:13:34 joerg Exp $
d8 1
a8 1
MAINTAINER=	tech-pkg@@NetBSD.org
@


1.29
log
@Replace usage of FILES_SUBST_SED.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2005/12/29 06:21:41 jlam Exp $
d4 1
a4 1
PKGREVISION=	4
@


1.28
log
@Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2005/09/09 16:59:55 tonio Exp $
d27 9
d47 1
a49 2
	${SED}	${FILES_SUBST_SED}					\
		${FILESDIR}/t1lib.config.sample > ${EGDIR}/t1lib.config.sample
@


1.27
log
@Fix build under darwin, without breaking netbsd and others
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2005/09/09 12:31:22 tonio Exp $
a13 1
USE_PKGINSTALL=		yes
@


1.26
log
@bump PKGREVISION, now x libs will be found on netbsd
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2005/09/07 17:46:28 reed Exp $
d4 1
a4 1
PKGREVISION=	3
@


1.25
log
@Add missing doc files to PLIST.

And also do not "remove any rendered docs as well".

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2005/08/19 15:51:48 drochner Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.24
log
@this was completely broken due to some leftover patches
bump PKGREVISION
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2005/08/04 09:57:17 adam Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.23
log
@Changes t1lib-5.1.0:

- Check against MultipleMasterFonts somewhat more tolerant, so that
  Type 1 Fonts automatically created from Multiple Master Fonts (e.g.
  using Mmpfb) should now be acceptable.

- The configure-machinery had been somewhat out of date and has been
  updated. The distributed configure script has been generated by
  AutoConf 2.59 and the redistributed libtool parts are taken from
  GNU libtool 1.5.10.

- Top-Level TeX-file in the doc subdirectory adapted to recent TeX
  systems' requirements.

- Added IsoLatin9.enc to distribution.

- Subsetting extended so that it works for SEAC-constructed composites
  even if no AFM composite character information is available

- Somewhat more intelligent defaults for subsetting when composite
  characters are included in the subset.

- Reallocation had been broken by relocation of internal StandardEncoding
  vector. This problem turned out on systems where realloc() actually
  returned a different pointer.

- Fix for outline code on 64bit systems. This involves a redefinition
  of the T1_PATHPOINT struct. This should be uncritical because for 32bit
  systems there is no difference, whereas on 64bit systems, this has never
  worked correctly before.

- DESTDIR support in Makefile.in by Volker Zell

- Support for XLFD font database format (in which the fonts' names appear
  in the first place on a line).

- Further Bug Fixes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2005/06/15 04:43:09 jlam Exp $
d4 1
@


1.22
log
@libXaw on many X11 distributions is linked against libXpm.  The linker
should automatically pull in libXpm when -lXaw is given, but it doesn't
seem to work correctly on Darwin.  Modify the xglyph Makefile so that
we explicitly link in -lXpm when we link against -lXaw.  This should
fix the problem noted on Darwin in the bulk builds.  Bump the PKGREVISION
to 4.
@
text
@d1 1
a1 2
# $NetBSD: Makefile,v 1.21 2005/06/01 18:02:49 jlam Exp $
#
d3 1
a3 2
DISTNAME=	t1lib-5.0.2
PKGREVISION=	4
d5 1
a5 2
MASTER_SITES=	${MASTER_SITE_SUNSITE:=libs/graphics/} \
		ftp://ftp.foolabs.com/pub/xpdf/
d12 2
a13 1
USE_PKGINSTALL=		YES
d15 1
a15 2
GNU_CONFIGURE=		YES
USE_LIBTOOL=		YES
@


1.21
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.20 2005/05/22 20:08:00 jlam Exp $
d5 1
a5 1
PKGREVISION=	3
d28 1
a28 1
.include "../../mk/x11.buildlink3.mk"
@


1.20
log
@Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:

	USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2005/04/11 21:45:47 tv Exp $
a18 1
USE_X11=		YES
d28 2
@


1.19
log
@Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2004/12/03 15:14:57 wiz Exp $
d16 1
a16 1
USE_GNU_TOOLS+=		make
@


1.18
log
@Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2004/11/22 23:48:22 wiz Exp $
a14 1
USE_BUILDLINK3=		YES
@


1.17
log
@Remove unnecessary LTCONFIG_OVERRIDE.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2004/10/03 00:14:42 tv Exp $
d22 1
a22 1
ALL_TARGET=	without_doc
@


1.16
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.15 2004/06/19 14:38:56 markd Exp $
a20 1
LTCONFIG_OVERRIDE=	${WRKSRC}/ac-tools/ltconfig
@


1.15
log
@Revert part of 5.0.1 -> 5.0.2 that was leading to core dumps in xpdf
and xdvi.  Fixes PR 25457.
Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2004/04/19 04:30:03 minskim Exp $
d5 1
a5 1
PKGREVISION=	2
@


1.14
log
@Fix off-by-one error in fonts/t1lib.  Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2004/04/15 14:14:34 minskim Exp $
d5 1
a5 1
PKGREVISION=	1
@


1.13
log
@Update t1lib to 5.0.2.

Changelog is not available, but it seems to be a bug fix release.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2004/03/03 11:28:11 adam Exp $
d5 1
@


1.12
log
@Changes 5.0.0:
- Forced PostScript target in the doc directory to file.

- Subsetting code extended in order to ensure that components of
  composite characters are also part of the subset.

- Hinting meachanism reworked in order to get rid of some
  rasterizing artifacts.

- Experimental support for stroked fonts (PaintType=1)

- Experimental support for stroking standard ATM fonts with PaintType=0.

- Functions for drawing rectangles.

- Bug Fixes

Changes 5.0.1:
- Support for Flex was not adapted to the changes from 5.0.0. This led to
  rasterization errors in fonts that use the Flex functionality --> fixed.

- Bug Fixes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2004/02/12 21:40:02 minskim Exp $
d4 1
a4 1
DISTNAME=	t1lib-5.0.1
@


1.11
log
@bl3ify
@
text
@d1 2
a2 1
# $NetBSD: Makefile,v 1.10 2004/01/27 00:53:11 heinz Exp $
d4 1
a4 1
DISTNAME=	t1lib-1.3.1
@


1.10
log
@Use $FIND with "-print". Noted by Georg Schwarz in PR pkg/24248
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2004/01/22 08:38:29 grant Exp $
d11 3
a13 1
USE_BUILDLINK2=		YES
@


1.9
log
@replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2003/07/21 16:47:09 martti Exp $
d28 1
a28 1
	${FIND} ${WRKSRC} -name "*.orig" | ${XARGS} ${RM}
@


1.8
log
@COMMENT should start with a capital letter.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2003/07/17 21:37:38 grant Exp $
d13 1
a13 1
USE_GMAKE=		YES
@


1.7
log
@s/netbsd.org/NetBSD.org/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2003/06/02 01:19:43 jschauma Exp $
d9 1
a9 1
COMMENT=	library for generating bitmaps from Adobe Type 1 fonts
@


1.6
log
@Use tech-pkg@@ in favor of packages@@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2003/01/28 22:03:19 jlam Exp $
d8 1
a8 1
MAINTAINER=	tech-pkg@@netbsd.org
@


1.5
log
@Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2002/09/19 14:47:34 tron Exp $
d8 1
a8 1
MAINTAINER=	packages@@netbsd.org
@


1.4
log
@Add "USE_X11=YES" to get run time path for X11 libraries.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2002/09/19 01:26:41 jlam Exp $
d12 1
a42 1
.include "../../mk/bsd.pkg.install.mk"
@


1.3
log
@Update fonts/t1lib to 1.3.1.  Changes from version 1.1.1 include:

* Move t1lib.config.netbsd sample file to t1lib.config.sample, which is more
  OS-neutral.
- Bug fixes.
- Fixed kerning mapping code. Kerning did not work correctly for characters
  that appeared multiple times in an encoding vector.
- In the same context a new function, T1_GetEncodingIndices() has been added
  to the API. It returns an array of indices (by contrast,
  T1_GetEncodingIndex() returns only the lowest index found).
- Support for composite characters.
- Additional support for dvips encoding files (thanks to suggestion and
  contribution by Nicolai Langfeldt (janl@@linpro.no).
- Global Font Metrics Information is loaded from AFM files in order to be able
  to read the typographic ascender. Line ruling did not behave as
  documented. However, problems could still exist because the typographic
  ascender specification is optional in AFMs.
- Reorganized search path handling and, in particular, the respective
  documentation is more detailed.
- The configuration file now allows multiple lines of one type of search path
  specification and it is also possible to quote path specification in order
  to specify paths that contains special characters like spaces, colons, etc.
- Multiple font databases are supported.
- T1_PrintLog() extended to accept a variable argument list.
- The environment variable T1LIB_LOGMODE is evaluated to give the user the
  chance to specify a loglevel and hence to detect t1lib-problems even if the
  application programmer did not enable the log file features.
- Color problem in t1x11-module fixed.
- Fixes in AFM parser. Among others, Version had been read as name, instead of
  as string. This led to a failure to scan global font info for some standard
  AFMs.
@
text
@d1 1
a1 2
# $NetBSD: Makefile,v 1.2 2002/09/19 00:51:21 jlam Exp $
#
d11 5
a15 4
USE_BUILDLINK2=		# defined
USE_GMAKE=		# defined
GNU_CONFIGURE=		# defined
USE_LIBTOOL=		# defined
@


1.2
log
@buildlink1 -> buildlink2 and use bsd.pkg.install.mk instead of local
DEINSTALL/INSTALL scripts.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 2002/07/19 12:37:41 wiz Exp $
d4 1
a4 2
DISTNAME=	t1lib-1.1.1
WRKSRC=		${WRKDIR}/T1-1.1.1
d7 1
a7 1
		ftp://ftp.neuroinformatik.ruhr-uni-bochum.de/pub/software/t1lib/
d10 1
a10 2
HOMEPAGE=	http://www.neuroinformatik.ruhr-uni-bochum.de/ini/PEOPLE/rmz/t1lib/t1lib.html
COMMENT=	Library for generating bitmaps from Adobe Type 1 fonts
d13 1
a14 2
USE_GMAKE=		# defined
USE_X11BASE=		# defined
d16 1
a16 1
LIBTOOL_OVERRIDE=	${WRKSRC}/libtool
d23 1
a23 1
CONF_FILES=	${EGDIR}/t1lib.config.netbsd ${DATADIR}/t1lib.config
d26 3
d34 1
a34 1
	${PAX} -rw -s "/doc/t1lib/" doc ${PREFIX}/share/doc
d39 2
a40 4
	${SED}	-e "s|@@@@X11BASE@@@@|${X11BASE}|g"				\
		-e "s|@@@@LOCALBASE@@@@|${LOCALBASE}|g"			\
		-e "s|@@@@PREFIX@@@@|${PREFIX}|g"				\
		${FILESDIR}/t1lib.config.netbsd > ${EGDIR}/t1lib.config.netbsd
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2001/08/29 22:41:21 jlam Exp $
d14 1
a14 1
USE_BUILDLINK_ONLY=	# defined
d23 6
d30 13
a42 17
	${INSTALL_DATA_DIR} ${PREFIX}/share/t1lib
	cd ${WRKSRC}; \
	  ${PAX} -rw Fonts ${PREFIX}/share/t1lib; \
	  ${CHMOD} go+r ${PREFIX}/share/t1lib/Fonts/enc/IsoLatin2.enc; \
	  ${PAX} -rw -s "/doc/t1lib/" doc ${PREFIX}/share/doc

	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/t1lib
	cd ${WRKSRC}/examples; \
	  ${PAX} -rw FontDataBase t1example1.c t1lib.config \
	      ${PREFIX}/share/examples/t1lib
	${SED}	-e 's|@@@@X11BASE@@@@|${X11BASE}|g' \
		-e 's|@@@@LOCALBASE@@@@|${LOCALBASE}|g' \
		-e 's|@@@@PREFIX@@@@|${PREFIX}|g' \
		< ${FILESDIR}/t1lib.config.netbsd \
		> ${PREFIX}/share/examples/t1lib/t1lib.config.netbsd

	PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
d44 1
a44 1
.include "../../mk/x11.buildlink.mk"
@


1.1.1.1
log
@Re-import of textproc/t1lib, textproc/t1utils, and x11/type1inst into fonts.
Changes: CATEGORIES only.
@
text
@@
