summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2004-01-02Add license information for fp-netbsd-ws, and note new package in Makefileben1-1/+4
and CHANGES.
2004-01-02Introduce dynamic registration of info files in PLIST.seb1-1/+40
For each file listed in INFO_FILES the installed files matching ${PREFIX}/${INFO_DIR}/filename(-[0-9]+)? are registered as belonging to the package. Also ignore the same files in print-PLIST target. Info files should not be listed in PLIST files anymore but the awk code snippet (_PLIST_AWK_INFO) in charge of actually dealing with info files for the plist target will strip any it finds in them. Now for the reason behind this... Older makeinfo command (before pre-release version 4.5.90 or before release version 4.6) had SPLIT_SIZE_THRESHOLD: when an info file size was >= SPLIT_SIZE_THRESHOLD then the info file was split in chunks of DEFAULT_SPLIT_SIZE size. DEFAULT_SPLIT_SIZE in older versions of makeinfo was 50000 (bytes) and SPLIT_SIZE_THRESHOLD was 70000. So if an info file has a size < 70000 and is processed by makeinfo < 4.6 it is not split in chunks. But if it is processed by makeinfo >= 4.6 texinfo.mk to emulate older version automatically adds `--split-size=50000' to makeinfo's command line and this time the info file is split in chunks... This can lead to PLIST inconsistency from platform to platform or more exactly from version to version of makeinfo. Now we don't have to care about this problem and the info files removal from PLIST files can happen.
2003-12-31Remove ftp.cz.NetBSD.org from MASTER_SITE_BACKUP.salo1-2/+1
There are problems with the hosting and the machine will be offline for unknown time period..
2003-12-30Remove libraries from the output if they don't exist.gavan1-2/+15
ok'd by grant.
2003-12-30trim whitespace from a message.grant1-3/+3
2003-12-29Reinstate the fix in revision 1.6kim1-2/+2
2003-12-28Use "${LS}" instead of "${FILE_CMD}" to find out the target of softlinktron1-3/+3
when (de)compressing manual pages. This fixes problems caused by the output format of NetBSD-current's and shouldn't hurt any other platform.
2003-12-28Add el_GR and sq_AL locale directories, used by xcdroast.jmmv16-16/+144
2003-12-28Revert revision 1.5 as binaries and directories are now being substedkim1-12/+18
unintentionally. Also revert revision 1.6 as part of the overall change, as I suspect the change might be unnecessary. While I'm not 100% sure, this does just revert to the previous behaviour.
2003-12-28The generated target is subst-<class>, not <class>-subst. Fix commentjmmv1-2/+2
accordingly.
2003-12-28Indent to make nested blocks easier to distinguish.agc1-4/+4
2003-12-28Fix back ".endif" logic which breaks "USE_INET6" on many platforms.tron1-2/+2
2003-12-27Override predefined "USE_INET6" if "USE_SOCKS" is defined.tron1-2/+2
2003-12-27If "USE_INET6" is already defined (e.g. by NetBSD-current's "bsd.own.mk")tron1-4/+10
convert it to uppercase to make checks in packages like "bind9" work.
2003-12-27bomb to prevent silent failure if we're unable to rename a filegrant1-2/+2
before subst'ing it. previously, only a warning would be printed and the .subst_done cookie(s) would be created, indicating that the subst target was successful when it really was not.
2003-12-27remove somewhat bogus test for text files, which was dependent on thegrant1-18/+12
output of file(1) which reports too many false negatives (not detecting a file as a text file when it really is). package developers are aware of which files the subst operation applies to, since they need to specify the filenames, so this test is not really required. it's also not inconceivable that one would want to subst over a non-text file, which is now possible.
2003-12-26print-PLIST target pipeline modifications:seb1-32/+36
- reduce the number of components with pervasive awk usage. - handle Info directory file when it is not `info/dir'. Notice that print-PLIST substitutions are now made globally (awk's gsub()) when previously the sed substitution commands did not have the 'g'lobal flag. While here fix PKGVERSION substitution just like PLIST_SUBST's PKGVERSION element is handled in ${PLIST} target i.e. without considering the 'nb${PKGREVISION}' suffix. While here give COMMON_DIRS variable a more "internal type" name: _PRINT_PLIST_COMMON_DIRS.
2003-12-25print-pkg-size-this target:seb1-4/+4
- properly quote any filenames in ${PLIST} before feeding them to xargs. This allows latest textproc/docbook-xsl package to be registered with its correct size because it contains a file with a single quote in its name. XXX pkg_add does not like this filename anyway. - fix the awk script that parse ${PLIST} so pathname containing space (hence awk's NF > 1) are not removed from size calculation. Many thanks to atatat@ to remind me the proper way to quote a shell word.
2003-12-24Use MAIL variable from defs.OPSYS.mk instead of hard-coded 'mail'.heinz1-2/+2
This should (really, this time) close pkg/23682.
2003-12-23Move message/${MESSAGE} target around, out of plist target and itsseb1-16/+19
supporting code. While here comment the message target a bit.
2003-12-23Remove "ftp.tu-darmstadt.de" from "MASTER_SITE_XEMACS" because it doesn'ttron1-2/+1
have the packages any more.
2003-12-23Added default values for jabberd package.xtraeme1-1/+29
2003-12-23Add en@boldquot and en@quot locale directories, used by openbox 3.x.jmmv16-16/+144
2003-12-23hide aclocal-1.8 and automake-1.8 after automake update to 1.8.grant1-2/+4
2003-12-23fix a comment.grant1-2/+2
2003-12-21Make SMART_MESSAGES work again by passing _PKGSRC_DEPS through theagc1-2/+2
environment into sub-makes for pre-requisite packages, rather than using ${MAKEFLAGS} and the command line.
2003-12-21tweak a message and some formatting.grant1-14/+16
2003-12-20Handle removal of fonts databases properly if the package is usingjmmv1-4/+4
{MAKE,OWN}_DIRS (i.e., the .pkgsrc file exists in them).
2003-12-20Define LS in install scripts (needed by install/fonts).jmmv2-2/+4
2003-12-19Handle font (de)installation before bsd.pkg.install.mk handles OWN_DIRS.jmmv2-7/+3
This way font directories are not automatically removed; the package must define OWN_DIRS if it wants them to be deleted during deinstallation. This is done to avoid removal of standard font directories (those that appear in *.dist files).
2003-12-19Use ${CD}, ${GREP}, ${RM} and ${RMDIR} instead of directly calling commands.jmmv1-10/+10
2003-12-19Update for the latest x11-links 0.19.veego2-4/+4
2003-12-18revert previous; it is not needed.grant1-2/+1
2003-12-18subst PKG_SYSCONFDIR in the PLIST, avoiding having to do it manuallygrant1-1/+2
in every package which uses it.
2003-12-17http://www.netbsd.org/Sites/net.html is no more, use /mirrors/ instead.keihan1-20/+20
From Dave B <netbsd-current (at) dberg (dot) net> to www@ While there, s/netbsd.org/NetBSD.org/g.
2003-12-17add a template and comments for MOZILLA_USE_LINUX.grant1-1/+7
2003-12-16Introduce command MAIL. It will be used to send messages like this:heinz9-9/+22
echo "message" | ${MAIL} -s"subject" add@ress.example
2003-12-16Allow _PATCH_BACKUP_ARG to be overridden in /etc/mk.conf (in order to use ↵heinz9-19/+19
different patch programs). Ok by agc
2003-12-16Rewrite most of the pipeline generating ${PLIST} as a single awk script.seb1-58/+68
2003-12-14Add 'br' locale, needed by upcoming gnome-desktop upgrade.jmmv16-16/+80
2003-12-14Add 'mr' locale directory, needed by upcoming gnome-vfs2 update.jmmv16-16/+80
2003-12-13Improve, move around and bring up to date comments about print-PLISTseb1-5/+5
target.
2003-12-13Properly fix meta-characters quoting in awk regexp specified as strings:seb1-32/+32
`\' needs to be quoted in a string. Also remove some unnecessary `\' in awk strings.
2003-12-12Escape any ':' characters when using ${FLAG} as a match pattern.erh1-2/+2
2003-12-12Support the automake17 package, and for now,wiz1-7/+11
default to it until all packages have been fixed.
2003-12-12Sync for automake update to 1.8.wiz1-5/+5
2003-12-12Enable _BLNK_CACHE_ALL in FreeBSD (approved by silence in tech-pkg@).xtraeme1-1/+2
2003-12-11Increase base version of libtool required for BSD/OS.reed1-2/+2
(1.4.20010614nb18 has support for bsdi* instead of just bsdi4*.)
2003-12-11For BSD/OS, the customized libtool uses "bsdi", so setreed1-1/+4
LOWER_OPSYS to that.
2003-12-11remove ftp.progsoc.uts.edu.au from MASTER_SITE_GNU as it has beengrant1-2/+2
unreachable for weeks. replace with public.planetmirror.com.au.