summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2006-04-22Adjusted the code to the pkglint warning that NO_PACKAGE should not berillig1-2/+2
quoted.
2006-04-19remove teTeX1 from the TEX_ACCEPTED list, since it was removedtonio1-10/+5
2006-04-19Update PREFER_PKGSRC for the two package renames (renderproto and randrproto).reed1-2/+2
2006-04-18Rename the CHANGES file to CHANGES-2006. From now on, the changes forjlam1-2/+3
each year will accumulate in CHANGES-YYYY.
2006-04-17Only do the locale transformation if USE_PKGLOCALEDIR is defined. Thisjlam2-2/+9
avoids any problems with current packages that install locale files but don't honor PKGLOCALEDIR yet.
2006-04-17Modify the plist module to automatically transform "^share/locale" injlam3-3/+62
PLISTs to "${PKGLOCALEDIR}/locale" for the installed PLIST. This is similar to the work that's already done to automatically handle PKGINFODIR and PKGMANDIR. PLISTs in pkgsrc will be modified so that they would just list the message files to be under "share/locale". USE_PKGLOCALEDIR must continue to be set in package Makefiles so that localedir substitutions happen at post-configure time.
2006-04-16Now that all info file entries have been pushed from INFO_FILES intojlam2-31/+5
the PLISTs, drop support for listing info files in INFO_FILES. The INFO_FILES variable is now strictly defined/undefined.
2006-04-15There are two things that we need to keep track of:jlam1-8/+13
(1) whether or not the built-in msgfmt supports msgid_plural, and thus whether we need to use the msgfmt.sh script (_TOOLS_USE_MSGFMT_SH), and (2) whether or not we need to use the pkgsrc version of msgfmt (_TOOLS_USE_PKGSRC.msgfmt) If we truly don't need to use msgfmt.sh, then never invoke it. This is the case on NetBSD>=3.x. This should fix the problem with building the *.po files in fonts/fontforge on NetBSD-current.
2006-04-15Back to pkg-vulnerabilities format 1.0.0.salo1-4/+2
2006-04-15Reorder the loop so that we can never get into an infinite loop. Wejlam1-10/+6
now pass every line we don't need to process directly through to msgfmt. This fixes building pt_BR.po in libgnomedb where all of the lines end with "^M" and this script wasn't properly detecting a blank line as a result.
2006-04-15Modify the loop so that the statements and comment lines can bejlam1-13/+27
interspersed.
2006-04-15Apply jlam's awk fix done in plist-info.awk 1.12.minskim1-3/+5
- Avoid () as a regular expression as the interpretation seems to be implementation-defined by various awks.
2006-04-15Replace a re-used regular expression with a constant.jlam1-8/+10
2006-04-14Drop all msgstr[N] translations besides msgstr[0] and msgstr[1] becausejlam1-1/+14
those translations can have no corresponding msgid anchor in the old PO file format. This allows all of the *.po files in gnome-vfs2 to build correctly into *.mo files.
2006-04-14Whitespace changes for proper indentation.jlam1-99/+103
2006-04-14Remove debugging code so that we actually invoke msgfmt.jlam1-4/+1
2006-04-14Avoid using the awk input loop and use our own while loop in a BEGINjlam1-64/+70
statement. While here fix processing of *.po files containing obsolete statements by preserving them for msgfmt to handle. Also use a few more constants to make the code more maintainable and readable.
2006-04-14Make the display of show-options more readable when there are lots ofjlam1-4/+8
options, e.g. x11/xorg-server, by wordwrapping the output.
2006-04-14If we can't find the package with pkg_info when computing BUILDLINK_PREFIX,jlam1-3/+5
make the resulting error message more useful for debugging purposes by including the name of the variable in a null statement that is part of the command executed.
2006-04-14Support a --debug flag that dumps the output of the awk script to ajlam1-2/+16
*.debug file.
2006-04-14Now that I understand why we strip "#~" from the head of lines, stripjlam1-3/+10
it consistently whenever we read a new line of input throughout the script. Note that this was actually broken in the original msgfmt.pl script as well.
2006-04-14Use the correct cat command.jlam2-4/+5
2006-04-14Document the puzzling line that strips "#~" from the start of lines.jlam1-2/+6
Explanation provided by jmmv in private email.
2006-04-14Add TNF copyright to file as suggested by jmmv in private email.jlam1-1/+36
2006-04-14Avoid () as a regular expression as the interpretation seems to bejlam1-3/+5
implementation-defined by various awks.
2006-04-13Update path from cyrus-sasl2 to cyrus-sasl.wiz2-5/+5
2006-04-13Do a bit more error-checking -- if no input file is specified, just runjlam1-1/+3
the msgfmt command to get the right error message and return code.
2006-04-13Move the gettext tools handling to mk/tools/gettext.mk. We ensurejlam2-25/+40
that we use the pkgsrc versions of xgettext and gettext if we're also using the pkgsrc version of msgfmt.
2006-04-13Rename msgfmt.mk to gettext.mk. The rest of the gettext tool handlingjlam4-5/+11
will be moved here from replace.mk shortly.
2006-04-13BUILD_USE_MSGFMT and USE_MSGFMT_PLURALS are obsolete. Replace withjlam1-7/+1
USE_TOOLS+=msgfmt.
2006-04-13Overhaul the way packages can ask for "msgfmt". If a package needsjlam7-19/+294
msgfmt, then it should set the following in the package Makefile: USE_TOOLS+= msgfmt To deal with message files that use the "msgid_plural" statement, which isn't supported in NetBSD<=3.x and also in gettext<=0.10.35, we determine if the built-in "msgfmt" is sufficiently new enough to understand "msgid_plural". If it isn't, then we use the msgfmt.sh script to transform the msgid_plural statements to an equivalent construct that's understood by older msgfmt tools. The msgfmt.sh script is a straightforward translation of the original perl script msgfmt.pl script by Julio M. Merino Vidal into shell and awk, which are more lightweight dependencies than perl. We remove the USE_MSGFMT_PLURALS bits in gettext-lib/builtin.mk as they are made obsolete by the new code in mk/tools/msgfmt.mk. BUILD_USE_MSGFMT is still supported but will be removed in a separate commit.
2006-04-12Better error-checking in the +INFO_FILES scriptlet:jlam1-34/+46
(1) Don't claim to be adding and removing the info file if it does exist at all. (2) Always try to create and remove the directory containing the "dir" index file to avoid failures.
2006-04-12Add INSTALL_GAME_DIR to complement INSTALL_GAME_DATA. The directoriesjoerg14-15/+38
are group-writeable by the games user on those platforms, where GAMEMODE includes setgid. It defaults to PKGDIRMODE otherwise.
2006-04-12If the info file doesn't exist on the disk, we should still output anjlam1-1/+8
entry for it in the final PLIST. This allows us to locate info files in the PLIST that aren't on the system during the CHECK_FILES stage.
2006-04-12Rename the _PKGTOOLS_VER variable in the +BUILD_INFO toreed1-2/+14
PKGTOOLS_VERSION (since that is what it is). Also add to the +BUILD_INFO the: HOMEPAGE (also is in DESC) CATEGORIES MAINTAINER DATE (using "+%Y-%m-%d %H:%M:%S %z") This information will be included in the upcoming pkg_info -X "summary" output. (In my own pkgsrc, I have been recording the date and maintainer for over two years.)
2006-04-12Move MASTER_SITE_KDE to mk/bsd.sites.mkmarkd1-1/+19
2006-04-10Teach Kerberos 5 to detect the MIT Kerberos 5 bundled with Mac OS X.tron1-1/+5
This stops the "gnome-vfs2" package from pulling in the "heimdal" package. This fixes PR pkg/29946 by Juha-Matti Liukkonen.
2006-04-10Modified xmkmf support for Darwin and IRIX:schwarz2-4/+33
- on Darwin, pkgsrc no longer tries to set user or group when installing as unprivileged user, i.e. with UNPRIVILEGED set to yes. - on IRIX (5 and 6) the system's xmkmf config files are no longer modified. Instead copies (that take priority with pkgsrc's xmkmf) are used for that purpose.
2006-04-10Correct typo in example Makefile snippet.tron1-2/+2
2006-04-10Correct comment on run-depends-list target (PR pkg/29741).jlam1-2/+2
2006-04-09Remove ua locale dir again, it was a typo.wiz22-110/+22
2006-04-08Add ua (Ukraine) locale dir for xchm-1.6.wiz22-22/+110
2006-04-08Add dz locale, used by glib2-2.10.2.wiz22-22/+110
2006-04-08fix URL of first CZ postgresql mirror (directory structure changed)jdolecek1-2/+2
2006-04-08add MASTER_SITE_PGSQL, copy of list from databases/postgresql80/Makefile.mirrorsjdolecek1-1/+81
2006-04-07If the package doesn't ask makeinfo, create a broken makeinfo tooljlam1-3/+8
that will return non-zero if invoked as "makeinfo --version", but will touch the output file if invoked blindly. This should workaround some stupidity in the way that automake-generated Makefiles try to determine when and how to rebuild info files.
2006-04-07For backwards compatibility ...reed1-1/+8
IGNORE_RECOMMENDED is deprecated and will be removed after 2006Q2 branch. If YES then it sets USE_ABI_DEPENDS=no (Forgot to commit earlier today.)
2006-04-06Support texmf-dirs.minskim1-1/+8
2006-04-06Resurrect INFO_DIR for another purpose -- if defined, it sets thejlam2-13/+26
directory containing the "dir" file that is updated. This allows packages to install info files in one place but update the dir file in a separate location.
2006-04-06Over 1200 files touched but no revisions bumped :)reed12-63/+63
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).