Commit graph

74 commits

Author SHA1 Message Date
hubertf
86f8df6700 Don't creade dirs mode 444, inspired by fvdl's last commit. 1998-04-09 12:47:02 +00:00
fvdl
b29ed0a20f INSTALL_DATA_DIR should not install directories with mode 444 1998-04-08 22:27:41 +00:00
hubertf
3e3a40f8df Add examples for a distributed pkgsrc amongst different archs, plus some more. 1998-03-30 08:18:49 +00:00
agc
a7b030821a Initial pass at creating an example /etc/mk.conf. 1998-03-27 17:31:21 +00:00
tron
fa1cc877c5 Add "ftp.uni-paderborn.de" and "ftp.x.org" to "${MASTER_SITE_XCONTRIB}". 1998-03-24 10:27:44 +00:00
hubertf
1806df5d6e Document ALL_TARGET and INSTALL_TARGET, as per PR 5186. 1998-03-23 07:42:50 +00:00
agc
5f515a6d97 Temporarily revert to using GNU tar, until pax is bug-compatible with
gtar.  pax has problems extracting certain archives which were made by
gtar and contain trailing trash at the end - gtar ignores this dross,
pax thinks it's valid, and prompts for the second volume.
1998-03-09 18:36:51 +00:00
hubertf
da9d709b6d Make definition of OBJMACHINE in mk.conf work. 1998-03-08 14:55:04 +00:00
frueauf
1bbea52a58 Introduce "Arch:" field in INDEX to handle the ONLY_FOR_ARCHS case better. 1998-03-08 14:25:52 +00:00
hubertf
9c0c02d920 Add INSTALL_*_DIR macros. 1998-03-07 21:19:00 +00:00
tron
51c49a64ae MANZ now handles symlinks properly. 1998-03-01 13:38:03 +00:00
hubertf
18a2a23c83 Cleanup fetch-list change reported by Bernd Ernesti.. 1998-02-28 16:02:21 +00:00
tron
5ad9145d04 Fix merge problem with last commit. 1998-02-28 10:39:19 +00:00
tron
599dd364d0 Fix problem with registering foreign language manual pages. 1998-02-28 10:14:41 +00:00
agc
25269a4603 Patches from Matthew Green to use pax if it's present, in preference
to tar.
1998-02-27 13:22:59 +00:00
hubertf
da9ec0b877 Enhance look & feel of the generated README.html's. 1998-02-20 22:06:18 +00:00
hubertf
b2eb841a5c Recursively print /bin/sh code for all dependent package as well as the
current package (IF called from a package dir and not via bsd.port.subdir.mk;
in the latter case it's assumed that the dependent packages will be scanned
later anyways).

This fixes PR 4992 by Mario Kemper <magick@bundy.lip.owl.de>.
1998-02-20 21:31:20 +00:00
hubertf
c56e57276e Kill line forgotten during PATH extension (in MAKE_ENV). 1998-02-20 21:01:09 +00:00
agc
e904242751 Add a deinstall target, so that packages can be removed easily.
This implementation was taken from FreeBSD.
1998-02-17 15:07:02 +00:00
agc
dd59281c96 When generating the PLIST, if a manual page name has to have .gz added
or removed using sed, don't add the g at the end of the substitution
expression - there will only be one substitution per line.
1998-02-13 15:16:43 +00:00
hubertf
16b5cca770 Fix PR 4884 by replacing STRIP with STRIPFLAG.
This addes yet another step towards bsd.pkg.mk. :)
1998-02-09 00:47:23 +00:00
hubertf
403cfa3d46 Introduce TRUE?=/usr/bin/true, and use it. 1998-02-02 08:10:41 +00:00
agc
105023d3e6 Echo the directory name when doing a "make readme", so that progress
can be monitored.
1998-01-30 14:33:48 +00:00
agc
517e21a42c Remove the requirement that a LIB_DEPENDS name must have any '.'
characters escaped with a backslash, but recognise the backslashes for
backwards compatibility. When matching names, do any escaping of
the regexp '.' metacharacter automatically, if needed.

When a shared object dependency is printed out, use a form that does
not have the backslashes in it, for readability.

Print out the full pathname of the matching shared object, for clarity.
1998-01-30 13:53:53 +00:00
hubertf
f535cf3701 Replace "<$ARCH"> by "${MACHINE_ARCH}", keep "<$ARCH>"
(in bsd.port.mk) for backward compatibility.
1998-01-28 15:33:44 +00:00
hubertf
6bbb30d306 add mirror-distfiles target also here 1998-01-27 23:04:48 +00:00
agc
8a4b6d4901 Rename the mirror' target to be mirror-distfiles'. This describes
the action better, and works around problems with the mirror package.

Document the mirror-distfiles target, and also the readme target.
1998-01-27 13:14:07 +00:00
hubertf
972a50ce19 use __ARCH_OK=yes and NO_IGNORE=yes at the mirror-target to get ALL distfiles 1998-01-25 14:50:47 +00:00
hubertf
074cd6325e Re-move .if!defined(__ARCH_OK) to fix use of NO_IGNORE; document some .endif's 1998-01-25 14:46:10 +00:00
hubertf
ac68d7425b MAINTAINER = packages@NetBSD.ORG 1998-01-25 14:39:49 +00:00
hubertf
88f9bce7cb From OpenBSD's bsd.port.mk rlog (Mmm, AnonCVS :-):
revision 1.21
date: 1997/12/20 01:26:57;  author: joey;  state: Exp;  lines: +2 -2
openbsd maintainer changed from imp to me
1998-01-24 23:06:33 +00:00
hubertf
7b574e64e0 Echo "" instead of nothing in CKSUMFILES computation..
Fixes PR 4877 by Manuel Bouyer <bouyer@antioche.lip6.fr>
1998-01-23 16:48:23 +00:00
agc
9896f91228 In the shell script to find an executable upon which this package
depends, break out of the loop when you find one.  Also print the name
of the executable found.
1998-01-23 09:47:57 +00:00
agc
8dd06dcbcb Ignore the return code from rm when removing the ${WRKDIR} symbolic
link, when doing a "make clean" with WRKOBJDIR defined.  From Thorsten
Frueauf.
1998-01-22 11:27:54 +00:00
agc
b18b1d84e7 Add a MIRROR_DISTFILE variable; defaults to "yes", and should be set
to "no" in a package's Makefile when the authors have placed
restrictions on the redistribution of the distfiles.  (Thanks to Jason
Thorpe for the idea).

Add a `mirror' target, which will do a "make fetch" if the package's
distfile is allowed to be redistributed.  This is for use on sites
which mirror package distfiles.  (Thanks to Charles Hannum for the
idea).
1998-01-22 10:20:48 +00:00
hubertf
54802d7bd4 Fix comment for FETCH_CMD wrt non-NetBSD-systems 1998-01-16 09:07:46 +00:00
hubertf
15d441445e - Our default for FETCH_CMD is ftp, not fetch.
- Document NO_IGNORE, __ARCH_OK
 - Make __ARCH_OK overridable, so it can be set to YES e.g. for fetching
   all distfiles.
 - Move ".ifndef(__ARCH_OK): block, so some targets like clean work
   in any case.
 - Add LOCALBASE and X11BASE to PATH in MAKE_ENV, CONFIGURE_ENV and
   SCRIPT_ENV; this fixes PR 4573
1998-01-15 22:58:59 +00:00
agc
4ccba1f339 Move the inclusion of bsd.own.mk back to the correct place in
bsd.port.mk, but this time use a definition before the inclusion,
which stops <bsd.own.mk> defining its own install target when
using the package system.

This makes the package system take notice of the definitions in
/etc/mk.conf
1998-01-15 09:37:27 +00:00
agc
9456e71ade Add lines so that "make readme" in the top level pkgsrc directory, or
one if the categories directories, will call "make readme" in
any subdirectories.

I thought that this was suggested by Chris Demetriou, but I can't find
any PR backing this up.  So my apologies to the person who did suggest
this.
1998-01-08 10:59:47 +00:00
hubertf
902e9d6be4 Add us to MASTER_SITE_LOCAL. 1997-12-29 20:10:24 +00:00
hubertf
45194571e2 MACHINE_ARCH of pmax is "mips" 1997-12-27 03:24:10 +00:00
hubertf
a64285f809 Fix up documentation (MASTER_SITE_SUBDIR, PATCH_SITE_SUBDIR,
MASTER_SITE_BACKUP).
1997-12-21 01:59:44 +00:00
hubertf
902bf5f529 Now that we have ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles,
add it to MASTER_SITE_BACKUP.
1997-12-19 10:20:02 +00:00
hubertf
09dcd59cf7 - move definition of ARCH and OPSYS so it is even available if
ONLY_FOR_ARCHS is set
 - Usage points to PLIST_SRC
1997-12-13 21:28:24 +00:00
hubertf
20239bb938 do not depend on gmake being called gmake (pointed out by Matt Green) 1997-12-03 08:32:01 +00:00
agc
2c406d0ad3 Fix missing backslash when gzipping manual pages.
If we're going to go to the bother of defining LDCONFIG, we might as
well use it.
1997-11-26 09:24:18 +00:00
hubertf
2a7599fccd We use perl 5.004_04 now 1997-11-22 04:20:49 +00:00
hubertf
87364636d6 Use MI/MD PLIST files pkg/PLIST-{mi,md-{shared,static}} 1997-11-22 03:39:20 +00:00
agc
0d929991a3 Remove the magic control characters in a similar way to Bill Fenner's
patch for bsd.port.subdir.mk.
1997-11-21 17:44:11 +00:00
agc
41243ee1cb Modification by Bill Fenner which removes the embedded control
characters, and avoids the wrong interpretation of magic HTML
characters in DESCR files or categories.

Forwarded to me by Chris Demetriou, and refers to PR 4341.
1997-11-21 16:01:54 +00:00