head 1.89; access; symbols pkgsrc-2023Q4:1.89.0.4 pkgsrc-2023Q4-base:1.89 pkgsrc-2023Q3:1.89.0.2 pkgsrc-2023Q3-base:1.89 pkgsrc-2023Q2:1.88.0.28 pkgsrc-2023Q2-base:1.88 pkgsrc-2023Q1:1.88.0.26 pkgsrc-2023Q1-base:1.88 pkgsrc-2022Q4:1.88.0.24 pkgsrc-2022Q4-base:1.88 pkgsrc-2022Q3:1.88.0.22 pkgsrc-2022Q3-base:1.88 pkgsrc-2022Q2:1.88.0.20 pkgsrc-2022Q2-base:1.88 pkgsrc-2022Q1:1.88.0.18 pkgsrc-2022Q1-base:1.88 pkgsrc-2021Q4:1.88.0.16 pkgsrc-2021Q4-base:1.88 pkgsrc-2021Q3:1.88.0.14 pkgsrc-2021Q3-base:1.88 pkgsrc-2021Q2:1.88.0.12 pkgsrc-2021Q2-base:1.88 pkgsrc-2021Q1:1.88.0.10 pkgsrc-2021Q1-base:1.88 pkgsrc-2020Q4:1.88.0.8 pkgsrc-2020Q4-base:1.88 pkgsrc-2020Q3:1.88.0.6 pkgsrc-2020Q3-base:1.88 pkgsrc-2020Q2:1.88.0.4 pkgsrc-2020Q2-base:1.88 pkgsrc-2020Q1:1.88.0.2 pkgsrc-2020Q1-base:1.88 pkgsrc-2019Q4:1.86.0.50 pkgsrc-2019Q4-base:1.86 pkgsrc-2019Q3:1.86.0.46 pkgsrc-2019Q3-base:1.86 pkgsrc-2019Q2:1.86.0.44 pkgsrc-2019Q2-base:1.86 pkgsrc-2019Q1:1.86.0.42 pkgsrc-2019Q1-base:1.86 pkgsrc-2018Q4:1.86.0.40 pkgsrc-2018Q4-base:1.86 pkgsrc-2018Q3:1.86.0.38 pkgsrc-2018Q3-base:1.86 pkgsrc-2018Q2:1.86.0.36 pkgsrc-2018Q2-base:1.86 pkgsrc-2018Q1:1.86.0.34 pkgsrc-2018Q1-base:1.86 pkgsrc-2017Q4:1.86.0.32 pkgsrc-2017Q4-base:1.86 pkgsrc-2017Q3:1.86.0.30 pkgsrc-2017Q3-base:1.86 pkgsrc-2017Q2:1.86.0.26 pkgsrc-2017Q2-base:1.86 pkgsrc-2017Q1:1.86.0.24 pkgsrc-2017Q1-base:1.86 pkgsrc-2016Q4:1.86.0.22 pkgsrc-2016Q4-base:1.86 pkgsrc-2016Q3:1.86.0.20 pkgsrc-2016Q3-base:1.86 pkgsrc-2016Q2:1.86.0.18 pkgsrc-2016Q2-base:1.86 pkgsrc-2016Q1:1.86.0.16 pkgsrc-2016Q1-base:1.86 pkgsrc-2015Q4:1.86.0.14 pkgsrc-2015Q4-base:1.86 pkgsrc-2015Q3:1.86.0.12 pkgsrc-2015Q3-base:1.86 pkgsrc-2015Q2:1.86.0.10 pkgsrc-2015Q2-base:1.86 pkgsrc-2015Q1:1.86.0.8 pkgsrc-2015Q1-base:1.86 pkgsrc-2014Q4:1.86.0.6 pkgsrc-2014Q4-base:1.86 pkgsrc-2014Q3:1.86.0.4 pkgsrc-2014Q3-base:1.86 pkgsrc-2014Q2:1.86.0.2 pkgsrc-2014Q2-base:1.86 pkgsrc-2014Q1:1.85.0.40 pkgsrc-2014Q1-base:1.85 pkgsrc-2013Q4:1.85.0.38 pkgsrc-2013Q4-base:1.85 pkgsrc-2013Q3:1.85.0.36 pkgsrc-2013Q3-base:1.85 pkgsrc-2013Q2:1.85.0.34 pkgsrc-2013Q2-base:1.85 pkgsrc-2013Q1:1.85.0.32 pkgsrc-2013Q1-base:1.85 pkgsrc-2012Q4:1.85.0.30 pkgsrc-2012Q4-base:1.85 pkgsrc-2012Q3:1.85.0.28 pkgsrc-2012Q3-base:1.85 pkgsrc-2012Q2:1.85.0.26 pkgsrc-2012Q2-base:1.85 pkgsrc-2012Q1:1.85.0.24 pkgsrc-2012Q1-base:1.85 pkgsrc-2011Q4:1.85.0.22 pkgsrc-2011Q4-base:1.85 pkgsrc-2011Q3:1.85.0.20 pkgsrc-2011Q3-base:1.85 pkgsrc-2011Q2:1.85.0.18 pkgsrc-2011Q2-base:1.85 pkgsrc-2011Q1:1.85.0.16 pkgsrc-2011Q1-base:1.85 pkgsrc-2010Q4:1.85.0.14 pkgsrc-2010Q4-base:1.85 pkgsrc-2010Q3:1.85.0.12 pkgsrc-2010Q3-base:1.85 pkgsrc-2010Q2:1.85.0.10 pkgsrc-2010Q2-base:1.85 pkgsrc-2010Q1:1.85.0.8 pkgsrc-2010Q1-base:1.85 pkgsrc-2009Q4:1.85.0.6 pkgsrc-2009Q4-base:1.85 pkgsrc-2009Q3:1.85.0.4 pkgsrc-2009Q3-base:1.85 pkgsrc-2009Q2:1.85.0.2 pkgsrc-2009Q2-base:1.85 pkgsrc-2009Q1:1.84.0.12 pkgsrc-2009Q1-base:1.84 pkgsrc-2008Q4:1.84.0.10 pkgsrc-2008Q4-base:1.84 pkgsrc-2008Q3:1.84.0.8 pkgsrc-2008Q3-base:1.84 cube-native-xorg:1.84.0.6 cube-native-xorg-base:1.84 pkgsrc-2008Q2:1.84.0.4 pkgsrc-2008Q2-base:1.84 cwrapper:1.84.0.2 pkgsrc-2008Q1:1.83.0.8 pkgsrc-2008Q1-base:1.83 pkgsrc-2007Q4:1.83.0.6 pkgsrc-2007Q4-base:1.83 pkgsrc-2007Q3:1.83.0.4 pkgsrc-2007Q3-base:1.83 pkgsrc-2007Q2:1.83.0.2 pkgsrc-2007Q2-base:1.83 pkgsrc-2007Q1:1.81.0.2 pkgsrc-2007Q1-base:1.81 pkgsrc-2006Q4:1.78.0.2 pkgsrc-2006Q4-base:1.78 pkgsrc-2006Q3:1.77.0.2 pkgsrc-2006Q3-base:1.77 pkgsrc-2006Q2:1.76.0.6 pkgsrc-2006Q2-base:1.76 pkgsrc-2006Q1:1.76.0.4 pkgsrc-2006Q1-base:1.76 pkgsrc-2005Q4:1.76.0.2 pkgsrc-2005Q4-base:1.76 pkgsrc-2005Q3:1.75.0.2 pkgsrc-2005Q3-base:1.75 pkgsrc-2005Q2:1.73.0.2 pkgsrc-2005Q2-base:1.73 pkgsrc-base:1.1.1.2 pkgsrc-2005Q1:1.67.0.2 pkgsrc-2005Q1-base:1.67 pkgsrc-2004Q4:1.66.0.2 pkgsrc-2004Q4-base:1.66 pkgsrc-2004Q3:1.65.0.2 pkgsrc-2004Q3-base:1.65 pkgsrc-2004Q2:1.64.0.4 pkgsrc-2004Q2-base:1.64 pkgsrc-2004Q1:1.64.0.2 pkgsrc-2004Q1-base:1.64 pkgsrc-2003Q4:1.60.0.2 pkgsrc-2003Q4-base:1.60 netbsd-1-6-1:1.52.0.2 netbsd-1-6-1-base:1.52 netbsd-1-6:1.47.0.6 netbsd-1-6-RELEASE-base:1.47 pkgviews:1.47.0.2 pkgviews-base:1.47 buildlink2:1.46.0.2 buildlink2-base:1.47 netbsd-1-5-PATCH003:1.46 netbsd-1-5-PATCH001:1.43 netbsd-1-5-RELEASE:1.37 netbsd-1-4-PATCH003:1.37 netbsd-1-4-PATCH002:1.31 comdex-fall-1999:1.28 netbsd-1-4-PATCH001:1.24 netbsd-1-4-RELEASE:1.23 netbsd-1-3-PATCH003:1.16 netbsd-1-3-PATCH002:1.10 FreeBSD-current-1997-10-03:1.1.1.1 FREEBSD:1.1.1; locks; strict; comment @# @; 1.89 date 2023.07.17.01.03.19; author thor; state Exp; branches; next 1.88; commitid 0iDNzyPfjmyFK5xE; 1.88 date 2020.02.12.15.04.51; author rillig; state Exp; branches; next 1.87; commitid xzmdZNoGVHdfEoWB; 1.87 date 2020.01.11.11.09.35; author rillig; state Exp; branches; next 1.86; commitid 45rmcqlbtMtHmgSB; 1.86 date 2014.06.02.10.24.05; author wiz; state Exp; branches; next 1.85; commitid I50hUg08qEFcZVCx; 1.85 date 2009.05.16.07.21.05; author rillig; state Exp; branches; next 1.84; 1.84 date 2008.06.23.20.34.20; author kristerw; state Exp; branches; next 1.83; 1.83 date 2007.06.19.22.30.33; author wiz; state Exp; branches; next 1.82; 1.82 date 2007.06.19.13.39.56; author joerg; state Exp; branches; next 1.81; 1.81 date 2007.02.20.22.46.32; author agc; state Exp; branches; next 1.80; 1.80 date 2007.01.07.00.57.36; author rillig; state Exp; branches; next 1.79; 1.79 date 2007.01.06.17.10.42; author rillig; state Exp; branches; next 1.78; 1.78 date 2006.12.29.19.02.25; author joerg; state Exp; branches; next 1.77; 1.77 date 2006.07.02.12.29.22; author rillig; state Exp; branches; next 1.76; 1.76 date 2005.09.28.07.49.22; author rillig; state Exp; branches; next 1.75; 1.75 date 2005.09.01.22.02.34; author rillig; state Exp; branches; next 1.74; 1.74 date 2005.07.15.18.27.48; author jlam; state Exp; branches; next 1.73; 1.73 date 2005.06.06.22.30.19; author kristerw; state Exp; branches; next 1.72; 1.72 date 2005.06.01.17.45.57; author wiz; state Exp; branches; next 1.71; 1.71 date 2005.05.17.21.46.59; author dmcmahill; state Exp; branches; next 1.70; 1.70 date 2005.05.16.19.59.54; author wiz; state Exp; branches; next 1.69; 1.69 date 2005.05.16.03.45.24; author jlam; state Exp; branches; next 1.68; 1.68 date 2005.05.14.20.50.02; author jlam; state Exp; branches; next 1.67; 1.67 date 2005.02.14.22.47.11; author rillig; state Exp; branches; next 1.66; 1.66 date 2004.10.07.02.01.37; author jlam; state Exp; branches; next 1.65; 1.65 date 2004.08.27.21.32.55; author jlam; state Exp; branches; next 1.64; 1.64 date 2004.03.26.02.38.42; author wiz; state Exp; branches; next 1.63; 1.63 date 2004.02.28.06.04.13; author grant; state Exp; branches; next 1.62; 1.62 date 2004.02.28.06.03.22; author grant; state Exp; branches; next 1.61; 1.61 date 2004.01.26.11.32.06; author jmmv; state Exp; branches; next 1.60; 1.60 date 2003.10.04.19.34.46; author agc; state Exp; branches; next 1.59; 1.59 date 2003.09.16.20.31.00; author jmmv; state Exp; branches; next 1.58; 1.58 date 2003.07.25.02.44.09; author grant; state Exp; branches; next 1.57; 1.57 date 2003.07.25.02.43.00; author grant; state Exp; branches; next 1.56; 1.56 date 2003.07.23.09.41.23; author dmcmahill; state Exp; branches; next 1.55; 1.55 date 2003.06.30.22.05.11; author hubertf; state Exp; branches; next 1.54; 1.54 date 2003.05.06.17.40.18; author jmmv; state Exp; branches; next 1.53; 1.53 date 2003.05.03.16.26.01; author cjep; state Exp; branches; next 1.52; 1.52 date 2003.02.09.14.38.52; author wiz; state Exp; branches; next 1.51; 1.51 date 2003.01.05.13.37.15; author dmcmahill; state Exp; branches; next 1.50; 1.50 date 2002.12.15.02.49.37; author salo; state Exp; branches; next 1.49; 1.49 date 2002.12.01.05.51.33; author dmcmahill; state Exp; branches; next 1.48; 1.48 date 2002.09.24.13.59.20; author wiz; state Exp; branches; next 1.47; 1.47 date 2002.05.31.15.26.50; author seb; state Exp; branches; next 1.46; 1.46 date 2001.12.17.02.33.46; author dmcmahill; state Exp; branches 1.46.2.1; next 1.45; 1.45 date 2001.12.17.02.32.22; author dmcmahill; state Exp; branches; next 1.44; 1.44 date 2001.07.17.13.11.51; author wiz; state Exp; branches; next 1.43; 1.43 date 2001.02.27.20.23.59; author hubertf; state Exp; branches; next 1.42; 1.42 date 2000.12.17.23.40.54; author wiz; state Exp; branches; next 1.41; 1.41 date 2000.12.15.00.41.00; author wiz; state Exp; branches; next 1.40; 1.40 date 2000.12.14.01.02.08; author wiz; state Exp; branches; next 1.39; 1.39 date 2000.12.12.02.10.16; author wiz; state Exp; branches; next 1.38; 1.38 date 2000.12.11.14.15.31; author wiz; state Exp; branches; next 1.37; 1.37 date 2000.09.07.02.29.40; author fredb; state Exp; branches; next 1.36; 1.36 date 2000.09.06.20.28.32; author fredb; state Exp; branches; next 1.35; 1.35 date 2000.05.12.18.42.22; author sakamoto; state Exp; branches; next 1.34; 1.34 date 2000.05.12.09.19.14; author agc; state Exp; branches; next 1.33; 1.33 date 2000.05.11.11.25.18; author agc; state Exp; branches; next 1.32; 1.32 date 2000.03.30.13.01.49; author hubertf; state Exp; branches; next 1.31; 1.31 date 2000.02.25.01.04.11; author wiz; state Exp; branches; next 1.30; 1.30 date 2000.02.09.03.51.12; author hubertf; state Exp; branches; next 1.29; 1.29 date 2000.01.04.23.46.14; author hubertf; state Exp; branches; next 1.28; 1.28 date 99.10.26.01.50.04; author hubertf; state Exp; branches; next 1.27; 1.27 date 99.10.22.00.54.23; author hubertf; state Exp; branches; next 1.26; 1.26 date 99.08.23.21.37.28; author hubertf; state Exp; branches; next 1.25; 1.25 date 99.08.22.01.30.15; author hubertf; state Exp; branches; next 1.24; 1.24 date 99.06.06.19.33.17; author frueauf; state Exp; branches; next 1.23; 1.23 date 99.04.15.23.17.30; author rh; state Exp; branches; next 1.22; 1.22 date 99.03.03.20.19.05; author hubertf; state Exp; branches; next 1.21; 1.21 date 99.03.03.17.19.18; author hubertf; state Exp; branches; next 1.20; 1.20 date 99.03.02.03.56.06; author hubertf; state Exp; branches; next 1.19; 1.19 date 99.02.21.21.25.02; author agc; state Exp; branches; next 1.18; 1.18 date 98.10.28.18.16.50; author garbled; state Exp; branches; next 1.17; 1.17 date 98.10.13.23.37.03; author garbled; state Exp; branches; next 1.16; 1.16 date 98.08.28.12.26.50; author agc; state Exp; branches; next 1.15; 1.15 date 98.08.20.22.08.40; author agc; state Exp; branches; next 1.14; 1.14 date 98.08.12.02.45.27; author tv; state Exp; branches; next 1.13; 1.13 date 98.07.24.14.52.22; author agc; state Exp; branches; next 1.12; 1.12 date 98.05.17.13.30.41; author frueauf; state Exp; branches; next 1.11; 1.11 date 98.05.15.12.14.24; author agc; state Exp; branches; next 1.10; 1.10 date 98.04.15.10.38.06; author agc; state Exp; branches; next 1.9; 1.9 date 98.04.13.15.41.59; author frueauf; state Exp; branches; next 1.8; 1.8 date 98.03.08.14.26.26; author frueauf; state Exp; branches; next 1.7; 1.7 date 98.03.05.09.09.55; author mellon; state Exp; branches; next 1.6; 1.6 date 98.02.27.09.43.11; author mellon; state Exp; branches; next 1.5; 1.5 date 97.12.05.00.14.13; author hubertf; state Exp; branches; next 1.4; 1.4 date 97.11.27.00.01.23; author hubertf; state Exp; branches; next 1.3; 1.3 date 97.10.03.08.58.23; author agc; state Exp; branches; next 1.2; 1.2 date 97.10.03.08.10.58; author agc; state Exp; branches; next 1.1; 1.1 date 97.10.03.08.03.18; author agc; state Exp; branches 1.1.1.1; next ; 1.46.2.1 date 2002.06.23.18.37.12; author jlam; state Exp; branches; next ; 1.1.1.1 date 97.10.03.08.03.18; author agc; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 2005.04.01.13.34.51; author abs; state Exp; branches; next ; desc @@ 1.89 log @science: add category This is a general category for scientific software, as has been discussed a year ago, with a conclusion by Greg: https://mail-index.netbsd.org/tech-pkg/2022/07/28/msg026615.html @ text @# $NetBSD: Makefile,v 1.88 2020/02/12 15:04:51 rillig Exp $ # # This is the top-level Makefile of pkgsrc. # See README.md for a more detailed introduction. # # User-settable variables: # # SPECIFIC_PKGS # (See mk/defaults/mk.conf) # # SITE_SPECIFIC_PKGS # HOST_SPECIFIC_PKGS # GROUP_SPECIFIC_PKGS # USER_SPECIFIC_PKGS # The specific packages that are to be built. # # XXX: Why are there four distinct variables? The same could be # achieved using just SPECIFIC_PKGS as the list of packages and # leaving the remaining details to the user. # # See also: # mk/misc/toplevel.mk # # Note: The tools definitions must come before bsd.prefs.mk is included. # tools used by this Makefile USE_TOOLS+= [ awk cat cmp echo env expr false fgrep grep mv rm sed \ sort wc # additional tools used by bsd.pkg.subdir.mk USE_TOOLS+= basename touch PKGSRCTOP= yes .include "mk/bsd.prefs.mk" .if defined(SPECIFIC_PKGS) SUBDIR+= ${SITE_SPECIFIC_PKGS} SUBDIR+= ${HOST_SPECIFIC_PKGS} SUBDIR+= ${GROUP_SPECIFIC_PKGS} SUBDIR+= ${USER_SPECIFIC_PKGS} .else # Packages in the x11 category tend to require a lot more parse time # than the rest of the packages. Reorder it to the beginning to avoid # stalling parallel scans near the end of a run. SUBDIR+= x11 SUBDIR+= archivers SUBDIR+= audio SUBDIR+= benchmarks SUBDIR+= biology SUBDIR+= cad SUBDIR+= chat SUBDIR+= comms SUBDIR+= converters SUBDIR+= cross SUBDIR+= databases SUBDIR+= devel SUBDIR+= editors SUBDIR+= emulators SUBDIR+= filesystems SUBDIR+= finance SUBDIR+= fonts SUBDIR+= games SUBDIR+= geography SUBDIR+= graphics SUBDIR+= ham SUBDIR+= inputmethod SUBDIR+= lang SUBDIR+= mail SUBDIR+= math SUBDIR+= mbone SUBDIR+= meta-pkgs SUBDIR+= misc SUBDIR+= multimedia SUBDIR+= net SUBDIR+= news SUBDIR+= parallel SUBDIR+= pkgtools SUBDIR+= print SUBDIR+= science SUBDIR+= security SUBDIR+= shells SUBDIR+= sysutils SUBDIR+= textproc SUBDIR+= time SUBDIR+= wm SUBDIR+= www .endif SUBDIR+= ${USER_ADDITIONAL_PKGS} .include "mk/misc/toplevel.mk" @ 1.88 log @Makefile: fix outdated documentation This file no longer defines any targets. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.87 2020/01/11 11:09:35 rillig Exp $ d81 1 @ 1.87 log @regress: remove Makefile The regress/ directory does not contain pkgsrc packages, therefore it should not be listed as a SUBDIR in the top-level Makefile. This wrong impression could be caused because most of the regression tests have a Makefile that looks like an actual package Makefile. But this alone doesn't mean that these are packages. The only relevant file for a regression test is the spec file. If that test uses a package Makefile or not is an implementation detail of each test. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.86 2014/06/02 10:24:05 wiz Exp $ d3 2 a4 3 # This is the top-level Makefile of pkgsrc. It contains a list of the # categories of packages, as well as some targets that operate on the # whole pkgsrc system. @ 1.86 log @Remove old bulk build code. Use pbulk. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.85 2009/05/16 07:21:05 rillig Exp $ a81 1 #SUBDIR+= regress # regression tests must be started manually @ 1.85 log @cleanup @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.84 2008/06/23 20:34:20 kristerw Exp $ a34 3 # additional tools used by bsd.bulk-pkg.mk USE_TOOLS+= egrep find ls sh tee true tsort @ 1.84 log @The crosspkgtools has not worked for a long time because of changes in the pkgsrc infrastructure. And the current infrastructure differs enough from how it looked when the crosspkgtools was made, so a somewhat different approach is needed. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.83 2007/06/19 22:30:33 wiz Exp $ d97 1 a97 1 .include "${.PARSEDIR}/mk/misc/toplevel.mk" @ 1.83 log @Fix typo in comment. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.82 2007/06/19 13:39:56 joerg Exp $ a60 1 SUBDIR+= crosspkgtools @ 1.82 log @Reorder SUBDIR list slightly to give parallel scans a change to run the very slow jobs in x11 when other jobs are available for processing. Some packages need up to 10min for pbulk-index on my build system and the reorder reduces the overall scan time with 4 clients from 35min to 30min. Discussed with jlam@@. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.81 2007/02/20 22:46:32 agc Exp $ d48 1 a48 1 # Package in the x11 category tend to require a lot more parse time @ 1.81 log @Add the new filesystems category, as proposed on tech-pkg. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.80 2007/01/07 00:57:36 rillig Exp $ d48 4 a93 1 SUBDIR+= x11 @ 1.80 log @The tool definitions must come before including bsd.prefs.mk. Pointed out by wiz. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.79 2007/01/06 17:10:42 rillig Exp $ d62 1 @ 1.79 log @Moved the make targets from the top-level Makefile to their own file, mk/misc/toplevel.mk. Added a bit of documentation. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.78 2006/12/29 19:02:25 joerg Exp $ d26 14 @ 1.78 log @Change the way INDEX is used by dropping the dependency on PKGDB in INDEX and calling it directly. As the output is removed anyway, it forced a full rescan on every "make search". Calling "make index" still regenerates it all the time, but the other targets don't. OK wiz@@ PRs: 26442, 34207, 35266 @ text @d1 23 a23 1 # $NetBSD: Makefile,v 1.77 2006/07/02 12:29:22 rillig Exp $ a25 10 # tools used by this Makefile USE_TOOLS+= [ awk cat cmp echo env expr false fgrep grep mv rm sed \ sort wc # additional tools used by bsd.pkg.subdir.mk USE_TOOLS+= basename touch # additional tools used by bsd.bulk-pkg.mk USE_TOOLS+= egrep find ls sh tee true tsort d28 1 a28 1 .ifdef SPECIFIC_PKGS a77 1 .ifdef USER_ADDITIONAL_PKGS a78 170 .endif PKGSRCTOP= yes # If PACKAGES is set to the default (${PKGSRCDIR}/packages), the current # ${MACHINE_ARCH} and "release" (uname -r) will be used. Otherwise a directory # structure of ...pkgsrc/packages/`uname -r`/${MACHINE_ARCH} is assumed. # The PKG_URL is set from FTP_PKG_URL_* or CDROM_PKG_URL_*, depending on # the target used to generate the README.html file. .PHONY: README.html _README_TYPE_FLAG?= none README.html: .PRECIOUS .if ${_README_TYPE_FLAG} == "--ftp" || ${_README_TYPE_FLAG} == "--cdrom" ${SETENV} TMPDIR=${TMPDIR:U/tmp}/mkreadme \ BMAKE=${MAKE} \ ./mk/scripts/mkreadme --pkgsrc ${.CURDIR} \ --packages ${PACKAGES} ${_README_TYPE_FLAG} \ --prune .else @@${ECHO} "ERROR: please do not use the README.html target directly." @@${ECHO} " Instead use either the \"readme\" or \"cdrom-readme\"" @@${ECHO} " target." @@${FALSE} .endif .include "mk/bsd.pkg.subdir.mk" # the bulk-cache and clean-bulk-cache targets are a global-pkgsrc # thing and thus it makes sense to run it from the top level pkgsrc # directory. .if make(bulk-cache) || make(clean-bulk-cache) .include "${.CURDIR}/mk/bulk/bsd.bulk-pkg.mk" .endif .PHONY: ${.CURDIR}/PKGDB ${.CURDIR}/PKGDB: @@${RM} -f ${.CURDIR}/PKGDB @@${ECHO_MSG} "Extracting complete dependency database. This may take a while..." @@DB=${.CURDIR}/PKGDB ; \ PKGSRCDIR=${.CURDIR} ; \ npkg=1; \ list=`${GREP} '^[[:space:]]*'SUBDIR */Makefile | ${SED} 's,/Makefile.*=[[:space:]]*,/,'` ; \ for pkgdir in $$list ; do \ if [ ! -d $$pkgdir ]; then \ echo " " ; \ echo "WARNING: the package directory $$pkgdir is listed in" > /dev/stderr ; \ echo $$pkgdir | ${SED} 's;/.*;/Makefile;g' > /dev/stderr ; \ echo "but the directory does not exist. Please fix this!" > /dev/stderr ; \ else \ cd $$pkgdir ; \ l=`${MAKE} print-summary-data` ; \ if [ $$? != 0 ]; then \ echo "WARNING (printdepends): the package in $$pkgdir had problem with" \ > /dev/stderr ; \ echo " ${MAKE} print-summary-data" > /dev/stderr ; \ echo " database information for this package" > /dev/stderr ; \ echo " will be dropped." > /dev/stderr ; \ ${MAKE} print-summary-data 2>&1 > /dev/stderr ; \ else \ echo "$$l" >> $$DB ; \ fi ; \ fi ; \ ${ECHO_N} "."; \ if [ `${EXPR} $$npkg % 100 = 0` -eq 1 ]; then \ echo " " ; \ echo "$$npkg" ; \ fi ; \ npkg=`${EXPR} $$npkg + 1` ; \ cd $$PKGSRCDIR ; \ done .PHONY: index index: @@${RM} ${.CURDIR}/INDEX @@${MAKE} ${.CURDIR}/INDEX ${.CURDIR}/INDEX: @@${MAKE} ${.CURDIR}/PKGDB @@${RM} -f ${.CURDIR}/INDEX @@${AWK} -f ./mk/scripts/genindex.awk PKGSRCDIR=${.CURDIR} SORT=${SORT} ${.CURDIR}/PKGDB @@${RM} -f ${.CURDIR}/PKGDB print-index: ${.CURDIR}/INDEX @@${AWK} -F\| '{ printf("Pkg:\t%s\nPath:\t%s\nInfo:\t%s\nMaint:\t%s\nIndex:\t%s\nB-deps:\t%s\nR-deps:\t%s\nArch:\t%s\n\n", $$1, $$2, $$4, $$6, $$7, $$8, $$9, $$10); }' < ${.CURDIR}/INDEX search: ${.CURDIR}/INDEX .if !defined(key) @@${ECHO} "The search target requires a keyword parameter," @@${ECHO} "e.g.: \"${MAKE} search key=somekeyword\"" .else @@${GREP} ${key} ${.CURDIR}/INDEX | ${AWK} -F\| '{ printf("Pkg:\t%s\nPath:\t%s\nInfo:\t%s\nMaint:\t%s\nIndex:\t%s\nB-deps:\t%s\nR-deps:\t%s\nArch:\t%s\n\n", $$1, $$2, $$4, $$6, $$7, $$8, $$9, $$10); }' .endif # # Generate list of all packages by extracting information from # the category/README.html pages # readme-all: @@if [ -f README-all.html ]; then \ ${MV} README-all.html README-all.html.BAK ; \ fi @@${MAKE} README-all.html @@if ${CMP} -s README-all.html README-all.html.BAK ; then \ ${MV} README-all.html.BAK README-all.html ; \ else \ ${RM} -f README-all.html.BAK ; \ fi README-all.html: @@${RM} -f $@@.new @@${RM} -f $@@.newsorted @@${ECHO_N} "Processing categories for $@@:" .for category in ${SUBDIR} @@if [ -f ${category}/README.html ]; then \ ${ECHO_N} ' ${category}' ; \ ${GREP} '^' ${category}/README.html \ | ${SED} -e 's|"|"${category}/|' \ -e 's| | (${category}) |' \ -e 's|||' \ -e 's|||' \ >> $@@.new ; \ fi .endfor @@${ECHO} "." @@if [ ! -f $@@.new ]; then \ ${ECHO} "There are no categories with README.html files available."; \ ${ECHO} "You need to run \`${MAKE} readme' to generate them before running this target."; \ ${FALSE}; \ fi @@${SORT} -f -t '">' +2 <$@@.new >$@@.newsorted @@${WC} -l $@@.newsorted | ${AWK} '{ print $$1 }' >$@@.npkgs @@${CAT} templates/README.all \ | ${SED} \ -e '/%%NPKGS%%/r$@@.npkgs' \ -e '/%%NPKGS%%/d' \ -e '/%%PKGS%%/r$@@.newsorted' \ -e '/%%PKGS%%/d' \ > $@@ @@${RM} -f $@@.npkgs @@${RM} -f $@@.new @@${RM} -f $@@.newsorted readme-ipv6: @@if [ -f README-IPv6.html ]; then \ ${MV} README-IPv6.html README-IPv6.html.BAK ; \ fi @@${MAKE} README-IPv6.html @@if ${CMP} -s README-IPv6.html README-IPv6.html.BAK ; then \ ${MV} README-IPv6.html.BAK README-IPv6.html ; \ else \ ${RM} -f README-IPv6.html.BAK ; \ fi README-IPv6.html: @@${GREP} -l -e '^BUILD_DEFS.*=.*USE_INET6' -e '^PKG_SUPPORTED_OPTIONS.*=.*inet6' \ */*/Makefile */*/options.mk \ | ${SED} -e s,Makefile,, -e s,options.mk,, >$@@.pkgs @@${FGREP} -f $@@.pkgs README-all.html | ${SORT} -t/ +1 >$@@.trs @@${CAT} templates/README.ipv6 \ | ${SED} \ -e '/%%TRS%%/r$@@.trs' \ -e '/%%TRS%%/d' \ >$@@ @@${RM} $@@.pkgs $@@.trs show-host-specific-pkgs: @@${ECHO} "HOST_SPECIFIC_PKGS= \\"; \ ${MAKE} show-pkgsrc-dir | ${AWK} '/^===/ { next; } { printf("%s \\\n", $$1) }'; \ ${ECHO} "" d80 1 a80 7 # list all packages that depend on a particular package; needs the INDEX file # usage: 'make show-deps PKG=openssl' # PKG: name of the package show-deps: @@if [ ! -f "${.CURDIR}/INDEX" ]; then ${ECHO} "No index available -- please build it with 'make index'" >&2; ${FALSE}; fi @@if [ -z "${PKG}" ]; then ${ECHO} "PKG variable not set" >&2; ${FALSE}; fi @@${GREP} -E "^([^|]*\|){7}([^|]* |)${PKG}>=" ${.CURDIR}/INDEX | ${SED} -n 's/^[^|]*|\([^|]*\)|.*/\1/p' | ${SORT} @ 1.77 log @Fixed some pkglint warnings: Use ${ECHO_N} instead of echo -n and surround the sed command in the last line by single quotes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.76 2005/09/28 07:49:22 rillig Exp $ d141 3 a143 1 index: ${.CURDIR}/INDEX d145 2 a146 1 ${.CURDIR}/INDEX: ${.CURDIR}/PKGDB @ 1.76 log @Added a comment to the "regress" category. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.75 2005/09/01 22:02:34 rillig Exp $ d131 1 a131 1 echo -n "." ; \ d177 1 a177 1 @@${ECHO} -n "Processing categories for $@@:" d180 1 a180 1 ${ECHO} -n ' ${category}' ; \ d242 1 a242 1 @@${GREP} -E "^([^|]*\|){7}([^|]* |)${PKG}>=" ${.CURDIR}/INDEX | ${SED} -n "s/^[^|]*|\([^|]*\)|.*/\1/p" | ${SORT} @ 1.75 log @Indented the SUBDIR section to look like the SUBDIR sections in the category Makefiles. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.74 2005/07/15 18:27:48 jlam Exp $ d55 1 a55 1 #SUBDIR+= regress @ 1.74 log @Drop distinction between PKGSRC_USE_TOOLS and USE_TOOLS by making PKGSRC_USE_TOOLS go away. There is now only a single USE_TOOLS variable that specifies all of the tools we need to build/run the package. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.73 2005/06/06 22:30:19 kristerw Exp $ d22 42 a63 42 SUBDIR += archivers SUBDIR += audio SUBDIR += benchmarks SUBDIR += biology SUBDIR += cad SUBDIR += chat SUBDIR += comms SUBDIR += converters SUBDIR += cross SUBDIR += crosspkgtools SUBDIR += databases SUBDIR += devel SUBDIR += editors SUBDIR += emulators SUBDIR += finance SUBDIR += fonts SUBDIR += games SUBDIR += geography SUBDIR += graphics SUBDIR += ham SUBDIR += inputmethod SUBDIR += lang SUBDIR += mail SUBDIR += math SUBDIR += mbone SUBDIR += meta-pkgs SUBDIR += misc SUBDIR += multimedia SUBDIR += net SUBDIR += news SUBDIR += parallel SUBDIR += pkgtools SUBDIR += print #SUBDIR += regress SUBDIR += security SUBDIR += shells SUBDIR += sysutils SUBDIR += textproc SUBDIR += time SUBDIR += wm SUBDIR += www SUBDIR += x11 @ 1.73 log @Add the crosspkgtools category. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.72 2005/06/01 17:45:57 wiz Exp $ d5 2 a6 2 PKGSRC_USE_TOOLS+= [ awk cat cmp echo env expr false fgrep grep mv \ rm sed sort wc d9 1 a9 1 PKGSRC_USE_TOOLS+= basename touch d12 1 a12 1 PKGSRC_USE_TOOLS+= egrep find ls sh tee true tsort @ 1.72 log @Recognize inet6 in PKG_SUPPORTED_OPTIONS as an indicator that a package support IPv6 (for the README-IPv6.html generation). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.71 2005/05/17 21:46:59 dmcmahill Exp $ d31 1 @ 1.71 log @Rework the README.html generation code. Major changes are: - completely redo the code which decides on the machine architecture, operating system, and operating system version for the binary packages. The old way just used to directory names to take a guess. The new way creates a cache file containing meta-data for all the binary packages in each "All" directory. This cache file is consulted when generating the lists of available binary packages. The meta-data is obtained with pkg_info so it should always be correct even if you do something silly like mix OS_VERSION or MACHINE_ARCH packages up in the same directory. Among the benefits are: works when PACKAGES is not $PKGSRC/packages, works with a more or less arbitrary subdirectory structure, works when there are subdirectories for multiple operating systems. This portion of the fix should address PR25390. The cache files are only updated when the contents of an "All" directory changes or if the cache file format changes. There is some room for improving the updating of the cache files, but its not too bad the way it is. - fix up some of the awk code so that generadme.awk works with Solaris nawk as well as NetBSD's nawk and gawk (for pre-2.0 systems). - remove some "if ! foo" shell constructs to increase portability. - be more consistent with what variables get passed to mkreadme from make and which ones are determined automatically. Mostly this meant moving stuff into mkreadme to make it easier to run it standalone. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.70 2005/05/16 19:59:54 wiz Exp $ d219 3 a221 2 @@${GREP} -l '^BUILD_DEFS.*=.*USE_INET6' */*/Makefile \ | ${SED} s,Makefile,, >$@@.pkgs d228 1 a228 2 @@${RM} $@@.trs @@${RM} $@@.pkgs @ 1.70 log @Fix typo and remove duplicate word. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.69 2005/05/16 03:45:24 jlam Exp $ a80 12 @@if [ -e ${PACKAGES} ]; then \ cd ${PACKAGES}; \ case `pwd` in \ ${.CURDIR}/packages) \ MULTIARCH=; \ ;; \ *) \ MULTIARCH=--multi-arch; \ ;; \ esac; \ cd ${.CURDIR} ; \ fi; \ d82 1 a82 1 BMAKE=${MAKE} AWK=${AWK} EXPR=${EXPR} \ d84 1 a84 1 --packages ${PACKAGES} ${_README_TYPE_FLAG} $$MULTIARCH \ @ 1.69 log @Note the tools used by /usr/pkgsrc/Makefile. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.68 2005/05/14 20:50:02 jlam Exp $ d4 1 a4 1 # tools used by this this Makefile d8 1 a8 1 # additional tools use by bsd.pkg.subdir.mk @ 1.68 log @List the tools that are used by the files included by /usr/pkgsrc/Makefile. This causes the relevant "TOOL" variable names to be defined by bsd.prefs.mk (through including mk/tools/defaults.mk). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.67 2005/02/14 22:47:11 rillig Exp $ d4 6 a9 2 # tools use by bsd.pkg.subdir.mk PKGSRC_USE_TOOLS+= [ awk basename cat cmp echo mv rm sed sort touch d12 1 a12 1 PKGSRC_USE_TOOLS+= egrep env expr find grep ls sh tee true tsort wc @ 1.67 log @Fixed two quoting errors. Where $pkgdir had been written, $$pkgsrc had been meant. Approved by jlam. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.66 2004/10/07 02:01:37 jlam Exp $ d4 6 @ 1.66 log @* Make PKGSRC_TOPDIR a private variable by renaming it to _PKGSRC_TOPDIR, as it's only used internally by bsd.prefs.mk. * Make _PKGSRCDIR a public variable by renaming it to PKGSRCDIR. Also, generate its value from ${_PKGSRC_TOPDIR} so it's less fragile than the old method of stripping off the last two components of ${.CURDIR}. PKGSRCDIR may now be used after bsd.prefs.mk is defined. * Change all references to _PKGSRCDIR to PKGSRCDIR. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.65 2004/08/27 21:32:55 jlam Exp $ d115 2 a116 2 echo "WARNING: the package directory $pkgdir is listed in" > /dev/stderr ; \ echo $pkgdir | ${SED} 's;/.*;/Makefile;g' > /dev/stderr ; \ @ 1.65 log @Add a new "regress" category for pkgsrc regression testing code. We don't descend into this directory for anything since these packages aren't packages in the normal sense, since they're not expected to install or package correctly. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.64 2004/03/26 02:38:42 wiz Exp $ d62 1 a62 1 # If PACKAGES is set to the default (${_PKGSRCDIR}/packages), the current a101 3 # force the setting of _PKGSRCDIR because the way it gets # set in bsd.prefs.mk is broken if you're in this top level directory _PKGSRCDIR=${.CURDIR} @ 1.64 log @Add show-deps target: List all packages that depend on a particular package; needs the INDEX file Usage: 'make show-deps PKG=openssl' PKG: name of the package No make dependency on INDEX by purpose, since INDEX generation right now happens too often (too much phoniness, I guess). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.63 2004/02/28 06:04:13 grant Exp $ d44 1 @ 1.63 log @make PKGDB target .PHONY, so it is always rebuilt @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.62 2004/02/28 06:03:22 grant Exp $ d238 8 @ 1.62 log @s/Port/Pkg/ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.61 2004/01/26 11:32:06 jmmv Exp $ d106 1 @ 1.61 log @Add a multimedia category. Ok'ed by agc@@. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.60 2003/10/04 19:34:46 agc Exp $ d151 1 a151 1 @@${AWK} -F\| '{ printf("Port:\t%s\nPath:\t%s\nInfo:\t%s\nMaint:\t%s\nIndex:\t%s\nB-deps:\t%s\nR-deps:\t%s\nArch:\t%s\n\n", $$1, $$2, $$4, $$6, $$7, $$8, $$9, $$10); }' < ${.CURDIR}/INDEX d158 1 a158 1 @@${GREP} ${key} ${.CURDIR}/INDEX | ${AWK} -F\| '{ printf("Port:\t%s\nPath:\t%s\nInfo:\t%s\nMaint:\t%s\nIndex:\t%s\nB-deps:\t%s\nR-deps:\t%s\nArch:\t%s\n\n", $$1, $$2, $$4, $$6, $$7, $$8, $$9, $$10); }' @ 1.60 log @Add a geography category, in anticipatino of a number of pending packages. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.59 2003/09/16 20:31:00 jmmv Exp $ d38 1 @ 1.59 log @Abort "make readme-all" before it fails (when there are no README.html files available) and tell the user what to do. Addresses PR pkg/22413. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.58 2003/07/25 02:44:09 grant Exp $ d28 1 @ 1.58 log @style nit: target:depends, not @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.57 2003/07/25 02:43:00 grant Exp $ d190 5 @ 1.57 log @index target improvements: * rename DEPENDSDB to PKGDB * move build of PKGDB to its own target so make(1) removes it if it bombs. ok'd by dmcmahill@@. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.56 2003/07/23 09:41:23 dmcmahill Exp $ d148 1 a148 1 print-index: ${.CURDIR}/INDEX d151 1 a151 1 search: ${.CURDIR}/INDEX @ 1.56 log @rework the INDEX file generation. The new approach speeds up things by several orders of magnitude and 'make index' now takes 30 minutes or so instead of several days on my test machine. The approach now is to take one pass through every package and extract some key information including the explicitly listed dependencies. After the data is extracted, the dependencies are flattened in one step which avoids the extremely inefficient recursive make that was previously used. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.55 2003/06/30 22:05:11 hubertf Exp $ d104 2 a105 5 .PHONY: index index: ${.CURDIR}/INDEX ${.CURDIR}/INDEX: @@${RM} -f ${.CURDIR}/DEPENDSDB d107 1 a107 1 @@DB=${.CURDIR}/DEPENDSDB ; \ d110 1 a110 2 ${RM} -fr $$DB ; \ list=`${GREP} '^[[:space:]]*'SUBDIR */Makefile | sed 's,/Makefile.*=[[:space:]]*,/,'` ; \ d115 1 a115 1 echo $pkgdir | sed 's;/.*;/Makefile;g' > /dev/stderr ; \ d139 5 d145 2 a146 2 @@${AWK} -f ./mk/scripts/genindex.awk PKGSRCDIR=${.CURDIR} SORT=${SORT} ${.CURDIR}/DEPENDSDB @@${RM} -f ${.CURDIR}/DEPENDSDB @ 1.55 log @Sort SUBDIRs properly @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.54 2003/05/06 17:40:18 jmmv Exp $ d104 2 a105 3 index: @@${RM} -f ${.CURDIR}/INDEX @@${MAKE} ${.CURDIR}/INDEX d108 38 a145 3 @@${ECHO} -n "Generating INDEX - please wait.." @@${MAKE} describe ECHO_MSG="${ECHO} > /dev/null" > ${.CURDIR}/INDEX @@${ECHO} " Done." @ 1.54 log @Drop trailing whitespace. Ok'ed by wiz. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.53 2003/05/03 16:26:01 cjep Exp $ d45 1 a46 1 SUBDIR += textproc @ 1.53 log @Also include ${USER_ADDITIONAL_PKGS} in ${SUBDIR}. This makes it easy to add local directories to the build hierarchy (e.g. wip, local). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.52 2003/02/09 14:38:52 wiz Exp $ d84 1 a84 1 --prune @ 1.52 log @s/${ENV}/${SETENV}/, noted by Kevin P. Neal in connection with PR 19586. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.51 2003/01/05 13:37:15 dmcmahill Exp $ d50 4 @ 1.51 log @Switch the top level pkgsrc 'readme' and 'cdrom-readme' targets to use the new and much more efficient code. Previously a 'make readme' took over 3 weeks on my SS5 and now takes < 3 hours. The number of make calls has been reduced from somewhere over 1,000,000 to one per package which is around 3,000. The mk/scripts/mkreadme script does all the work now. This script has been used in standalone form for a month or two on ftp.netbsd.org and has had no problem. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.50 2002/12/15 02:49:37 salo Exp $ d76 1 a76 1 ${ENV} TMPDIR=${TMPDIR:U/tmp}/mkreadme \ @ 1.50 log @Do not use commands directly, use ${COMMAND} instead. Remove continuous blank lines. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.49 2002/12/01 05:51:33 dmcmahill Exp $ d53 34 @ 1.49 log @use = instead of ?= when setting _PKGSRCDIR during the bulk-cache target. Otherwise a bad value of _PKGSRCDIR will be used and the bulk cache creation fails. This didn't show up before because formerly _PKGSRCDIR was previously set in bsd.pkg.mk instead of bsd.prefs.mk as it is now. Should fix bulk build dependency problems noted recently by Hubert. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.48 2002/09/24 13:59:20 wiz Exp $ d67 1 a67 1 @@rm -f ${.CURDIR}/INDEX d76 1 a76 1 @@awk -F\| '{ printf("Port:\t%s\nPath:\t%s\nInfo:\t%s\nMaint:\t%s\nIndex:\t%s\nB-deps:\t%s\nR-deps:\t%s\nArch:\t%s\n\n", $$1, $$2, $$4, $$6, $$7, $$8, $$9, $$10); }' < ${.CURDIR}/INDEX d83 1 a83 1 @@grep ${key} ${.CURDIR}/INDEX | awk -F\| '{ printf("Port:\t%s\nPath:\t%s\nInfo:\t%s\nMaint:\t%s\nIndex:\t%s\nB-deps:\t%s\nR-deps:\t%s\nArch:\t%s\n\n", $$1, $$2, $$4, $$6, $$7, $$8, $$9, $$10); }' a85 1 d92 1 a92 1 mv README-all.html README-all.html.BAK ; \ d95 2 a96 2 @@if cmp -s README-all.html README-all.html.BAK ; then \ mv README-all.html.BAK README-all.html ; \ d98 1 a98 1 rm -f README-all.html.BAK ; \ d102 2 a103 2 @@rm -f $@@.new @@rm -f $@@.newsorted d108 2 a109 2 grep '^' ${category}/README.html \ | sed -e 's|"|"${category}/|' \ d117 3 a119 3 @@sort -f -t '">' +2 <$@@.new >$@@.newsorted @@wc -l $@@.newsorted | awk '{ print $$1 }' >$@@.npkgs @@cat templates/README.all \ d126 3 a128 5 @@rm -f $@@.npkgs @@rm -f $@@.new @@rm -f $@@.newsorted d132 1 a132 1 mv README-IPv6.html README-IPv6.html.BAK ; \ d135 2 a136 2 @@if cmp -s README-IPv6.html README-IPv6.html.BAK ; then \ mv README-IPv6.html.BAK README-IPv6.html ; \ d138 1 a138 1 rm -f README-IPv6.html.BAK ; \ d142 4 a145 4 @@grep -l '^BUILD_DEFS.*=.*USE_INET6' */*/Makefile \ | sed s,Makefile,, >$@@.pkgs @@fgrep -f $@@.pkgs README-all.html | sort -t/ +1 >$@@.trs @@cat templates/README.ipv6 \ d155 1 a155 1 ${MAKE} show-pkgsrc-dir | awk '/^===/ { next; } { printf("%s \\\n", $$1) }'; \ @ 1.48 log @Some whitespace cleanup. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.47 2002/05/31 15:26:50 seb Exp $ d61 3 a63 1 _PKGSRCDIR?=${.CURDIR} @ 1.47 log @Retire japanese category. Add the inputmethod category. This is part of the japanese category retirement. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.46 2001/12/17 02:33:46 dmcmahill Exp $ d85 1 a85 1 # d94 1 a94 1 @@if cmp -s README-all.html README-all.html.BAK ; then \ d124 1 a124 1 > $@@ d148 2 a149 2 -e '/%%TRS%%/r$@@.trs' \ -e '/%%TRS%%/d' \ @ 1.46 log @replace some leading spaces with leading tabs. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.45 2001/12/17 02:32:22 dmcmahill Exp $ d30 1 a30 1 SUBDIR += japanese @ 1.46.2.1 log @Merge from pkgsrc-current to buildlink2 branch. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.47 2002/05/31 15:26:50 seb Exp $ d30 1 a30 1 SUBDIR += inputmethod @ 1.45 log @- add 'bulk-cache' and 'clean-bulk-cache' targets to create and remove the cache files used during a bulk pkgsrc build. - replace the code in the build script that used to create the cache files with a 'make bulk-cache' call. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.44 2001/07/17 13:11:51 wiz Exp $ d120 5 a124 5 -e '/%%NPKGS%%/r$@@.npkgs' \ -e '/%%NPKGS%%/d' \ -e '/%%PKGS%%/r$@@.newsorted' \ -e '/%%PKGS%%/d' \ > $@@ @ 1.44 log @Use better expressions for grep, to avoid tagging non-IPv6 enabled packages as IPv6-enabled. Fixes pkg/13394. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.43 2001/02/27 20:23:59 hubertf Exp $ d55 8 @ 1.43 log @echo -> ${ECHO} @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.42 2000/12/17 23:40:54 wiz Exp $ d136 1 a136 1 | sed s,.Makefile,, >$@@.pkgs @ 1.42 log @Move lots of packages to new time category; fix links; add time subcategory to main Makefile. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.41 2000/12/15 00:41:00 wiz Exp $ d61 3 a63 3 @@echo -n "Generating INDEX - please wait.." @@${MAKE} describe ECHO_MSG="echo > /dev/null" > ${.CURDIR}/INDEX @@echo " Done." d70 2 a71 2 @@echo "The search target requires a keyword parameter," @@echo "e.g.: \"${MAKE} search key=somekeyword\"" d95 1 a95 1 @@echo -n "Processing categories for $@@:" d98 1 a98 1 echo -n ' ${category}' ; \ d107 1 a107 1 @@echo "." d147 1 a147 1 @@echo "HOST_SPECIFIC_PKGS= \\"; \ d149 1 a149 1 echo "" @ 1.41 log @Move packages from 'net' into new 'chat' category. Add chat to main Makefile. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.40 2000/12/14 01:02:08 wiz Exp $ d45 1 @ 1.40 log @Retire plan9 sub-hierarchy. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.39 2000/12/12 02:10:16 wiz Exp $ d17 1 @ 1.39 log @Added wm category to main Makefile; remove packages that have been moved from x11 to wm; fix paths in packages that depend on the moved ones. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.38 2000/12/11 14:15:31 wiz Exp $ a39 1 SUBDIR += plan9 @ 1.38 log @Add new finance category to main Makefile; remove moved packages from old locations (moved to finance). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.37 2000/09/07 02:29:40 fredb Exp $ d46 1 @ 1.37 log @Revert last change. I only tested this on netbsd-1-4; it doesn't seem to work on netbsd-1-5 at all. @ text @d1 1 a1 2 # $NetBSD: Makefile,v 1.35 2000/05/12 18:42:22 sakamoto Exp $ # FreeBSD Id: Makefile,v 1.35 1997/08/19 07:10:01 fenner Exp d24 1 @ 1.36 log @Introduce a new category, "crypto", with a special property: If the user sets MKCRYPTO=no, packages in this category won't be fetched, installed, built, or packaged. Also, binary package users forbidden, by law, from using strong cryptography would presumably find the list on the category's automatically generated web page useful for ensuring compliance. @ text @a20 1 SUBDIR += crypto @ 1.35 log @Add and enable fonts. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.34 2000/05/12 09:19:14 agc Exp $ d21 1 @ 1.34 log @Remove empty corba category. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2000/05/11 11:25:18 agc Exp $ d25 1 @ 1.33 log @Introduce a new target "show-host-specific-pkgs", which uses the new show-pkgsrc-dir target to compile a list of host specific package directories from which the packages can be built and installed. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2000/03/30 13:01:49 hubertf Exp $ a19 1 SUBDIR += corba @ 1.32 log @Change detection of IPv6-enabled packages by searching for "^BUILD_DEFS.*=.*USE_INET6" instead of just "USE_INET6" in the pkg's Makefile. Suggested by Jun-ichiro itojun Hagino on tech-pkg. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.31 2000/02/25 01:04:11 wiz Exp $ d143 5 @ 1.31 log @remove commented out SUBDIR += lines for packages that never got converted from FreeBSD, or have been disabled since. Sorted lines alphabetically, added some missing directories. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2000/02/09 03:51:12 hubertf Exp $ d133 2 a134 1 @@grep -l USE_INET6 */*/Makefile | sed s,.Makefile,, >$@@.pkgs @ 1.30 log @Add "readme-ipv6" target, that will generate a list of IPv6 ready packages. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2000/01/04 23:46:14 hubertf Exp $ a12 1 #SUBDIR += ai a13 1 #SUBDIR += astro a17 1 #SUBDIR += chinese a26 1 #SUBDIR += german a29 1 #SUBDIR += korean a41 1 #SUBDIR += russian a45 1 #SUBDIR += vietnamese @ 1.29 log @Rewrite moving of old README-all.html aside. Fixes PR 9120 by Michael Eriksson T/K 2 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 1999/10/26 01:50:04 hubertf Exp $ d125 24 @ 1.28 log @Ignore case when sorting lines in README-all.html @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 1999/10/22 00:54:23 hubertf Exp $ d87 3 a89 1 @@[ -f README-all.html ] && mv README-all.html README-all.html.BAK @ 1.27 log @Include the total number of packages at the top of README-all.html, and lose the entries (the should be sufficient). Suggested by David Brownlee on tech-pkg@@netbsd.org. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 1999/08/23 21:37:28 hubertf Exp $ d111 1 a111 1 @@sort -t '">' +2 <$@@.new >$@@.newsorted @ 1.26 log @only mv README-all.html aside if it exists @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 1999/08/22 01:30:15 hubertf Exp $ d106 1 d112 1 d115 2 d120 1 @ 1.25 log @Collect information from pkgsrc/*/README.html into one long list (README-all.html), and reference this file. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 1999/06/06 19:33:17 frueauf Exp $ d87 1 a87 1 @@mv README-all.html README-all.html.BAK @ 1.24 log @Add and enable ham. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 1999/04/15 23:17:30 rh Exp $ d81 37 @ 1.23 log @Add new category biology @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 1999/03/03 20:19:05 hubertf Exp $ d32 1 @ 1.22 log @Back out last two revs and go back to 1.19. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 1999/02/21 21:25:02 agc Exp $ d18 1 @ 1.21 log @Move PKGSRCTOP definition so it's available for bsd.pkg.subdir.mk. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 1999/03/02 03:56:06 hubertf Exp $ d5 1 a5 2 PKGSRCTOP= yes .include "mk/bsd.pkg.subdir.mk" d55 3 @ 1.20 log @Move up including of bsd.pkg.subdir.mk to prevend bsd.prefs.mk being pulled in twice. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 1999/02/21 21:25:02 agc Exp $ d5 1 a55 1 PKGSRCTOP= yes @ 1.19 log @Allow for customised groups of packages at the top-level of pkgsrc. If SPECIFIC_PKGS is defined (at the top-level of pkgsrc), then instead of looping through all the categories and then all the packages within that, simply loop through ${SITE_SPECIFIC_PKGS}, ${HOST_SPECIFIC_PKGS}, ${GROUP_SPECIFIC_PKGS} and ${USER_SPECIFIC_PKGS}, which are whitespace separated lists of categories/packages e.g. SITE_SPECIFIC_PKGS+= devel/cvs security/ssh The default behaviour is unchanged - if SPECIFIC_PKGS is not defined, the whole hierarchy will be traversed. Modify mk.conf.example to reflect the settings of SPECIFIC_PKGS, SITE_SPECIFIC_PKGS, HOST_SPECIFIC_PKGS, GROUP_SPECIFIC_PKGS and USER_SPECIFIC_PKGS. Modify the ispell package to use the make definition ISPELL_LANG, rather than just LANG (which can clash with the environment variable of the same name), and modify mk.conf.example accordingly. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 1998/10/28 18:16:50 garbled Exp $ d5 1 a5 1 .include "mk/bsd.prefs.mk" a55 2 .include "mk/bsd.pkg.subdir.mk" @ 1.18 log @Enable new japanese category, and document addition of category, and ja-less-332. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 1998/10/13 23:37:03 garbled Exp $ d5 8 d53 1 d61 1 a61 1 @@make ${.CURDIR}/INDEX d65 1 a65 1 @@make describe ECHO_MSG="echo > /dev/null" > ${.CURDIR}/INDEX d74 1 a74 1 @@echo "e.g.: \"make search key=somekeyword\"" d78 1 @ 1.17 log @Add and enable parallel category, and document additions. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 1998/08/28 12:26:50 agc Exp $ d23 1 a23 1 #SUBDIR += japanese @ 1.16 log @Add pkgtools category @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 1998/08/20 22:08:40 agc Exp $ d33 1 @ 1.15 log @Add corba category. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 1998/08/12 02:45:27 tv Exp $ d33 1 @ 1.14 log @Add and enable category "cross". @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 1998/07/24 14:52:22 agc Exp $ d14 1 @ 1.13 log @Add meta-pkgs category of packages. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 1998/05/17 13:30:41 frueauf Exp $ d14 1 @ 1.12 log @Comment out SUBDIR+=ai, since we don't have it yet. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 1998/05/15 12:14:24 agc Exp $ d27 1 @ 1.11 log @More cosmetic editing - PORTSTOP is now PKGSRCTOP @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 1998/04/15 10:38:06 agc Exp $ d5 1 a5 1 SUBDIR += ai @ 1.10 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.9 1998/04/13 15:41:59 frueauf Exp $ d5 1 d41 1 a41 1 PORTSTOP= yes @ 1.9 log @Enable cad and math subdirs. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 1998/03/08 14:26:26 frueauf Exp $ d42 1 a42 1 .include @ 1.8 log @Sync with bsd.port.mk: use "ARCH:" field for "print-index:" and "search:". @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 1998/03/05 09:09:55 mellon Exp $ d9 1 a9 1 #SUBDIR += cad d24 1 a24 1 #SUBDIR += math @ 1.7 log @Don't build athena anymore @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 1998/02/27 09:43:11 mellon Exp $ d54 1 a54 1 @@awk -F\| '{ printf("Port:\t%s\nPath:\t%s\nInfo:\t%s\nMaint:\t%s\nIndex:\t%s\nB-deps:\t%s\nR-deps:\t%s\n\n", $$1, $$2, $$4, $$6, $$7, $$8, $$9); }' < ${.CURDIR}/INDEX d61 1 a61 1 @@grep ${key} ${.CURDIR}/INDEX | awk -F\| '{ printf("Port:\t%s\nPath:\t%s\nInfo:\t%s\nMaint:\t%s\nIndex:\t%s\nB-deps:\t%s\nR-deps:\t%s\n\n", $$1, $$2, $$4, $$6, $$7, $$8, $$9); }' @ 1.6 log @Build athena packages @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 1997/12/05 00:14:13 hubertf Exp $ a6 1 SUBDIR += athena @ 1.5 log @We don't have category math yet, comment out for now. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 1997/11/27 00:01:23 hubertf Exp $ d7 1 @ 1.4 log @Uncomment categories we don't have yet. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 1997/10/03 08:58:23 agc Exp $ d24 1 a24 1 SUBDIR += math @ 1.3 log @Place the NetBSD RCS Id in the correct position in the file. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 1997/10/03 08:10:58 agc Exp $ d6 1 a6 1 SUBDIR += astro d9 2 a10 2 SUBDIR += cad SUBDIR += chinese d18 1 a18 1 SUBDIR += german d20 2 a21 2 SUBDIR += japanese SUBDIR += korean d31 1 a31 1 SUBDIR += russian d36 1 a36 1 SUBDIR += vietnamese @ 1.2 log @Add NetBSD Id after import. @ text @d1 1 a2 1 # $NetBSD$ @ 1.1 log @Initial revision @ text @d2 1 @ 1.1.1.1 log @Take 2: Import the master pkgs Makefile, from the FreeBSD ports collection. @ text @@ 1.1.1.2 log @Import jakarta-tomcat 5.5.7 Tomcat is the Java Servlet / Java Server Page environment produced by the Apache Foundation's Jakarta Project. Tomcat can be run as a standalone web server with Servlet and JSP support, or using Apache Server as its web server via the mod_jk Apache module (www/ap-jk). This is the Tomcat 5.5 package, which is a Java Serlet 2.4 and JSP 2.0 server. @ text @d1 2 a2 1 # $NetBSD: Makefile,v 1.51 2005/01/21 12:24:39 abs Exp $ d4 58 a61 70 DISTNAME= jakarta-tomcat-${TOMCAT_VERSION} CATEGORIES= www java # The list of sites to download is generated by a jakarta website. # The getsite.sh script parses the HTML and extracts the urls. DYNAMIC_MASTER_SITES=1 MAINTAINER= abs@@NetBSD.org HOMEPAGE= http://jakarta.apache.org/tomcat/ COMMENT= The Apache Project's Java Servlet 2.4 and JSP 2.0 server TOMCAT_VERSION= 5.5.7 # This needs java 1.4 or higher. USE_JAVA2= yes USE_BUILDLINK3= yes TOMCAT_LIB= ${PREFIX}/tomcat CATALINA_DIR= Catalina/localhost EGDIR= ${TOMCAT_LIB}/share/examples/jakarta-tomcat EGDIR2= ${EGDIR}/${CATALINA_DIR} # Work around a horrible interaction with the gzip in NetBSD 2.0 (at least RC4) # If gzip is used in a pipeline the tarfile fails to extract. PR bin/27228 EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} ${WRKDIR}/tar.gz && ${GZIP_CMD} -d ${WRKDIR}/tar.gz && ${TAR} xf ${WRKDIR}/tar PKG_SYSCONFDIR.jakarta-tomcat55= ${TOMCAT_LIB}/conf MAKE_DIRS= ${PKG_SYSCONFDIR.jakarta-tomcat55}/${CATALINA_DIR} USE_PKGINSTALL= yes RCD_SCRIPTS= tomcat CFILES= server.xml web.xml tomcat-users.xml CFILES+= catalina.policy catalina.properties jk2.properties CF2FILES= manager.xml CONF_FILES= # empty .for f in ${CFILES} CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f} .endfor .undef f .for f in ${CF2FILES} CONF_FILES+= ${EGDIR2}/${f} ${PKG_SYSCONFDIR}/${CATALINA_DIR}/${f} .endfor .undef f FILES_SUBST+= JAVA_HOME=${PKG_JVM_HOME} TOMCAT_LIB=${TOMCAT_LIB} do-build: @@${MV} ${WRKSRC}/conf ${WRKDIR} do-install: ${INSTALL_DATA_DIR} ${EGDIR2} .for f in ${CFILES} ${INSTALL_DATA} ${WRKDIR}/conf/${f} ${EGDIR} .endfor .undef f .for f in ${CF2FILES} ${INSTALL_DATA} ${WRKDIR}/conf/${CATALINA_DIR}/${f} ${EGDIR2} .endfor .undef f ${INSTALL_DATA_DIR} ${TOMCAT_LIB} @@(cd ${WRKSRC} && ${PAX} -rw -pm . ${TOMCAT_LIB}; \ ${FIND} ${TOMCAT_LIB} -type f -print | ${XARGS} ${CHMOD} a+r; \ ${FIND} ${TOMCAT_LIB} \( -type f -o -perm -u+x \) -print \ | ${XARGS} ${CHMOD} a+rx; \ ${FIND} ${TOMCAT_LIB} -type d -print | ${XARGS} ${CHMOD} a+rx; \ ${FIND} ${TOMCAT_LIB} -type f -name \*.bat -print | \ ${XARGS} ${RM} -f) .include "../../mk/java-vm.mk" .include "../../mk/bsd.pkg.mk" @