Commit graph

32 commits

Author SHA1 Message Date
joerg
3b0d97b0de Add DESTDIR support. 2008-06-20 01:09:05 +00:00
jmmv
0d3662ee66 Drop maintainership
Stop lying and drop maintainership of these packages.  I have not
maintained them for a very long time already, so leave room for
fresh blood to take over them.
2008-04-30 13:38:14 +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
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
56ba4d2690 Remove empty PLISTs from pkgsrc since revision 1.33 of plist/plist.mk
can handle packages having no PLIST files.
2007-10-25 16:54:26 +00:00
jmmv
2eb50cd83b Update gnome-dirs, gnome1-dirs and gnome2-dirs to 1.6:
- Add the share/gnome-default-applications.
2006-03-30 21:14:32 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
jlam
dc9594e09d 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.
2005-12-29 06:21:30 +00:00
rillig
b71a1d488b 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
2005-12-05 20:49:47 +00:00
rillig
c987b02ad4 Replaced "# defined" with "yes" where appropriate. 2005-09-28 19:51:27 +00:00
jlam
cf4dfe44a5 Use REQD_DIRS instead of MAKE_DIRS for directories under ${PREFIX} so
that these directories will be conditionally removed (based on reference
counts), regardless of the value of PKG_CONFIG.  Bump the PKGREVISION
for packages that were modified as a result.
2005-08-20 19:16:21 +00:00
jmmv
dba1dd4b42 Fix print-PLIST generation (broken by incorrect regexp in MKDIR handling). 2005-06-04 11:20:22 +00:00
jmmv
0dcda0ebc1 During PLIST generation, suppress MKDIR lines that create directories
handled by these packages.  Found by wiz@.
2005-05-31 18:53:32 +00:00
jlam
7cceaadc84 We don't need to use ${SORT} to sort a list -- just use the :O modifier. 2005-04-28 23:04:08 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
jmmv
9c98bbb2c8 Now pick maintainership, to let people know who to bla^Wcomment to. 2004-04-14 15:31:09 +00:00
jmmv
6bb0eff02e Rework the way to use the -dirs packages (ATM, xdg-dirs, xdg-x11-dirs,
gnome1-dirs and gnome2-dirs):

- Introduce a global USE_DIRS variable, which takes pairs of names and
  versions.  For example, an xdg-1.1 value will request the use of the
  xdg-dirs package, at least version 1.1.  This variable must always be
  appended to.  If there are duplicates with different versions, the
  one with the higher number will be picked up.

- Introduce the mk/dirs.mk file, which is automatically included by
  bsd.pkg.mk when USE_DIRS is not empty.  It parses the variable's value
  and includes the required dirs.mk files, present in each -dirs package.

- For each -dirs package, add a dirs.mk file that defines a variable
  holding the list of directories provided by it, adds a dependency on
  that package, and modifies the PRINT_PLIST_AWK variable to output
  comments for the directories handled by it.

- Drop some Makefile.common files that only make things difficult and
  more confusing now (in favour of the new dirs.mk files).  The only thing
  to worry about is to keep version numbers consistent across xdg-* and
  gnome*-* packages, but that will be easier to handle.

The main reason for this change is to be able to modify PRINT_PLIST_AWK in
a clean way, but I hope this will improve clarity too.  Also, this simplifies
the addition of future -dirs packages (if needed) in a consistent way.
2004-04-14 15:26:41 +00:00
jmmv
9fc5fcb048 Use xdg-x11-dirs properly, by using the right path and pkg name. 2004-03-12 20:44:16 +00:00
wiz
acbfe865e3 It is called xdg-dirs, not xdg-x11-dirs. 2004-03-12 19:49:59 +00:00
jmmv
cd33b071ba Update to 1.5: do not register some directories that are now handled by
xdg-dirs and xdg-x11-dirs.
2004-03-08 19:30:58 +00:00
jlam
a0b9892d28 These packages don't use the compiler. 2004-02-15 12:12:32 +00:00
jlam
dcc24c42a8 These packages never invoke the toolchain, hence NO_BUILDLINK is
appropriate.
2004-01-22 13:00:24 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
jschauma
e366d0c694 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.
2003-06-02 01:15:31 +00:00
jmmv
93f6a97207 Use bsd.pkg.install.mk to register directories instead of a dynamic PLIST.
This fixes the gnome*-dirs breakage in last bulk build in a non-aggressive
way (i.e., no need to update pkg_install to fix it).

Bump version of gnome*-dirs to 1.1, because binary packages have changed.

Patch provided by jlam, thanks!
2003-02-05 16:55:24 +00:00
jlam
f45c017923 gnome[12]-dirs shouldn't have buildlink2.mk files as they don't have
either shared libraries or header files.  Remove references to these
buildlink2.mk files from package Makefiles.
2003-02-05 05:06:32 +00:00
jlam
81a8b484ba Really remove references to gnome-dirs/buildlink2.mk. 2003-02-05 05:03:01 +00:00
jlam
2a409a2af9 gnome-dirs shouldn't have a buildlink2.mk file as it doesn't have either
shared libraries or header files.  Simply use the existing DEPENDS
mechanism in gnome[12]-dirs to note a dependency on gnome-dirs>=1.0.
2003-02-05 04:49:05 +00:00
jmmv
e6272e67f6 Undo last. Packages installing GNOME applets depend on gnome-core, which
takes care of the share/applets hierarchy.
2003-01-27 14:30:39 +00:00
jmmv
5fc7346a14 Register shared directories under share/applets: Amusements, Clocks,
Monitors, Multimedia, Network and Utility.
2003-01-27 14:14:13 +00:00
jmmv
5bae5e0526 Initial import of gnome1-dirs, version 1.0:
gnome1-dirs installs a set of shared directories used by many GTK1/GNOME1
applications.  It is useful to simplify PLIST handling in other packages.

Reviewed by rh.
2003-01-27 09:36:26 +00:00