Commit graph

305 commits

Author SHA1 Message Date
seb
b4bf4efa57 USE_NEW_TEXINFO is no more. 2003-08-09 10:25:43 +00:00
seb
3d8956b091 Be a little more relax about install-info invocation during package
installation: it is best to avoid it but it does no harm.
2003-07-28 08:08:59 +00:00
wiz
239d157ee3 Remove duplicate word. PR 22137 2003-07-14 21:23:51 +00:00
martti
be4f969e9a COMMENTs should start with a capital letter 2003-07-14 15:38:56 +00:00
agc
2b21c288d1 Clarify that the pathname of scripts relative to ${WRKSRC} is used in
_REPLACE_FILES.${interpreter}, just as in REPLACE_PERL
2003-07-09 16:59:25 +00:00
agc
5e47309800 Document how to enable fixups on scripts in a package which have hardcoded
pathnames to interpreters.
2003-07-09 16:14:51 +00:00
martti
973258f3ed The default MAINTAINER is now tech-pkg@netbsd.org 2003-07-04 11:33:54 +00:00
agc
8a6be63ded Resurrect the previous version of Packages.txt until the new docbook-style
documentation has been properly sorted out.
2003-06-28 09:58:11 +00:00
grant
70cfc4ff4b the full documentation has more up-to-date information than the
README, deprecate it, too.
2003-06-23 07:48:01 +00:00
grant
168a82be23 deprecate Packages.txt.
now point users at documentation on the web and provide a copy of the
single file HTML and plain-text output.
2003-06-23 07:41:44 +00:00
seb
5ab8be8066 Introduce a new framework to handle info files, install-info and
makeinfo commands.

The goal of the new framework is twofold:
        - reduce the number of '@exec' and '@unexec' in PLIST by
using INSTALL/DEINSTALL scripts to handle entries addition/removal
Info directory file.
        - achieve lighter dependencies by avoiding unnecessary run-time
dependency on the gtexinfo package and if needed with the help of the
standalone install-info command provided by the recently imported package
pkgtools/pkg_install-info.

A package must be sightly updated to use this new framework and
must define the variable USE_NEW_TEXINFO. This variable will
be removed from the pkgsrc tree when all package would have been
updated.

For details see section 10.24 of Packages.txt, comments in
mk/{texinfo.mk,buildlink2/bsd.buildlink2.mk} and upcoming mail to
<tech-pkg at netbsd dot org>.
2003-06-19 21:41:13 +00:00
jmmv
024829bde8 Add MASTER_SITE_GNUSTEP, MASTER_SITE_R_CRAN, MASTER_SITE_SUSE,
MASTER_SITE_MOZILLA, MASTER_SITE_XEMACS, MASTER_SITE_APACHE and
MASTER_SITE_DEBIAN to the list of known master sites, and sort it.
2003-06-05 17:32:13 +00:00
wiz
66108a6159 Update section on how to override libtool in packages with our own version. 2003-05-31 19:35:16 +00:00
zuntum
2c179a303f Fix example - advise user to extract pkgsrc.tar.gz into /usr
instead of /usr/pkgsrc, because the tarball has "pkgsrc" directory in it
anyway
2003-05-08 13:31:06 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
zuntum
864ecb8165 Add section "Packages containing perl scripts" that discusses REPLACE_PERL
From Soren Jacobsen in PR#21469, thanks!
2003-05-06 00:15:52 +00:00
jschauma
42d446bf53 Add a paragraph to point out that users should use CFLAGS+= rather than
CFLAGS= in /etc/mk.conf.
2003-04-04 20:15:51 +00:00
salo
4f57d48584 Update section 11.1 to advise attaching new packages as uuencoded tar
archives for better tracking and archiving:

 11.1 Submitting your packages
 =============================

 ...

 * packages:
   First, check that your package is complete, compiles and runs well; see
   section 9 and the rest of this document. Next, generate an uuencoded
   gzipped tar(1) archive, preferably with all files in a single directory.
   Finally, send-pr(1) with category "pkg", a synopsis which includes the
   package name and version number, a short description of your package
   (contents of the COMMENT variable or DESCR file are OK) and attach the
   archive to your PR.

   If you want to submit several packages, please send a separate PR for
   each one, it's easier for us to track things that way.
2003-03-25 16:24:57 +00:00
wiz
aec32c9eab Note how USE_NCURSES should be used. 2003-02-23 10:45:39 +00:00
wiz
85c70f26c9 Fix typo in last. 2003-02-03 15:33:01 +00:00
jmmv
1c4746c503 Fix some typos, based on PR pkg/20178 by <soren at blef.org>. 2003-02-03 11:13:54 +00:00
grant
484ce85ce2 - fix a typo.
- security/smtpd (not snmpd) wants /etc/localtime.

found while marking up :)
2003-01-29 08:50:11 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
jdolecek
fb871a7de1 add missing dot 2003-01-22 19:22:05 +00:00
jschauma
97d2d439b1 Update some info for bootstrap-pkgsrc. 2003-01-19 17:38:40 +00:00
jschauma
91310ae886 Remove references to obsolete variables EXTRACT_BEFORE_ARGS and
EXTRACT_AFTER_ARGS.
2003-01-10 17:26:35 +00:00
agc
ccdc648a63 Document PKG_PRESERVE, the capability of a package to specify that it should
not be deleted.
2003-01-10 11:58:02 +00:00
wiz
76591e2d21 Reinstate duplicate word -- it is correct here. 2003-01-04 16:04:06 +00:00
grant
c81a9b1971 remove a duplicate word. 2003-01-04 14:31:57 +00:00
grant
cf86a8c1f9 add to PLIST issues:
* LOWER_OPSYS.
* platform specific PLIST handling.
2003-01-02 06:18:48 +00:00
uebayasi
289160ecdb * Garbage collect IGNORE -> SKIP migration.
* {NOT,ONLY}_FOR_PLATHOME mismatch is not an error.  Set
  PKG_SKIP_REASON for those cases.  This makes bulk builds happier.
2002-12-27 06:53:42 +00:00
schmonz
be74080292 10.31 Packages that cannot or should not be built
=================================================

There are several reasons why a package might be instructed to not
build under certain circumstances. If the package builds and runs
on most platforms, the exceptions should be noted with NOT_FOR_PLATFORM.
If the package builds and runs on a small handful of platforms,
set ONLY_FOR_PLATFORM instead. If the package should be skipped
(for example, because it provides functionality already provided
by the system), set PKG_SKIP_REASON to a descriptive message. If
the package should fail because some preconditions are not met,
set PKG_FAIL_REASON to a descriptive message.

IGNORE is deprecated because it didn't provide enough information
to determine whether the build should fail.
2002-12-10 15:02:24 +00:00
hubertf
5f9789300a document how to use sudo with pkgsrc
(for just-in-time-su(1) password caching)
2002-12-03 10:51:47 +00:00
salo
fd4ecd6aa4 Introduce new framework for handling packages' locale directories.
The logic is:
 - if package defines USE_PKGLOCALEDIR and PKGLOCALEDIR is not 'share' as GNU
   autotools expects then
 - fix variables 'localedir', 'gnulocaledir' and define coorect 'LOCALEDIR' in
   the Makefile.in.* files

From Packages.txt:

 10.29 Packages providing locale catalogues
 ==========================================

If the package provides its own locale catalogues, the variable
USE_PKGLOCALEDIR should be defined.  It will ensure that the package's
Makefile template files are fixed and point to the correct locale directories
(which may vary, depending on OS), if necessary.  See also section 5.1 for
details about ${PKGLOCALEDIR}.  This functionality is buildlink2-only.
2002-11-28 14:21:32 +00:00
salo
3b84b524ca Document PKG_REGISTER_SHELLS framework. 2002-11-17 09:00:30 +00:00
wiz
94b93ce5c5 Fix typo reported by Julio Merino in PR 18967. 2002-11-08 09:29:14 +00:00
seb
3df5fb5b95 Mention pkgsrc/mk/auto{conf,make}.mk in section 6.4 and fix examples. 2002-11-04 13:00:51 +00:00
seb
3f3adbeb30 Add a note about perl5/module.mk. 2002-10-27 21:54:05 +00:00
jlam
9474debd91 Refer readers to the text files in mk/buildlink2 for more information that
isn't appropriate for Packages.txt, and change the way the dotted list
appears to look more like the rest of Packages.txt.
2002-10-24 04:52:15 +00:00
jlam
6f7ea50358 Replace buildlink1 section with a buildlink2 section. 2002-10-23 19:21:18 +00:00
wiz
b56fb57bf8 Remove USE_LIBINTL and _DO_LIBINTL_CHECKS, which have been replaced
by devel/gettext-lib/buildlink2.mk.
2002-10-23 12:21:29 +00:00
wiz
555b0a21c7 Purge unused USE_XPM (use graphics/xpm/buildlink2.mk instead). 2002-10-21 13:58:14 +00:00
wiz
e88dfe097a Update description of how to use libltdl, and remove some USE_* mentions
for USE_* which do not exist any longer.
2002-10-21 01:21:46 +00:00
lukem
9864c7b862 doc/pkg-CHANGES is now pkgsrc/doc/CHANGES 2002-09-19 12:48:04 +00:00
jlam
7230ff5dd9 PKG_SYSCONFDIR is not supposed to be settable, so change its setting from
?= to =.  Note in Packages.txt that the only variables that a user should
customize in /etc/mk.conf are PKG_SYSCONFBASE and PKG_SYSCONFDIR.<pkg>.
2002-08-26 05:17:39 +00:00
agc
09afe2685e Remove the setting of BATCH=yes and DEPENDS_TARGET=bulk-install from
the example mk.conf for bulk builds, since these are now set by the
bulk build machinery itself.  This allows an /etc/mk.conf file to be
shared between ordinary builds and bulk builds.
2002-08-12 14:23:47 +00:00
wiz
a06a664212 Add a paragraph on how to move a package in the repository. 2002-07-29 21:10:18 +00:00
hubertf
82eb1cbb51 fix typo 2002-07-04 13:42:11 +00:00
wiz
0c3f94f20f Deprecate USE_SSL. 2002-07-02 15:25:49 +00:00
agc
769153c5c4 Deprecate IS_INTERACTIVE, and introduce a finer-grained INTERACTIVE_STAGE
definition.

INTERACTIVE_STAGE can take any of the values: fetch, configure, build and
install

Multiple values are allowed: e.g. INTERACTIVE_STAGE= configure install

Explain INTERACTIVE_STAGE and its use in documentation.

Patches provided by Chris Pinnock (cjep@netbsd.org).
2002-07-02 11:26:05 +00:00