head 1.59; access; symbols pkgsrc-2023Q4:1.59.0.4 pkgsrc-2023Q4-base:1.59 pkgsrc-2023Q3:1.59.0.2 pkgsrc-2023Q3-base:1.59 pkgsrc-2023Q2:1.57.0.2 pkgsrc-2023Q2-base:1.57 pkgsrc-2023Q1:1.52.0.6 pkgsrc-2023Q1-base:1.52 pkgsrc-2022Q4:1.52.0.4 pkgsrc-2022Q4-base:1.52 pkgsrc-2022Q3:1.52.0.2 pkgsrc-2022Q3-base:1.52 pkgsrc-2022Q2:1.51.0.10 pkgsrc-2022Q2-base:1.51 pkgsrc-2022Q1:1.51.0.8 pkgsrc-2022Q1-base:1.51 pkgsrc-2021Q4:1.51.0.6 pkgsrc-2021Q4-base:1.51 pkgsrc-2021Q3:1.51.0.4 pkgsrc-2021Q3-base:1.51 pkgsrc-2021Q2:1.51.0.2 pkgsrc-2021Q2-base:1.51 pkgsrc-2021Q1:1.49.0.6 pkgsrc-2021Q1-base:1.49 pkgsrc-2020Q4:1.49.0.4 pkgsrc-2020Q4-base:1.49 pkgsrc-2020Q3:1.49.0.2 pkgsrc-2020Q3-base:1.49 pkgsrc-2020Q2:1.48.0.8 pkgsrc-2020Q2-base:1.48 pkgsrc-2020Q1:1.48.0.4 pkgsrc-2020Q1-base:1.48 pkgsrc-2019Q4:1.48.0.6 pkgsrc-2019Q4-base:1.48 pkgsrc-2019Q3:1.48.0.2 pkgsrc-2019Q3-base:1.48 pkgsrc-2019Q2:1.47.0.8 pkgsrc-2019Q2-base:1.47 pkgsrc-2019Q1:1.47.0.6 pkgsrc-2019Q1-base:1.47 pkgsrc-2018Q4:1.47.0.4 pkgsrc-2018Q4-base:1.47 pkgsrc-2018Q3:1.47.0.2 pkgsrc-2018Q3-base:1.47 pkgsrc-2018Q2:1.46.0.18 pkgsrc-2018Q2-base:1.46 pkgsrc-2018Q1:1.46.0.16 pkgsrc-2018Q1-base:1.46 pkgsrc-2017Q4:1.46.0.14 pkgsrc-2017Q4-base:1.46 pkgsrc-2017Q3:1.46.0.12 pkgsrc-2017Q3-base:1.46 pkgsrc-2017Q2:1.46.0.8 pkgsrc-2017Q2-base:1.46 pkgsrc-2017Q1:1.46.0.6 pkgsrc-2017Q1-base:1.46 pkgsrc-2016Q4:1.46.0.4 pkgsrc-2016Q4-base:1.46 pkgsrc-2016Q3:1.46.0.2 pkgsrc-2016Q3-base:1.46 pkgsrc-2016Q2:1.44.0.10 pkgsrc-2016Q2-base:1.44 pkgsrc-2016Q1:1.44.0.8 pkgsrc-2016Q1-base:1.44 pkgsrc-2015Q4:1.44.0.6 pkgsrc-2015Q4-base:1.44 pkgsrc-2015Q3:1.44.0.4 pkgsrc-2015Q3-base:1.44 pkgsrc-2015Q2:1.44.0.2 pkgsrc-2015Q2-base:1.44 pkgsrc-2015Q1:1.43.0.8 pkgsrc-2015Q1-base:1.43 pkgsrc-2014Q4:1.43.0.6 pkgsrc-2014Q4-base:1.43 pkgsrc-2014Q3:1.43.0.4 pkgsrc-2014Q3-base:1.43 pkgsrc-2014Q2:1.43.0.2 pkgsrc-2014Q2-base:1.43 pkgsrc-2014Q1:1.42.0.8 pkgsrc-2014Q1-base:1.42 pkgsrc-2013Q4:1.42.0.6 pkgsrc-2013Q4-base:1.42 pkgsrc-2013Q3:1.42.0.4 pkgsrc-2013Q3-base:1.42 pkgsrc-2013Q2:1.42.0.2 pkgsrc-2013Q2-base:1.42 pkgsrc-2013Q1:1.41.0.4 pkgsrc-2013Q1-base:1.41 pkgsrc-2012Q4:1.41.0.2 pkgsrc-2012Q4-base:1.41 pkgsrc-2012Q3:1.38.0.40 pkgsrc-2012Q3-base:1.38 pkgsrc-2012Q2:1.38.0.38 pkgsrc-2012Q2-base:1.38 pkgsrc-2012Q1:1.38.0.36 pkgsrc-2012Q1-base:1.38 pkgsrc-2011Q4:1.38.0.34 pkgsrc-2011Q4-base:1.38 pkgsrc-2011Q3:1.38.0.32 pkgsrc-2011Q3-base:1.38 pkgsrc-2011Q2:1.38.0.30 pkgsrc-2011Q2-base:1.38 pkgsrc-2011Q1:1.38.0.28 pkgsrc-2011Q1-base:1.38 pkgsrc-2010Q4:1.38.0.26 pkgsrc-2010Q4-base:1.38 pkgsrc-2010Q3:1.38.0.24 pkgsrc-2010Q3-base:1.38 pkgsrc-2010Q2:1.38.0.22 pkgsrc-2010Q2-base:1.38 pkgsrc-2010Q1:1.38.0.20 pkgsrc-2010Q1-base:1.38 pkgsrc-2009Q4:1.38.0.18 pkgsrc-2009Q4-base:1.38 pkgsrc-2009Q3:1.38.0.16 pkgsrc-2009Q3-base:1.38 pkgsrc-2009Q2:1.38.0.14 pkgsrc-2009Q2-base:1.38 pkgsrc-2009Q1:1.38.0.12 pkgsrc-2009Q1-base:1.38 pkgsrc-2008Q4:1.38.0.10 pkgsrc-2008Q4-base:1.38 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.4 pkgsrc-2008Q1-base:1.37 pkgsrc-2007Q4:1.37.0.2 pkgsrc-2007Q4-base:1.37 pkgsrc-2007Q3:1.36.0.6 pkgsrc-2007Q3-base:1.36 pkgsrc-2007Q2:1.36.0.4 pkgsrc-2007Q2-base:1.36 pkgsrc-2007Q1:1.36.0.2 pkgsrc-2007Q1-base:1.36 pkgsrc-2006Q4:1.35.0.4 pkgsrc-2006Q4-base:1.35 pkgsrc-2006Q3:1.35.0.2 pkgsrc-2006Q3-base:1.35 pkgsrc-2006Q2:1.34.0.2 pkgsrc-2006Q2-base:1.34 pkgsrc-2006Q1:1.33.0.2 pkgsrc-2006Q1-base:1.33 pkgsrc-2005Q4:1.32.0.2 pkgsrc-2005Q4-base:1.32 pkgsrc-2005Q3:1.31.0.2 pkgsrc-2005Q3-base:1.31 pkgsrc-2005Q2:1.30.0.2 pkgsrc-2005Q2-base:1.30 pkgsrc-2005Q1:1.28.0.10 pkgsrc-2005Q1-base:1.28 pkgsrc-2004Q4:1.28.0.8 pkgsrc-2004Q4-base:1.28 pkgsrc-2004Q3:1.28.0.6 pkgsrc-2004Q3-base:1.28 pkgsrc-2004Q2:1.28.0.4 pkgsrc-2004Q2-base:1.28 pkgsrc-2004Q1:1.28.0.2 pkgsrc-2004Q1-base:1.28 pkgsrc-2003Q4:1.26.0.2 pkgsrc-2003Q4-base:1.26 netbsd-1-6-1:1.22.0.2 netbsd-1-6-1-base:1.22 netbsd-1-6:1.20.0.8 netbsd-1-6-RELEASE-base:1.20 pkgviews:1.20.0.4 pkgviews-base:1.20 buildlink2:1.20.0.2 buildlink2-base:1.20 netbsd-1-5-PATCH003:1.20 netbsd-1-5-PATCH001:1.18 netbsd-1-5-RELEASE:1.16 netbsd-1-4-PATCH003:1.16 netbsd-1-4-PATCH002:1.16 comdex-fall-1999:1.16 netbsd-1-4-PATCH001:1.14 netbsd-1-4-RELEASE:1.13 netbsd-1-3-PATCH003:1.10 netbsd-1-3-PATCH002:1.6 FreeBSD-current-1998-02-22:1.1.1.1 FREEBSD:1.1.1; locks; strict; comment @# @; 1.59 date 2023.08.14.05.25.07; author wiz; state Exp; branches; next 1.58; commitid LOSB79OLVxvXjIAE; 1.58 date 2023.08.01.23.20.51; author wiz; state Exp; branches; next 1.57; commitid lyjXpsSeA6xpH8zE; 1.57 date 2023.06.13.18.24.45; author wiz; state Exp; branches; next 1.56; commitid 80xNlGrTx2BxDOsE; 1.56 date 2023.06.02.06.19.23; author mrg; state Exp; branches; next 1.55; commitid 5wlrAnCYTsczYkrE; 1.55 date 2023.06.01.16.18.38; author wiz; state Exp; branches; next 1.54; commitid SVNdafqRWx27kgrE; 1.54 date 2023.04.14.04.32.44; author wiz; state Exp; branches; next 1.53; commitid JN3ULumYbMiJX1lE; 1.53 date 2023.04.13.14.22.35; author wiz; state Exp; branches; next 1.52; commitid fWowxaoasro0gXkE; 1.52 date 2022.06.28.11.35.31; author wiz; state Exp; branches; next 1.51; commitid D2UoJrTHpoHEANJD; 1.51 date 2021.05.24.19.53.48; author wiz; state Exp; branches; next 1.50; commitid qokaiStTApGMcrUC; 1.50 date 2021.04.03.11.37.44; author thor; state Exp; branches; next 1.49; commitid XUwgz4YpqBah8QNC; 1.49 date 2020.08.31.18.11.03; author wiz; state Exp; branches; next 1.48; commitid 7zxRbfOkDOoxbfmC; 1.48 date 2019.08.11.13.22.42; author wiz; state Exp; branches; next 1.47; commitid Ifet9Pg6Qt99ZByB; 1.47 date 2018.08.22.09.46.15; author wiz; state Exp; branches; next 1.46; commitid YLub8g3ofvFGb6PA; 1.46 date 2016.09.02.14.16.35; author mef; state Exp; branches; next 1.45; commitid utxEhFWtHzTSOIkz; 1.45 date 2016.07.09.06.38.52; author wiz; state Exp; branches; next 1.44; commitid dlqnocGpOoXV2Cdz; 1.44 date 2015.06.12.10.50.59; author wiz; state Exp; branches; next 1.43; commitid B4JmCfaVUbiY38py; 1.43 date 2014.05.29.23.37.17; author wiz; state Exp; branches; next 1.42; commitid laryHfkCalgYtuCx; 1.42 date 2013.05.31.12.41.49; author wiz; state Exp; branches; next 1.41; commitid hIeXGcx6VfKHwMRw; 1.41 date 2012.12.12.10.44.11; author wiz; state Exp; branches; next 1.40; 1.40 date 2012.10.08.13.45.45; author asau; state Exp; branches; next 1.39; 1.39 date 2012.10.03.21.57.20; author wiz; state Exp; branches; next 1.38; 1.38 date 2008.06.12.02.14.43; author joerg; state Exp; branches; next 1.37; 1.37 date 2007.12.02.13.04.14; author wiz; state Exp; branches; next 1.36; 1.36 date 2007.01.03.21.09.55; author rillig; state Exp; branches; next 1.35; 1.35 date 2006.09.09.02.46.08; author obache; state Exp; branches; next 1.34; 1.34 date 2006.05.06.03.43.04; author reed; state Exp; branches; next 1.33; 1.33 date 2005.12.29.06.22.07; author jlam; state Exp; branches; next 1.32; 1.32 date 2005.12.05.20.50.53; author rillig; state Exp; branches; next 1.31; 1.31 date 2005.07.16.01.19.18; author jlam; state Exp; branches; next 1.30; 1.30 date 2005.04.11.21.47.09; author tv; state Exp; branches; next 1.29; 1.29 date 2005.03.24.21.13.00; author wiz; state Exp; branches; next 1.28; 1.28 date 2004.02.17.12.52.35; author jlam; state Exp; branches; next 1.27; 1.27 date 2004.01.20.12.24.29; author agc; state Exp; branches; next 1.26; 1.26 date 2003.11.03.00.36.02; author dillo; state Exp; branches; next 1.25; 1.25 date 2003.07.17.22.52.37; author grant; state Exp; branches; next 1.24; 1.24 date 2003.06.02.01.17.27; author jschauma; state Exp; branches; next 1.23; 1.23 date 2003.03.29.12.42.17; author jmmv; state Exp; branches; next 1.22; 1.22 date 2003.01.28.22.04.01; author jlam; state Exp; branches; next 1.21; 1.21 date 2002.11.26.10.13.20; author jmmv; state Exp; branches; next 1.20; 1.20 date 2001.09.27.23.18.36; author jlam; state Exp; branches; next 1.19; 1.19 date 2001.07.10.17.27.18; author tron; state Exp; branches; next 1.18; 1.18 date 2001.02.17.17.51.53; author wiz; state Exp; branches; next 1.17; 1.17 date 2001.01.11.01.53.28; author wiz; state Exp; branches; next 1.16; 1.16 date 99.10.05.13.59.57; author agc; state Exp; branches; next 1.15; 1.15 date 99.09.05.18.37.49; author kim; state Exp; branches; next 1.14; 1.14 date 99.06.16.17.28.25; author cgd; state Exp; branches; next 1.13; 1.13 date 99.02.20.22.48.42; author hubertf; state Exp; branches; next 1.12; 1.12 date 98.11.10.14.08.16; author agc; state Exp; branches; next 1.11; 1.11 date 98.11.09.18.01.48; author agc; state Exp; branches; next 1.10; 1.10 date 98.08.16.23.49.08; author kim; state Exp; branches; next 1.9; 1.9 date 98.08.14.20.59.43; author frueauf; state Exp; branches; next 1.8; 1.8 date 98.06.22.13.04.38; author agc; state Exp; branches; next 1.7; 1.7 date 98.06.10.08.02.09; author agc; state Exp; branches; next 1.6; 1.6 date 98.04.20.11.56.32; author frueauf; state Exp; branches; next 1.5; 1.5 date 98.04.17.20.17.18; author hubertf; state Exp; branches; next 1.4; 1.4 date 98.04.15.10.38.46; author agc; state Exp; branches; next 1.3; 1.3 date 98.02.23.14.02.29; author agc; state Exp; branches; next 1.2; 1.2 date 98.02.22.20.37.58; author frueauf; state Exp; branches; next 1.1; 1.1 date 98.02.22.20.32.08; author frueauf; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 98.02.22.20.32.08; author frueauf; state Exp; branches; next ; desc @@ 1.59 log @*: recursive bump for Python 3.11 as new default @ text @# $NetBSD: Makefile,v 1.58 2023/08/01 23:20:51 wiz Exp $ DISTNAME= psutils-3.0.3 PKGREVISION= 1 CATEGORIES= print MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/rrthomas/psutils/ COMMENT= Utilities for manipulating PostScript documents (compatibility package) LICENSE= gnu-gpl-v3 DEPENDS+= ${PYPKGPREFIX}-pspdfutils-[0-9]*:../../print/py-pspdfutils META_PACKAGE= yes PYTHON_VERSIONS_INCOMPATIBLE= 27 38 .include "../../lang/python/pyversion.mk" .include "../../mk/bsd.pkg.mk" @ 1.58 log @*: remove more references to Python 3.7 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.57 2023/06/13 18:24:45 wiz Exp $ d4 1 @ 1.57 log @py-pspdfutils: not for Python 3.8 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.56 2023/06/02 06:19:23 mrg Exp $ d15 1 a15 1 PYTHON_VERSIONS_INCOMPATIBLE= 27 37 38 @ 1.56 log @remove extra 'py' that was breaking the build. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.55 2023/06/01 16:18:38 wiz Exp $ d15 2 @ 1.55 log @psutils: make this a compatibility package Just depend on py-pspdfutils to give people time to switch to that package directly. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.54 2023/04/14 04:32:44 wiz Exp $ d11 1 a11 1 DEPENDS+= ${PYPKGPREFIX}-pypspdfutils-[0-9]*:../../print/py-pspdfutils @ 1.54 log @psutils: needs gmake @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.53 2023/04/13 14:22:35 wiz Exp $ d3 1 a3 1 DISTNAME= psutils-2.10 a4 2 MASTER_SITES= ${MASTER_SITE_GITHUB:=rrthomas/} GITHUB_RELEASE= v${PKGVERSION_NOREV} d8 1 a8 1 COMMENT= Utilities for manipulating PostScript documents d11 1 a11 1 DEPENDS+= p5-IPC-Run3-[0-9]*:../../devel/p5-IPC-Run3 d13 1 a13 4 GNU_CONFIGURE= yes USE_TOOLS+= gmake perl:run bash:test TEST_TARGET= check REPLACE_BASH+= tests/run-test d15 1 a15 1 .include "../../print/libpaper/buildlink3.mk" @ 1.53 log @psutils: update to 2.10. New major version from a new, active upstream. Now uses libpaper for papersize selection. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.52 2022/06/28 11:35:31 wiz Exp $ d16 1 a16 1 USE_TOOLS+= perl:run bash:test @ 1.52 log @*: recursive bump for perl 5.36 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.51 2021/05/24 19:53:48 wiz Exp $ d3 1 a3 3 DISTNAME= psutils-p17 PKGNAME= psutils-1.17 PKGREVISION= 12 d5 2 a6 1 MASTER_SITES= ftp://ftp.knackered.org/pub/psutils/ d9 1 a9 1 HOMEPAGE= http://knackered.org/angus/psutils/ d11 1 d13 1 a13 2 WRKSRC= ${WRKDIR}/psutils USE_TOOLS+= perl:run d15 4 a18 31 .include "../../mk/bsd.prefs.mk" BUILD_DEFS+= PAPERSIZE .if !defined(PAPERSIZE) PKG_FAIL_REASON+= "PAPERSIZE must be defined by the pkgsrc user." .else . if ${PAPERSIZE} != "A4" && ${PAPERSIZE} != "a4" && ${PAPERSIZE} != "Letter" PKG_FAIL_REASON+= "Invalid PAPERSIZE (${PAPERSIZE}). Choose one of A4 or Letter." . endif .endif MAKE_ENV+= PERL5=${PERL5:Q} MAKE_FLAGS+= PAPER=`${ECHO} ${PAPERSIZE} | ${TR} '[A-Z]' '[a-z]'` MAKE_FLAGS+= MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 MAKE_FILE= Makefile.unix EGDIR= ${PREFIX}/share/examples/psutils CONF_FILES= ${EGDIR}/psutils.cfg ${PKG_SYSCONFDIR}/psutils.cfg SUBST_CLASSES+= psu SUBST_STAGE.psu= pre-configure SUBST_MESSAGE.psu= Adjusting the installation prefix. SUBST_FILES.psu= psutil.c SUBST_SED.psu= -e "s|@@prefix@@|${PREFIX}|g" INSTALLATION_DIRS= ${EGDIR} INSTALL_MAKE_FLAGS= PREFIX=${DESTDIR}${PREFIX} post-install: low=`${ECHO} ${PAPERSIZE} | ${TR} '[A-Z]' '[a-z]'` \ && ${ECHO} "PAPERSIZE=$$low" > ${DESTDIR}${EGDIR}/psutils.cfg d20 1 @ 1.51 log @*: recursive bump for perl 5.34 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.50 2021/04/03 11:37:44 thor Exp $ d5 1 a5 1 PKGREVISION= 11 @ 1.50 log @psutils: allow PAPERSIZE=a4, used lowercase anyway! @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.49 2020/08/31 18:11:03 wiz Exp $ d5 1 a5 1 PKGREVISION= 10 @ 1.49 log @*: bump PKGREVISION for perl-5.32. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.48 2019/08/11 13:22:42 wiz Exp $ d22 1 a22 1 . if ${PAPERSIZE} != "A4" && ${PAPERSIZE} != "Letter" @ 1.48 log @Bump PKGREVISIONs for perl 5.30.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.47 2018/08/22 09:46:15 wiz Exp $ d5 1 a5 1 PKGREVISION= 9 @ 1.47 log @Recursive bump for perl5-5.28.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.46 2016/09/02 14:16:35 mef Exp $ d5 1 a5 1 PKGREVISION= 8 @ 1.46 log @Update MASTER_SITES and HOMEPAGE @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.45 2016/07/09 06:38:52 wiz Exp $ d5 1 a5 1 PKGREVISION= 7 @ 1.45 log @Bump PKGREVISION for perl-5.24.0 for everything mentioning perl. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.44 2015/06/12 10:50:59 wiz Exp $ d7 1 a7 1 MASTER_SITES= http://gd.tuwien.ac.at/publishing/tex/tex-utils/psutils/ d10 1 a10 1 HOMEPAGE= http://www.go.dlr.de/wt/dv/ig/pdinfo_dv/psutils.html @ 1.44 log @Recursive PKGREVISION bump for all packages mentioning 'perl', having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.43 2014/05/29 23:37:17 wiz Exp $ d5 1 a5 1 PKGREVISION= 6 @ 1.43 log @Bump for perl-5.20.0. Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.42 2013/05/31 12:41:49 wiz Exp $ d5 1 a5 1 PKGREVISION= 5 @ 1.42 log @Bump all packages for perl-5.18, that a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.41 2012/12/12 10:44:11 wiz Exp $ d5 1 a5 1 PKGREVISION= 4 @ 1.41 log @Reset maintainer on his request. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.40 2012/10/08 13:45:45 asau Exp $ d5 1 a5 1 PKGREVISION= 3 @ 1.40 log @Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.39 2012/10/03 21:57:20 wiz Exp $ d9 1 a9 1 MAINTAINER= dillo@@NetBSD.org @ 1.39 log @Bump all packages that use perl, or depend on a p5-* package, or are called p5-*. I hope that's all of them. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.38 2008/06/12 02:14:43 joerg Exp $ a12 2 PKG_DESTDIR_SUPPORT= user-destdir @ 1.38 log @Add DESTDIR support. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.37 2007/12/02 13:04:14 wiz Exp $ d5 1 a5 1 PKGREVISION= 2 @ 1.37 log @Update HOMEPAGES and MASTER_SITES; from Sergey Svishchev. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.36 2007/01/03 21:09:55 rillig Exp $ d13 2 d31 1 a31 1 MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}/man1 d43 3 a46 1 ${INSTALL_DATA_DIR} ${EGDIR} d48 1 a48 1 && ${ECHO} "PAPERSIZE=$$low" > ${EGDIR}/psutils.cfg @ 1.36 log @Shortened the Makefile a bit, cleaned up the code, removed unnecessary code, made the PAPERSIZE check at load time, removed automatic stripping of the binary files. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.35 2006/09/09 02:46:08 obache Exp $ d7 1 a7 1 MASTER_SITES= ftp://ftp.dcs.ed.ac.uk/pub/ajcd/ d10 1 a10 1 HOMEPAGE= http://www.go.dlr.de:8081/pdinfo_dv/psutils.html @ 1.35 log @Rename variable MAKEFILE to MAKE_FILE. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.34 2006/05/06 03:43:04 reed Exp $ d17 1 d19 7 a25 1 PAPERSIZE?= A4 d29 1 d35 5 a39 22 post-patch: cd ${WRKSRC}; for file in psutil.c; do \ ${MV} -f $$file $$file.in; \ ${SED} -e "s|@@prefix@@|${PREFIX}|g" $$file.in > $$file; \ done pre-configure: @@case "X${PAPERSIZE}" in \ XA4|XLetter) \ ;; \ XA3|XA5|XB5|Xledger|Xstatement|Xexecutive|Xfolio|Xquarto|X10x14)\ ${ECHO} "Other packages do not recognise ${PAPERSIZE}"; \ ;; \ *) \ ${ECHO} "Error: PAPERSIZE invalid: \"${PAPERSIZE}\""; \ ${ECHO} "Possible values are:"; \ ${ECHO} " A3, A4 (default), A5, B5, Letter, Legal,"; \ ${ECHO} " Ledger, Tabloid, Statement, Executive,"; \ ${ECHO} " Folio, Quarto, and 10x14."; \ ${FALSE}; \ ;; \ esac a41 3 for f in epsffit psbook psnup psresize psselect pstops; do \ strip ${PREFIX}/bin/$$f; \ done d43 2 a44 2 low=`${ECHO} ${PAPERSIZE} | ${TR} '[A-Z]' '[a-z]'`; \ ${ECHO} "PAPERSIZE=$$low" > ${EGDIR}/psutils.cfg; @ 1.34 log @Do not depend on papersize. It can be installed later if desired. The page size at build time is based on PAPERSIZE tunable. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2005/12/29 06:22:07 jlam Exp $ d22 1 a22 1 MAKEFILE= Makefile.unix @ 1.33 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.32 2005/12/05 20:50:53 rillig Exp $ d5 1 a5 1 PKGREVISION= 1 a12 2 DEPENDS+= papersize-[0-9]*:../../print/papersize @ 1.32 log @Fixed pkglint warnings. The warnings are mostly quoting issues, for example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.31 2005/07/16 01:19:18 jlam Exp $ a16 1 USE_PKGINSTALL= yes @ 1.31 log @Get rid of USE_PERL5. The new way to express needing the Perl executable around at either build-time or at run-time is: USE_TOOLS+= perl # build-time USE_TOOLS+= perl:run # run-time Also remove some places where perl5/buildlink3.mk was being included by a package Makefile, but all that the package wanted was the Perl executable. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2005/04/11 21:47:09 tv Exp $ d23 1 a23 1 MAKE_ENV+= PERL5="${PERL5}" @ 1.30 log @Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2005/03/24 21:13:00 wiz Exp $ d16 1 a16 1 USE_PERL5= yes @ 1.29 log @Remove FreeBSD RCS Ids. pkgsrc has diverged too much for syncing to be useful. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2004/02/17 12:52:35 jlam Exp $ a15 1 USE_BUILDLINK3= yes @ 1.28 log @bl3ify @ text @d1 1 a1 3 # $NetBSD: Makefile,v 1.27 2004/01/20 12:24:29 agc Exp $ # FreeBSD Id: Makefile,v 1.15 1998/01/08 18:52:13 fenner Exp # @ 1.27 log @Move WRKSRC definition away from the first paragraph in a Makefile. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2003/11/03 00:36:02 dillo Exp $ d18 1 d26 1 a26 1 MAKE_ENV+= CC="${CC}" PERL5="${PERL5}" d33 6 a55 4 post-patch: ${MV} ${WRKSRC}/psutil.c ${WRKSRC}/psutil.c.in ${SED} -e 's|@@prefix@@|${PREFIX}|g' ${WRKSRC}/psutil.c.in > ${WRKSRC}/psutil.c @ 1.26 log @take over maintainership @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2003/07/17 22:52:37 grant Exp $ a7 1 WRKSRC= ${WRKDIR}/psutils d17 1 @ 1.25 log @s/netbsd.org/NetBSD.org/ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2003/06/02 01:17:27 jschauma Exp $ d12 1 a12 1 MAINTAINER= tech-pkg@@NetBSD.org @ 1.24 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.23 2003/03/29 12:42:17 jmmv Exp $ d12 1 a12 1 MAINTAINER= tech-pkg@@netbsd.org @ 1.23 log @Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2003/01/28 22:04:01 jlam Exp $ d12 1 a12 1 MAINTAINER= packages@@netbsd.org @ 1.22 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 . @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2002/11/26 10:13:20 jmmv Exp $ d8 1 a17 1 WRKSRC= ${WRKDIR}/psutils @ 1.21 log @Make this package install its configuration file in the examples directory and use PKG_SYSCONFDIR to copy it to the right place. (Bump PKGREVISION to 1 for this). Also add a HOMEPAGE, as the program has one. Approved by wiz. This closes my own PR 18991. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2001/09/27 23:18:36 jlam Exp $ d19 1 a60 1 .include "../../mk/bsd.pkg.install.mk" @ 1.20 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.19 2001/07/10 17:27:18 tron Exp $ d7 1 d12 1 d28 3 d56 1 d58 1 a58 3 if [ ! -f ${PREFIX}/etc/psutils.cfg ]; then \ ${ECHO} "PAPERSIZE=$$low" > ${PREFIX}/etc/psutils.cfg; \ fi d60 1 @ 1.19 log @- Remove ugly "configure" hack, use patches and "MAKEFILE" instead. - Make this package work under Solaris. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2001/02/17 17:51:53 wiz Exp $ d13 1 a13 1 DEPENDS+= papersize-*:../../print/papersize @ 1.18 log @Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2001/01/11 01:53:28 wiz Exp $ d21 2 d24 1 a24 4 .if ${OPSYS} == "SunOS" MAKE_ENV+= CPPFLAGS= .endif @ 1.17 log @Better handling of CFLAGS in program's Makefile, remove -O. Pkglint-silence a bit. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 1999/10/05 13:59:57 agc Exp $ d11 1 @ 1.16 log @Incorporate Solaris changes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 1999/09/05 18:37:49 kim Exp $ d48 2 a49 2 for file in epsffit psbook psnup psresize psselect pstops; do \ strip ${PREFIX}/bin/$$file; \ @ 1.15 log @Update dependencies for papersize (wildcard except for a2ps). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 1999/06/16 17:28:25 cgd Exp $ d22 4 d52 1 a52 1 if [ ! -e ${PREFIX}/etc/psutils.cfg ]; then \ @ 1.14 log @papersize-1.0 had a bug: when setpapersize was run, magicfilter's filter scripts (.../libexec/magicfilter/*-filter) would as a side effect have their executable bit set. Fix that, bump the papersize revisions to 1.0.1, and update other packages' DEPENDS lines to compensate. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 1999/02/20 22:48:42 hubertf Exp $ d12 1 a12 1 DEPENDS+= papersize-1.0.1:../../print/papersize @ 1.13 log @Fix CONFLICTS (remove redundancy, mostly) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 1998/11/10 14:08:16 agc Exp $ d12 1 a12 1 DEPENDS+= papersize-1.0:../../print/papersize @ 1.12 log @s/echo/${ECHO}/g s/tr/${TR}/g Move DEPENDS up in the file to satsify pkglint. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 1998/11/09 18:01:48 agc Exp $ a15 2 CONFLICTS+= psutils-A4-1.17 psutils-Letter-1.17 @ 1.11 log @Modify this package to use the papersize package, so that default paper size is read from a configuration file at run-time. If this doesn't exist, or is in the wrong format, use the compiled-in default. Correct the inclusion of system files. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 1998/08/16 23:49:08 kim Exp $ d12 2 d15 1 a15 1 USE_PERL5= YES a18 2 DEPENDS+= papersize-1.0:../../print/papersize d22 1 a22 1 MAKE_FLAGS+= PAPER=`echo ${PAPERSIZE} | tr '[A-Z]' '[a-z]'` d49 1 a49 1 low=`echo ${PAPERSIZE} | tr '[A-Z]' '[a-z]'`; \ d51 1 a51 1 echo "PAPERSIZE=$$low" > ${PREFIX}/etc/psutils.cfg; \ @ 1.10 log @Let us support PAPERSIZE=Letter for all packages. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 1998/08/14 20:59:43 frueauf Exp $ d6 1 a6 1 PKGNAME= psutils-${PAPERSIZE}-1.17 a11 1 MANUAL_PACKAGE_BUILD= PAPERSIZE has to be set to letter or A4 d13 5 d19 1 a19 1 .include "../../mk/bsd.pkg.mk" d22 1 a22 4 PAPER!= echo "${PAPERSIZE}" | tr '[C-Z]' '[c-z]' MAKE_FLAGS+= PAPER=${PAPER} USE_PERL5= YES d41 4 d46 9 a54 3 .for file in epsffit psbook psnup psresize psselect pstops strip ${PREFIX}/bin/${file} .endfor @ 1.9 log @Letter->letter, fixes pr 5971 by Brian Grayson. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 1998/06/22 13:04:38 agc Exp $ d14 2 a15 1 MAKE_FLAGS?= PAPER=${PAPERSIZE} d18 3 d25 1 a25 1 XA4|Xletter) \ d33 3 a35 3 ${ECHO} " A3, A4 (default), A5, B5, letter, legal,"; \ ${ECHO} " ledger, tabloid, statement, executive,"; \ ${ECHO} " folio, quarto, and 10x14."; \ a43 2 .include "../../mk/bsd.pkg.mk" @ 1.8 log @Update package Makefiles for automatic manual page handling. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 1998/06/10 08:02:09 agc Exp $ d21 1 a21 1 XA4|XLetter) \ @ 1.7 log @Remove the trailing '-f' from MAKE_FLAGS in bsd.pkg.mk, and include it explicitly in the commands before ${MAKEFILE}; modify package Makefiles to conform to this rationalisation. This was used inconsistently in many packages, some including it, some not. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 1998/04/20 11:56:32 frueauf Exp $ a14 4 MAN1= psbook.1 psselect.1 pstops.1 epsffit.1 psnup.1 psresize.1 \ getafm.1 fixdlsrps.1 fixfmps.1 fixmacps.1 fixpsditps.1 \ fixpspps.1 fixtpps.1 fixwfwps.1 fixwpps.1 fixwwps.1 \ extractres.1 includeres.1 fixscribeps.1 psmerge.1 @ 1.6 log @Substitute all obvious FreeBSD ppl as MAINTAINER with packages@@netbsd.org. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 1998/04/17 20:17:18 hubertf Exp $ d14 1 a14 1 MAKE_FLAGS?= PAPER=${PAPERSIZE} -f @ 1.5 log @this needs perl for the fix* scripts @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 1998/04/15 10:38:46 agc Exp $ d10 1 a10 1 MAINTAINER= jmz@@FreeBSD.org @ 1.4 log @Use the bsd.pkg.mk and bsd.pkg.subdir.mk files in the pkgsrc tree. Remove redundant (and sometimes erroneous) comments. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 1998/02/23 14:02:29 agc Exp $ d21 1 @ 1.3 log @Don't include /etc/mk.conf explicitly. It's not necessary. @ text @d1 1 a1 6 # New ports collection makefile for: psutils # Version required: 1.16 # Date created: 21 September 1994 # Whom: jmz & David O'Brien (obrien@@cs.ucdavis.edu) # # $NetBSD: Makefile,v 1.2 1998/02/22 20:37:58 frueauf Exp $ d44 1 a44 1 .include @ 1.2 log @- include mk.conf/make.conf to get user defined PAPERSIZE - add post-install rule that strips the binaries - some reformating and echo->${ECHO} @ text @d6 1 a6 1 # $NetBSD: Makefile,v 1.1.1.1 1998/02/22 20:32:08 frueauf Exp $ d17 1 a17 1 MANUAL_PACKAGE_BUILD= PAPERSIZE has to be set to letter A4 d25 1 a25 5 # Include local make config file here. It is essential to have this # precede any override targets (those that override defaults in # that test variables that may be set here. Note that # this inclusion is otherwise redundant, since includes # , which includes it. d27 16 a42 42 OPSYS!= uname -s .if (${OPSYS} == "FreeBSD") .if exists(/etc/make.conf) .include "/etc/make.conf" .endif .else .if exists(/etc/mk.conf) .include "/etc/mk.conf" .endif .endif .if !defined(PAPERSIZE) PAPERSIZE=A4 PAPERSIZE_UNSPECIFIED= yes .else .if ${PAPERSIZE} != A3 && ${PAPERSIZE} != a3 && ${PAPERSIZE} != A4 \ && ${PAPERSIZE} != a4 && ${PAPERSIZE} != A5 && ${PAPERSIZE} != a5 \ && ${PAPERSIZE} != B5 && ${PAPERSIZE} != b5 \ && ${PAPERSIZE} != letter && ${PAPERSIZE} != legal \ && ${PAPERSIZE} != ledger && ${PAPERSIZE} != tabloid \ && ${PAPERSIZE} != statement && ${PAPERSIZE} != executive \ && ${PAPERSIZE} != folio && ${PAPERSIZE} != quarto \ && ${PAPERSIZE} != 10x14 PAPERSIZE_INVALID= yes .endif .endif pre-fetch: .if defined(PAPERSIZE_UNSPECIFIED) @@${ECHO} "Defaulting to ${PAPERSIZE} sized paper." @@${ECHO} "" @@${ECHO} "Set the environment variable PAPERSIZE if you want to use" @@${ECHO} "other sizes. Possible values are:" @@${ECHO} " A3, A4 (default), A5, B5, letter, legal, ledger, tabloid," @@${ECHO} " statement, executive, folio, quarto, and 10x14." .elif defined(PAPERSIZE_INVALID) @@${ECHO} "Error: invalid value for PAPERSIZE: \"${PAPERSIZE}\"" @@${ECHO} "Possible values are:" @@${ECHO} " A3, A4 (default), A5, B5, letter, legal, ledger, tabloid," @@${ECHO} " statement, executive, folio, quarto, and 10x14." @@${FALSE} .endif @ 1.1 log @Initial revision @ text @d6 1 a6 1 # $NetBSD$ d17 1 a17 1 MANUAL_PACKAGE_BUILD= PAPERSIZE has to be set to letter a4 d25 16 a40 12 ##package:: letter a4 letter:: ${MAKE} PAPERSIZE=letter letter-install:: ${MAKE} PAPERSIZE=letter install a4:: ${MAKE} PAPERSIZE=a4 d43 1 a43 1 PAPERSIZE=a4 d47 1 a47 1 && ${PAPERSIZE} != a4 && ${PAPERSIZE} != A5 && ${PAPERSIZE} != a5 \ d52 2 a53 1 && ${PAPERSIZE} != folio && ${PAPERSIZE} != quarto && ${PAPERSIZE} != 10x14 d60 6 a65 5 @@echo "Defaulting to ${PAPERSIZE} sized paper." @@echo "" @@echo "Set the environment variable PAPERSIZE if you want to use other sizes." @@echo "Possible values are: A3, A4 (default), A5, B5, letter, legal," @@echo " ledger, tabloid, statement, executive, folio, quarto, and 10x14." d67 5 a71 4 @@echo "Error: invalid value for PAPERSIZE: \"${PAPERSIZE}\"" @@echo "Possible values are: A3, A4 (default), A5, B5, letter, legal," @@echo " ledger, tabloid, statement, executive, folio, quarto, and 10x14." @@/usr/bin/false d73 5 @ 1.1.1.1 log @Initial importf of psutils-p17 FreeBSD port. @ text @@