Commit Graph

28 Commits

Author SHA1 Message Date
espie
f9088537c3 Handle @comment @dirrm 2002-12-23 16:07:51 +00:00
espie
c43f93f261 strip only numbers at the end, and do a better job at removing spaces. 2002-12-03 13:56:44 +00:00
espie
c612390ed0 Kill at most two series of numbers from dependencies, so that
LIB_DEPENDS=glib-2.0.0.0 will work
2002-12-03 13:38:16 +00:00
espie
4fecaeb271 move stuff around, so that functions are at beginning of file.
No other significant change.
2002-04-20 19:07:25 +00:00
espie
b2e829be6d register comments. Allows to remove a file from a plist by @comment'ing it,
and having make update-plist keep that.
2002-04-15 06:38:23 +00:00
espie
9ad648bfbe Let make update-plist look at dependent packages (LIB_DEPENDS and
RUN_DEPENDS) to create a more accurate list of @dirrm.

Minor negative side-effect: up-to-date dependent packages must be present
for this to work. Not a problem, since this is only used by maintainers.

This improves the quality of generated plists for large packages with lots
of dependencies by a large amount (e.g., kde)

reviewed by pval@
2002-04-03 15:00:30 +00:00
naddy
80abcb4c2f strip leading path components from lib specs; ok espie@ 2001-12-31 01:59:39 +00:00
espie
5906a566ef First cut at a lib-depends checker: this version does use WRKINST instead
of the actual package, so it WILL get things wrong in some multi-packages
case.
2001-10-24 11:57:34 +00:00
espie
91228bc7f3 Recognize empty @owner/@mode/@group correctly. 2001-08-23 09:13:19 +00:00
espie
efb1a6317b Some attempt at parsing the .orig files, to preserve @mode/@owner/@group
and misc. information.

Try to warn if non-reproducible stuff is found.
2001-08-18 13:11:10 +00:00
espie
3fc98296ac Oops. Seen by Flinn Mueller. 2001-05-24 16:47:59 +00:00
espie
d19ed8bd90 Smarter plist regen.
- back substitute VAR_SUBST (hence swap ARCH/MACHINE_ARCH)
- pass PKGDIR to make-plist.

- don't create PLIST-auto/PFRAG.shared-auto. Move originals around, and
create new ones directly (guard against accidentally deleting old ones).

Todo: add regexp to dispatch stuff to fragments automatically, based on
MULTI_PACKAGES.
2001-05-23 14:18:24 +00:00
espie
7b5e441497 Oh well. Need both stats under different circumstances, as found out
by Peter Stromberg.
2001-05-07 15:25:44 +00:00
espie
ebc57e0cb7 better stat. 2001-05-05 21:24:27 +00:00
espie
ce3e41c265 Warn for arch dependent names in PLIST.
No automatic correction, as this can be hard.
2001-03-24 12:14:38 +00:00
espie
79e5ed78ab Tell user to add directory to rc.conf here, instead of doing that in
every port that needs it.
2000-12-16 23:25:36 +00:00
espie
d510925065 Don't output shared libs in both PFRAG.shared and PLIST. 2000-07-08 18:09:10 +00:00
espie
5ddf68f635 Forgot %D in DYNLIBDIR. 2000-07-08 15:13:49 +00:00
espie
5e279084af Put shared libraries into a separate fragment. 2000-07-03 13:01:47 +00:00
form
f37eff7959 @unexec ldconfig -m -> @unexec ldconfig -R 2000-07-01 17:16:48 +00:00
espie
546489edf0 Let make-plist emit DYNLIBDIR/NEWLIBDIR directives. 2000-06-30 23:45:41 +00:00
espie
acb2e64fdb ldconfig substitution scripts for packing-lists. 2000-06-30 21:39:36 +00:00
espie
0243a5dea2 Fix nasty bug in make-plist:
if a new directory was found, it  is always marked for @dirrm.
But, if the directory is empty, nothing pertaining to it is recorded in
the PLIST... and thanks to pkg_*, we can't record directories in the PLIST.
So, just add an @exec mkdir -p   right in front of the @dirrm, up to
the port maintainer to decide whether the @exec mkdir/@dirrm pair is
justified or not (for the port at hand).
2000-04-17 21:00:56 +00:00
espie
2a525277b7 `Fake' infrastructure:
if a port sets FAKE=Yes, this means it can be `pre'-installed elsewhere,
with DESTDIR set to WRKINST (=work/fake-${ARCH} by default).

the infrastructure takes care of pre-install/do-install/post-install targets,
assuming those install stuff under PREFIX.

To help ports to cope with DESTDIR, you can set FAKE_FLAGS and FAKE_TARGET
(used for the fake installation).

Ports with FAKE=Yes are the way to go: they can be packaged directly without
a real installation, and the installation proceeds from the package, thus
forcing porters to check the package.
2000-03-03 21:24:50 +00:00
niklas
ea1c0a8940 Make it work under YP, and fix an obvious bug in an RE 1999-08-21 20:56:05 +00:00
espie
8ab55c64e5 buglet: install-info --delete to remove entries. 1999-07-29 14:01:12 +00:00
espie
06f2deceba Making automatic plists better:
- parse mtree file completely,
- find out which directories amongst modified dirs are really new,
- handle info files.
1999-07-29 13:51:51 +00:00
espie
b8c7c3aacc infrastructure framework: helper scripts and other stuff needed for
ports, long-term.
1999-05-18 16:39:02 +00:00