Commit graph

90 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
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
joerg
aa48c98240 DESTDIR support. 2006-11-05 17:31:09 +00:00
dmcmahill
f1629474f3 Avoid empty for loops in shell scripts .
for f in ; do .... ; done

fails with solaris /bin/sh.  This repairs installation for several
packages.
2006-10-10 12:41:28 +00:00
minskim
69e7be5b27 Remove references to teTeX2. 2006-08-10 03:35:33 +00:00
jlam
e811379bc2 Pluralize INSTALL_TEMPLATE and DEINSTALL_TEMPLATE variable names as per
the pkglint warning:

    As {INSTALL,DEINSTALL}_TEMPLATE is modified using "+=", its name
    should indicate plural.

This does make the variables a bit more suggestive of the fact that they
hold lists of values.
2006-06-15 22:13:58 +00:00
minskim
58c72c4148 Remove a case for teTeX1. 2006-04-21 16:07:35 +00:00
minskim
e6db6f167b Fix PRINT_PLIST_AWK patterns to use "${PKG_LOCALTEXMFPREFIX}" instead of
its value.  Noted by reed@.
2006-04-12 17:58:41 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
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).
2006-04-06 06:21:32 +00:00
jlam
daad0f3d6c Modify the pkginstall framework so that it manages all aspects of
INSTALL/DEINSTALL script creation within pkgsrc.

If an INSTALL or DEINSTALL script is found in the package directory,
it is automatically used as a template for the pkginstall-generated
scripts.  If instead, they should be used simply as the full scripts,
then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC
explicitly, e.g.:

	INSTALL_SRC=	${PKGDIR}/INSTALL
	DEINSTALL_SRC=	# emtpy

As part of the restructuring of the pkginstall framework internals,
we now *always* generate temporary INSTALL or DEINSTALL scripts.  By
comparing these temporary scripts with minimal INSTALL/DEINSTALL
scripts formed from only the base templates, we determine whether or
not the INSTALL/DEINSTALL scripts are actually needed by the package
(see the generate-install-scripts target in bsd.pkginstall.mk).

In addition, more variables in the framework have been made private.
The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are
more sensible names given the very few exported variables in this
framework.  The only public variables relating to the templates are:

	INSTALL_SRC		INSTALL_TEMPLATE
	DEINSTALL_SRC		DEINSTALL_TEMPLATE
				HEADER_TEMPLATE

The packages in pkgsrc have been modified to reflect the changes in
the pkginstall framework.
2006-03-14 01:14:26 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
wiz
9e2ddacc40 Handle packages that only accept teTeX2 similarly to ones
that only accept teTeX2; should fix ja-ptex-share bulk build.
2006-01-13 17:56:43 +00:00
tonio
fbcf8141f8 fix problem with malformed conditional with old make 2006-01-10 13:25:01 +00:00
tron
b0693b0d51 Fix broken ".if" conditional which causes warnings if e.g. "pkg_chk -i"
was used.
2006-01-09 10:12:11 +00:00
tonio
a5a34197c1 do not use tex.buildlink3.mk when the only accepted version is teTeX1, to
allow bulk build to create packages
2006-01-08 14:13:48 +00:00
tonio
56edd1a62d Make teTeX3 the default TEX_DEFAULT
bump PKGREVISION where necessary

Move PKG_TEXMFPREFIX and PKG_LOCALTEXMFPREFIX definitions to
teTeX?/buidlink3.mk, so that packages may include
print/teTeX1-bin/buildlink3.mk directly (however, using teTeX/module.mk do not
allow that)
2006-01-08 14:00:11 +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
reed
0cfd3dc129 Don't point to documentation that is not installed to list the
features. (Anyways, it appears this package doesn't install the file.)
2005-12-27 17:54:41 +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
minskim
21521bc942 Font map handling requires teTeX-bin>=3.0nb4. Specify the dependency
in teTeX/module.mk, rather than individual packages.
2005-11-20 18:22:50 +00:00
minskim
ca378e248f Grammar fix in comments. 2005-11-17 00:48:07 +00:00
minskim
a3bd11854a Replace TEXFONTMAPS with TEX_FONTMAPS for consistency with other TEX_*
variables in mk/tex.buildlink3.mk and better readability.
2005-11-17 00:42:14 +00:00
minskim
116cf5a85f Run updmap at DEINSTALL, rather than POST-DEINSTALL; otherwise, updmap
complains when multiple map files are deleted.  No functional change
to existing packages since none of them install multiple map files.
2005-11-16 22:27:38 +00:00
minskim
6e1a0ee18d Teach module.mk how to handle font map files. 2005-11-15 07:13:19 +00:00
minskim
f8a0fd3f9a Add module.mk to handle updating the ls-R database of the texmf tree
for TeX packages.  Thanks to hubertf@ and tonio@ for review.
2005-11-13 03:25:57 +00:00
tonio
c27f4ed5e1 Rename LATEX_ACCEPTED and LATEX_DEFAULT to TEX_ACCEPTED and TEX_DEFAULT
It is more consistent with the tex.buildlink3.mk name. Also, if a package
really needs latex, it just has to set TEX_ACCEPTED to latex distributions
altough today, all TEX_ACCEPTED possibilities are latex distributions
2005-11-11 18:50:23 +00:00
grant
e720c400e2 depends should be ../../<category>/<pkg> 2005-07-19 10:11:48 +00:00
reed
fa9d540bf8 This is a meta package and doesn't do any builds, so remove
USE_X11=yes. I am not bumping PKGREVISION because this really
doesn't effect package too much since one of the dependencies
does require X anyways.
2005-05-14 02:26:50 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
reed
dc2d0c90b6 Add note to DESCRiption saying this is a meta-package. (Okayed by
maintainer, kei@.)
Also added "meta-pkgs" to CATEGORIES as a sub-category. (As asked
by maintainer, kei@.)
2004-06-05 21:56:47 +00:00
snj
0de70e186b This does not need buildlink2. Make pkglint happy. 2004-04-25 03:06:39 +00:00
wiz
a661ce60c0 PKGREVISION bump after openssl-security-fix-update to 0.9.6m.
Buildlink files: RECOMMENDED version changed to current version.
2004-03-26 02:27:34 +00:00
jmmv
e7c0fbc0d1 Update teTeX packages to 2.0.2 (really merge teTeX2 into teTeX). The 2.x
branch becomes the default teTeX package.
2003-12-24 12:51:31 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
wiz
28a4483bc7 NO_PATCH is deprecated, says pkglint. Remove it. 2003-03-28 21:14:10 +00:00
jlam
4011a11802 Back out previous and add an empty do-install target...that was the real
reason why we couldn't install.
2002-09-21 01:57:35 +00:00
jlam
26afe4e9b8 This package has no WRKSRC, so set it to WRKDIR. 2002-09-21 01:55:23 +00:00
jlam
ba6c45ea27 INSTALL file is no more...it repeats the info in teTeX-bin/INSTALL. 2002-09-21 01:54:13 +00:00
jlam
84d02776a4 Trivially use buildlink2. 2002-09-21 01:53:37 +00:00
jlam
dda6e4a015 Remove redundant INSTALL info that is also in teTeX-bin. 2002-09-21 01:53:28 +00:00
fredb
10fc31b0a3 Fix up redundant PKGREVISION and "nb1" in PKGNAME. 2002-03-14 20:18:18 +00:00
fredb
b48eba1112 Give all packages which depend on "png" a version bump, and update
all dependencies on packages depending on "png" which contain shared
libraries, all for the (imminent) update to the "png" package.
[List courtesy of John Darrow, courtesy of "bulk-build".]
2002-03-13 17:36:35 +00:00
drochner
f41c8a23f5 move dependency on text2html so that we don't have to recompile the
whole TeX stuff on an unimportant perl PKGREVISION bump just because
of a "totally useless" utility which happens to be a perl script
2002-01-28 15:25:12 +00:00
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
kei
2f54bfffa9 Updated teTeX-share and teTeX-sharesrc for preparing to update of TeXfamily
which doesn't compile recently because of the LaTeX's "Hey, your distribution
is too old!  Please update it to the latest one!" feature.

Quoted from the patch to `latex.ltx'.

  This is a work around for the '1 year old' error which avoids the format
  file from being generated correctly.  Provided by Naoto Shimazaki.

  Because of NO_EXTRACT/NO_PATCH/others are defined in teTeX-share{,src}
  packages, applying this patch is done by packages' Makefiles on do-install
  stage.

New version numbers after these changes are like below:

teTeX:          1.0.7nb1
teTeX-bin:      1.0.7nb1
teTeX-share:    1.0.2nb1
teTeX-sharesrc: 1.0.1nb1
2001-10-24 00:28:47 +00:00
agc
2d6b6a009c + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:43:32 +00:00
wiz
a87738b456 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:42:09 +00:00
wiz
333fb4cf19 add HOMEPAGE 2000-09-03 13:07:40 +00:00