Commit graph

13 commits

Author SHA1 Message Date
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
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
jmmv
8c3ed20149 Add share/themes/Clearlooks and bump version to 1.1.
This is needed because the clearlooks gtk2 and metacity theme will be now
in different packages.
2005-05-10 20:21:57 +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
5022e7bf74 Initial import of theme-dirs, version 1.0:
theme-dirs installs a set of shared directories used by GTK2+ (gtk2-engines)
and other GNOME packages (such as metacity and gnome-themes).  It is useful
to simplify PLIST handling in other packages.
2004-12-24 10:05:53 +00:00