Commit graph

93 commits

Author SHA1 Message Date
joerg
8e4b1dc7fa Kill more @dirrm logic. 2009-06-14 23:10:39 +00:00
joerg
76039544d1 Remove @dirrm related logic. 2009-06-14 22:57:58 +00:00
joerg
8a5245d7ec Don't generate @dirrm lines in print-PLIST, switch @exec mkdir lines to
@pkgdir.
2009-06-14 17:12:03 +00:00
wiz
49efd963a9 Add bem and crh locales for Gnome. 2009-05-20 08:24:29 +00:00
rillig
b1bf3ebab8 Replaced _PKG_SILENT and _PKG_DEBUG with RUN. 2009-03-17 22:13:36 +00:00
wiz
a7fe20c8c8 Add en_NZ locale. 2008-12-04 09:33:20 +00:00
wiz
6f9b8b3b92 Add la locale for GNOME (gedit). 2008-11-24 13:39:01 +00:00
wiz
9b507bf953 Add ast locale, for GNOME. 2008-11-23 11:13:50 +00:00
joerg
f8627203b3 Don't filter the PLIST for AIX, at least libtool nowadays also creates
ELF like names. From PR 39387.
2008-10-30 18:48:13 +00:00
wiz
fdf932e9a6 Add th_TH for bmpx. 2008-10-28 22:18:19 +00:00
wiz
bb09d0a5aa Add share/locale/ur_PK for file-roller. 2008-10-25 00:28:11 +00:00
wiz
ce4e401e2d Add share/locale/ks for evince. 2008-10-25 00:02:46 +00:00
wiz
aa264c10b5 Add a few locale dirs for gtk2. 2008-10-24 21:30:14 +00:00
wiz
4a9f241bb2 Add share/locale/mai for glib2-2.18.2. 2008-10-24 15:59:30 +00:00
wiz
1f5e40c359 Gnome prefers sr@latin to sr@Latn now, match this here. 2008-10-16 21:57:00 +00:00
wiz
9505ea65e6 Add share/locale/de_CH/LC_MESSAGES for gnucash. 2008-10-09 10:46:34 +00:00
joerg
019c84b592 Add share/locale/fur. 2008-08-18 20:16:21 +00:00
seb
700cddad6f Avoid quoting "other character" in awk's strings as regular expressions.
See pkg/39002.
2008-07-23 23:46:26 +00:00
wiz
c470f47f27 Add rm for gtkspell. 2008-05-30 12:08:44 +00:00
jlam
c29cfa0def Add better support for small conditional parts of PLISTs.
PLIST_VARS is the list of names corresponding to automatic variables
generated by plist.mk to simplify having conditionally-present entries
in the PLIST.  If "var" is listed in PLIST_VARS, then the automatic
variable is named PLIST.var.  If PLIST.var is defined, then in the PLIST
generation, the ${PLIST.var} symbol is replaced with the empty string,
or "@comment " otherwise.
2008-04-08 20:52:15 +00:00
rillig
1194eb3d9e The @imake-man macro should not yet be used, since it is subject to
further changes.
2008-01-05 17:03:04 +00:00
rillig
1d9b92e28d Some implementations of X11 install both manpages and catpages, which
has not been supported by pkgsrc up to now.

This changes adds a PLIST macro @imake-man that expands to zero, one or
two lines, depending on the value of IMAKE_MANINSTALL. Packages must
explicitly have the macro in the PLIST files to use this feature. Since
currently no package has that, this change doesn't affect anything at
all by now.

TODO: The platforms' definitions for IMAKE_MANINSTALL and the other
definitions like IMAKE_MAN_SUFFIX need to be adjusted.
2007-10-31 21:09:03 +00:00
jlam
ae9b935fd0 * If PLIST_SRC is explicitly set to an empty value in a package Makefile,
then automatically generate a PLIST that says "${PKGNAME} has no files".

* If PLIST_SRC and GENERATE_PLIST are not set in a package Makefile,
  and no PLIST files exist, then fail during the package build with
  PKG_FAIL_REASON.

* Remove "intentionally empty" PLISTs again.

Now, the easy way to say that a package installs no files is to just
add the following to the package Makefile:

	PLIST_SRC=	# empty
2007-10-25 22:00:39 +00:00
rillig
a10504d8a1 simpler includes. 2007-10-25 18:27:05 +00:00
jlam
38c496d6c0 Re-add "intentionally empty" PLISTs for meta-packages and other packages
that directly manipulate empty PLISTs.

Modify plist/plist.mk so that if the PLIST files are missing and no
GENERATE_PLIST is defined, then the package fails to build.
2007-10-25 17:49:45 +00:00
jlam
66e67631a0 Allow packages to have no PLIST files whatsoever. If such a package also
does not set GENERATE_PLIST, then automatically generate a PLIST that
says:
	@comment ${PKGNAME} has no files.
2007-10-25 16:46:14 +00:00
rillig
85575fe696 Added _VARGROUPS. 2007-10-10 02:37:13 +00:00
joerg
961f2e2499 For DESTDIR operation, no need to filter out old files. 2007-08-20 10:59:53 +00:00
joerg
34c60ba2a2 Update _USE_DESTDIR=full handling to use the new -u/-g code and
require pkg_install-20070802 for using it. It is now considered
to work correctly and ready for general consumption.
2007-08-03 14:03:39 +00:00
jlam
639a93d743 Don't substitute for OPSYS- or ARCH-related variables in print-plist
if EMUL_PLATFORMS is defined.  This facilitates making
EMUL_PLATFORM-specific PLISTs.
2007-07-31 19:51:01 +00:00
jlam
33f30156fb * Add new emulator framework in pkgsrc/mk/emulator that handles all
binary-only packages that require binary "emulation" on the native
  operating system.  Please see pkgsrc/mk/emulator/README for more
  details.

* Teach the plist framework to automatically use any existing
  PLIST.${EMUL_PLATFORM} as part of the default PLIST_SRC definition.

* Convert all of the binary-only packages in pkgsrc to use the
  emulator framework.  Most of them have been tested to install and
  deinstall correctly.  This involves the following cleanup actions:

    * Remove use of custom PLIST code and use PLIST.${EMUL_PLATFORM}
      more consistently.

    * Simplify packages by using default INSTALL and DEINSTALL scripts
      instead of custom INSTALL/DEINSTALL code.

    * Remove "SUSE_COMPAT32" and "PKG_OPTIONS.suse" from pkgsrc.
      Packages only need to state exactly which emulations they support,
      and the framework handles any i386-on-x86_64 or sparc-on-sparc64
      uses.

    * Remove "USE_NATIVE_LINUX" from pkgsrc.  The framework will
      automatically detect when the package is installing on Linux.

  Specific changes to packages include:

    * Bump the PKGREVISIONs for all of the suse100* and suse91* packages
      due to changes in the +INSTALL/+DEINSTALL scripts used in all
      of the packages.

    * Remove pkgsrc/emulators/suse_linux, which is unused by any
      packages.

    * cad/lc -- remove custom code to create the distinfo file for
	all supported platforms; just use "emul-fetch" and "emul-distinfo"
	instead.

    * lang/Cg-compiler -- install the shared libraries under ${EMULDIR}
	instead of ${PREFIX}/lib so that compiled programs will find
	the shared libraries.

    * mail/thunderbird-bin-nightly -- update to latest binary
	distributions for supported platforms.

    * multimedia/ns-flash -- update Linux version to 9.0.48 as the
	older version is no longer available for interactive fetch.

    * security/uvscan -- set LD_LIBRARY_PATH explicitly so that
	it's not necessary to install library symlinks into
	${EMULDIR}/usr/local/lib.

    * www/firefox-bin-flash -- update Linux version to 9.0.48 as the
	older version is no longer available for interactive fetch.
2007-07-29 05:18:36 +00:00
jlam
4dde9bc3a4 Move the +SHLIBS generation code back into the pkginstall module. In the
plist module, it was being "defined" too late, and the pkginstall module
never created any +SHLIBS scripts.  Sidestep the tools problems with
SHLIB_TYPE by pretending they don't exist (for now).

XXX SHLIB_TYPE needs to be re-thought or removed altogether.
2007-07-27 18:37:35 +00:00
jlam
9bb51d11c7 Putting bsd.pkginstall.mk under bsd.tools.mk was a bad idea -- the
former set several USE_TOOLS lines that were being missed by bsd.tools.mk.

Rearrange the +SHLIBS code so that bsd.tools.mk can now be included
after bsd.pkginstall.mk again.  The +SHLIBS code has now been moved
over to the plist module, which is so far the repository for all of
the shlib-type handling.

This should fix the problem with fonts handling being broken.
2007-07-23 15:23:46 +00:00
jlam
2d76049e1e Add back a facility to rebuild the run-time library search paths database
on platforms that need it.

XXX Right now, if the platform needs it, then it runs for every package.
XXX This needs to be fixed to only run for packages that install shared
XXX libraries.

* Move mk/plist/shlib-type to mk/scripts.

* Move definition of SHLIB_TYPE from mk/plist/plist.mk to bsd.pkg.mk.

* Move inclusion of bsd.pkginstall.mk below bsd.tools.mk so that it
  can use SHLIB_TYPE.  This is necessary because SHLIB_TYPE's value
  is the result of evaluating a command, and the command needs "TOOL"
  definitions provided by bsd.tools.mk.
2007-07-18 18:01:02 +00:00
jlam
12d6ee2282 Preserve the default value of PLIST_SRC as PLIST_SRC_DFLT while still
allowing PLIST_SRC to be overridden in a package Makefile.

It's now possible to do:

	PLIST_SRC=	${PLIST_SRC_DFLT} ${WRKDIR}/PLIST_DYNAMIC

and still use the default PLIST.* fragment handling.
2007-07-18 14:12:30 +00:00
wiz
73da25f40a + be@latin for libwnck. 2007-07-03 19:40:43 +00:00
joerg
409b183fc0 Remove USE_MTREE support. Keep one copy (the NetBSD version) for
the purpose of print-PLIST in plist/common-dirs.mtree.

Discussed with wiz@, no objections on tech-pkg@.
2007-07-02 14:54:09 +00:00
rillig
4c3c864e51 Fixed the description of PLIST_SRC. 2007-06-09 11:02:23 +00:00
heinz
a215fa598d Changed suffix for _PLIST_NOKEYWORDS to be more in line with other files
in WRKDIR.
2007-05-28 13:59:10 +00:00
heinz
ada9d78f21 In order to avoid incorrect information about needed shared libraries in
+BUILD_INFO we must ensure that we only test valid lines from PLIST and
not lines like "@unexec /bin/rmdir..." where "/bin/rmdir" is not a part
of the resulting package.
To achieve this, a stripped version of PLIST, called _PLIST_NOKEYWORDS,
is introduced.
2007-05-28 13:54:25 +00:00
tnn
446bd88591 rename shared modules from .so to .sl 2007-04-22 19:54:44 +00:00
tnn
b2d49fdea7 .so -> .sl substitution 2007-04-21 14:15:59 +00:00
tnn
4fb278e0f0 add awk script to be used for Spectrum Object Module shlib handling. 2007-04-19 23:13:42 +00:00
tnn
d7b532d96e ECOFF on OSF1 behaves like ELF as far as PLISTs are concerned. 2007-04-11 19:01:00 +00:00
rillig
528cd68dee Fixed a GNU awk warning about quoting. 2007-03-07 16:32:45 +00:00
wiz
5dce6c7d9d Make MTREE_FILE and MTREE_ARGS internal by prefixing them with '_'.
They are not supposed to be set by the user.
2007-03-02 09:08:33 +00:00
uebayasi
2a60f0037b A missing quote. 2007-02-20 09:22:14 +00:00
joerg
bf76172a69 Font-related entries we skip for CHECK_FILES should be skipped for
print-PLIST as well.
2006-11-15 10:40:34 +00:00
joerg
8e79aa8c40 Rename _INSTALL_ROOT_USER to REAL_ROOT_USER. Use it as default for
SETUID_ROOT_PERMS.
2006-11-05 15:10:08 +00:00
joerg
aa237578e1 Include some more magic to set ownership of packages build with
use-destdir to ${ROOT_USER}:${ROOT_GROU}. This allows us to safely
use it on all packages which don't install setuid/setgid binaries.
2006-10-15 16:20:34 +00:00