Commit graph

231 commits

Author SHA1 Message Date
hubertf
4eb35f5719 s/sysctl/uname/, pointed out by Klaus Klein 2002-02-13 23:29:37 +00:00
abs
342971e7f0 Implement DYNAMIC_MASTER_SITES
If you need to download from a dynamic URL you can set DYNAMIC_MASTER_SITES
and a 'make fetch' will call files/getsite.sh with the name of each file
to download as an argument, expecting it to output the URL of the directory
from which to download it. graphics/ns-cult3d is an example of this usage.
2002-02-13 20:05:02 +00:00
mjl
5c72aa660a Typo fix 2002-02-13 12:30:52 +00:00
skrll
0666834726 Update the AUTOMAKE_OVERRIDE part (its on by default now) with a word of
warning that it may cause problems.
2002-02-12 09:36:00 +00:00
skrll
260d572589 Clarify the automake/conf description slightly.
autoreconf will call aclocal if necessary and as this is part of automake
so its wrong to describe it as the autoconf only option. Change autoreconf
to autoconf.

Also explictly mark the automake example as "automake and autoconf".
2002-02-12 09:29:56 +00:00
agc
cf3780e1c2 Add and document a new OBJHOSTNAME definition.
If set, the first component of the hostname (up to the first '.', if any),
will be appended to "work." to form the WRKDIR_BASENAME.

OBJHOSTNAME takes precedence over OBJMACHINE.
2002-01-11 14:41:41 +00:00
fredb
9dcbdecef3 Document recent changes to the fetch targets, especially ${SITES_foo}. 2002-01-06 21:48:40 +00:00
lukem
ec9a03e2c1 no point in having two 10.22's 2001-12-31 14:58:46 +00:00
abs
0e280055c2 add 10.22 How to handle compiler bugs 2001-12-31 14:09:15 +00:00
mason
f87002db21 scripts/ no longer exists 2001-12-26 15:06:35 +00:00
agc
ccff9099bc Modify all references to PKGSRCDIR to _PKGSRCDIR, except in the external
references of the pkglint package.

_PKGSRCDIR is an internal definition in bsd.pkg.mk, and a few packages
which would like to refer to other packages in the build tree. It should
not be set by users, but neither should it stop a user from building a
package if it is defined, so make it obvious that this is the case.
2001-12-15 20:25:34 +00:00
wiz
9d774a36a3 Retire USE_CURSES, which was superseded by devel/ncurses/buildlink.mk, and
has now been purged from pkgsrc.
2001-12-12 16:30:04 +00:00
hubertf
a0a7a4896a Clarify things on PKGREVISION a bit, and mention that it should be removed
if the pkg is upgraded to a new release of the software. (Setting
PKGREVISION=0 should do ok too, but I don't think we want to document that)
2001-12-08 02:14:38 +00:00
wiz
1a9a466f05 Add support for distfile-specific master sites, as requested in pkg/7471.
Syntax:
MASTER_SITES_completefilename=	http://specific.master/site
and similarly for PATCH_SITES.
Convert print/ghostscript-nox11 and x11/kterm to take advantage of this.
2001-12-02 21:29:20 +00:00
wiz
d6b705489b Remove REPLACE_CURSES from bsd.pkg.mk (not needed anymore), and don't
document it and USE_CURSES in Packages.txt anymore (packages should
really use devel/ncurses/buildlink.mk instead).
2001-11-30 01:26:32 +00:00
hubertf
5542206cba Get rid of manually adding "nbX" to PKGNAME when a pkg was changed in
pkgsrc. Instead, a new variable PKGREVISION is invented that can get
bumped independent of DISTNAME and PKGNAME.

Example #1:
        DISTNAME=       foo-X.Y
        PKGREVISION=    Z
     => PKGNAME=        foo-X.YnbZ

Example #2:
        DISTNAME=       barthing-X.Y
        PKGNAME=        bar-X.Y
        PKGREVISION=    Z
     => PKGNAME=        bar=X.YnbZ (!)

On subsequent changes, only PKGREVISION needs to be bumped, no more risk
of getting DISTNAME changed accidentally.
2001-11-29 01:12:24 +00:00
hubertf
9c7a4c4c00 add a few quotes to make things a bit clearer in one place 2001-11-27 03:03:11 +00:00
jlam
68653b87d0 Update description of how to create a user/group account for a package
to use PKG_{USERS,GROUPS}.
2001-11-26 22:06:58 +00:00
jlam
8e650c8e90 Add description of PKG_SYSCONFDIR and related variables, and note that
pkgsrc policy now is to make packages look for their config files in
${PKG_SYSCONFDIR}.
2001-11-25 19:10:27 +00:00
jlam
3cb36985d3 Note that to handle creating new users/groups for a package, you should use
bsd.pkg.install.mk and set PKG_USER/PKG_GROUP appropriately.
2001-11-19 16:28:03 +00:00
jlam
52d5e3caf4 Fix typo noted by Masao Uebayashi <uebayasi@soum.co.jp> 2001-11-08 08:54:04 +00:00
wiz
ce1ba8bf17 Update for "pkg/"-removal. 2001-11-03 21:02:46 +00:00
hubertf
9e1340690e Ding dong, the scripts are dead! 2001-11-03 20:43:53 +00:00
jlam
b411750346 Missing semicolons between commands in automake example. 2001-10-31 04:24:16 +00:00
drochner
5911882bd7 correct LIBTOOL_OVERRIDE usage 2001-10-30 17:09:43 +00:00
jlam
0a8ec5c117 Document how to deal with packages that need autoconf/automake and
AUTOMAKE_OVERRIDE.
2001-10-26 17:15:57 +00:00
jlam
a4bc16d30c I am a triple idiot. The only relevant variable that x11.buildlink.mk
redefines about which buildlink.mk files would care is BUILDLINK_X11_DIR,
which points to the location of the X11R6 hierarchy used during building.
If x11.buildlink.mk isn't included, then BUILDLINK_X11_DIR defaults to
${X11BASE} (set in bsd.pkg.mk), so its value is always safe to use.  Remove
the ifdefs surrounding the use of BUILDLINK_X11_DIR in tk/buildlink.mk and
revert changes to move x11.buildlink.mk before the other buildlink.mk files.
2001-10-24 22:10:43 +00:00
jlam
452509b0a2 Note that x11.buildlink.mk should be included first. 2001-10-24 20:06:19 +00:00
hubertf
fa9bbbad08 * Replace BUILD_ROOT with PKGSRCDIR in one example
* Note how to clean-up after unpacking/building another package
2001-10-17 18:35:42 +00:00
agc
99995ce111 Add a section, for developers' benefit mainly, related to updating
packages in pkgsrc.
2001-10-15 11:34:20 +00:00
abs
a227af8022 Add mosaic-license to bulk-build licences 2001-10-13 05:27:49 +00:00
wiz
f92a9666c9 Remove references on how to import FreeBSD ports, since this hasn't been
our main source for packages for a long time, and was confusing people.
Also some cleanups, rewrite of section 9, and some updates to a more
current pkgsrc situation.
2001-10-11 13:21:08 +00:00
martti
79e431f61b Note that on import, one should include part of the pkg/DESCR file
in the commit message.
2001-10-11 11:11:15 +00:00
abs
1ef61a1795 Clarify and shorten the '-[0-9]* should be used instead of -*' section 2001-10-02 11:15:29 +00:00
abs
e31ba171a2 Add 'show-installed-depends' - neat implementation thanks to Hubert. 2001-09-30 22:10:33 +00:00
hubertf
502a49e2b7 another typo 2001-09-29 23:15:45 +00:00
hubertf
eca302c14e Fix typo pointed out by marius@alchemy.franken.de in private mail. 2001-09-29 23:14:38 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00
jmc
81bfb07948 Change tabs to spaces in example output for audit-package install in 10.21.
This makes the TOC generation clean again.
2001-09-26 04:47:39 +00:00
agc
ac6fded467 Adapt the documentation for bsd.pkg.defaults.mk 2001-09-24 08:59:09 +00:00
skrll
dc82202ca9 More tpyos, speelling and gramer 2001-09-21 09:04:22 +00:00
skrll
19e3e655f8 typo 2001-09-21 08:36:50 +00:00
wiz
8e71cb9b36 Note that on import, one should also add the package to the category's
Makefile.
2001-09-19 10:45:32 +00:00
jlam
fec4edb91a Document the new Motif-related variables. Deprecate USE_MOTIF in favor of
including motif.buildlink.mk, which contains more sophisticated and
complete logic for detecting the various Motif options that may be
installed.  Though deprecated, USE_MOTIF is still recognized, though it
does no more than include motif.buildlink.mk.
2001-09-14 01:52:40 +00:00
agc
a16fc84f19 Deprecate NO_WRKSUBDIR, replacing it with an explicit assignment of:
WRKSRC= ${WRKDIR}

This is much cleaner, much more indicative of what happens, and removes
another of the negative definitions (NO_.* = value).
2001-09-09 20:36:07 +00:00
jlam
a7d928a6fa Note USE_MOTIF --> .include "../../mk/motif.buildlink.mk" when converting
packages to use buildlink.
2001-09-08 20:09:46 +00:00
hubertf
5738d664ec Add a note on typography - for now, only some info on shell prompts. 2001-09-04 13:50:02 +00:00
hubertf
726122576e Markup changes:
* indent consistently
 * make shell prompts consistent

XXX It would be really nice to have that in a different format, and generate
    this file... (Didn't I do a DocBook version of this some time ago?)
2001-09-04 13:33:56 +00:00
hubertf
a7edc2026e Fix some typos, logical errors, and use pkgsrc/foo/bar consistently.
Mostly from Dawid Szymaqski <dawszy@netbsd.lubin.pl>
2001-09-04 13:00:44 +00:00
jlam
c1bd68aac5 Update slightly to document x11.buildlink.mk. 2001-08-29 22:55:36 +00:00