Commit Graph

272 Commits

Author SHA1 Message Date
espie
8285a069ca Add fetch-makefile to bsd.port.subdir.mk, mirror-maker to main Makefile.
Tweak fetch-makefile to take PERMIT_* into account, giving us the level
of control needed.
2000-03-04 18:16:02 +00:00
turan
9f73dffd75 Commenting stuff:
- pretty licensing
- pretty homepage
2000-03-04 18:08:32 +00:00
espie
bac666cf8a Sample scripts for fetch-makefile use 2000-03-04 17:58:32 +00:00
turan
d749ad403d remove trailing -n in make describe
pretty INDEX
2000-03-04 14:40:21 +00:00
turan
5fd5ee65d8 remove trailing | in make describe 2000-03-04 14:36:46 +00:00
turan
881504ae70 Move the test for the existance of license info up into the beginning
of fetch instead of the end of extract.  It only makes sense to do the
check in extract if we are checking the file that contains the license.
2000-03-04 08:35:47 +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
espie
3ebe7cbccf Mtree changes:
- don't record mtree in packages by default,
- don't run mtree on /usr/local or /usr/X11R6 by default,
- only use MTREE_FILE for plist.
- choose mtree based on PREFIX, since this is what matters.
2000-03-03 20:59:16 +00:00
espie
d51b0446da .bak.orig looks nicer than bak.orig 2000-03-03 20:41:11 +00:00
espie
41d7667013 Basic framework for fetching distfiles for mirrors. 2000-03-03 17:51:37 +00:00
turan
8eaddcf1e3 nix LICENSE_TYPE. This is much prettier now. 2000-03-03 14:23:10 +00:00
espie
11378f3d2b Simplify README.html, reuse last pattern instead of re-specifying it. 2000-02-28 18:13:18 +00:00
turan
38c5179942 two new license types
# DISTONLY:   May distribute the distfile only.
# NOMODIFY:   May not distribute ports that are modified in any way,
#             i.e, the package may not have any patches applied to it.
#             Precompiled packages are fine as long as they do not
#             change the original port.
2000-02-23 06:38:01 +00:00
espie
edba5cfedf MAKEFILE-> MAKE_FILE 2000-02-22 17:08:31 +00:00
espie
fc190877e5 Compute CKSUMFILES in two steps, use that to remove duplicates from
ALLFILES as well...
2000-02-22 14:07:09 +00:00
turan
425c843fcd minor tweaks 2000-02-22 09:27:51 +00:00
turan
1c26980582 make describe, blanks -> ?. typo as well 2000-02-22 09:18:36 +00:00
espie
4c723581ce Compute more of INDEX within make, without external test calls.
Re-indent rules correctly. Only the make tests are indented, the rule itself
still starts after one tab.
2000-02-21 23:53:52 +00:00
turan
73e1d63f8d licensing info in make describe.
make print-licenses target
2000-02-21 22:09:57 +00:00
espie
bbaf95cb8c The MAINTAINER variable is here to be used... 2000-02-20 17:05:40 +00:00
turan
d5bb6b6149 pretty license warning. louis@ 2000-02-19 04:16:23 +00:00
espie
625dd36ea1 Add show target, to be able to enquire about ports variable values. 2000-02-18 22:54:27 +00:00
espie
1eb5506332 Add HOMEPAGE to README.html 2000-02-15 18:19:12 +00:00
espie
4ac17780aa Be consistent in Yes, No.
Add new variables (WRKDIST, WRKSRC, HOMEPAGE), remove old stuff such as
PATCH_SITES.

Be very explicit in explaining about stuff that hardly ever works.
2000-02-15 18:18:10 +00:00
espie
c90ec7c699 Be more thorough in cd ${.CURDIR} && make...
Otherwise, this causes obscure bugs some of the time...
2000-02-15 17:58:32 +00:00
turan
eb9439da63 DISTF -> DISTFILES, PKG -> PACKAGE 2000-02-15 07:28:20 +00:00
brad
098a738afb remove the version number of bsd.port.mk that is specified beside
USE_LIBTOOL and bump the version number listed in the comment section
above it.
2000-02-15 07:05:59 +00:00
turan
7f621f0fea reflect DISTF -> DISTFILES, PKG -> PACKAGE 2000-02-15 05:17:22 +00:00
turan
e11523351e change description of NONE license. 2000-02-13 08:13:46 +00:00
turan
5b4a3fbb2c artistic license 2000-02-13 07:14:13 +00:00
turan
f8ee58bf77 cleanup. espie@ 2000-02-12 20:03:00 +00:00
turan
d3d79d5efd "lic1,lic2" -> "lic1 lic2" espie@ 2000-02-12 19:43:44 +00:00
espie
6aea87cf34 Warning message to stderr, to not interfere with other stuff. 2000-02-12 13:52:04 +00:00
turan
dc8ee597ce more doc 2000-02-12 09:24:30 +00:00
turan
1d168e9d66 cleanup 2000-02-12 08:08:58 +00:00
turan
c92e1e4f21 license framework minus checksums 2000-02-12 06:02:04 +00:00
espie
898da22d5e Remove NO_WRKDIR... The xview ports need a rewrite.
Document NO_WRKDIR as being a bad idea.
2000-02-12 01:00:28 +00:00
espie
c6da62630a Oops, left `build' line visible. 2000-02-12 00:49:17 +00:00
espie
b3ed337056 Change MAKE_FLAGS to remove the -f.
Actually reading the Makefiles proved that about one third of them was
confused about this already...
2000-02-12 00:43:57 +00:00
espie
91dd43bca4 Remove deprecated variables. 2000-02-11 01:11:00 +00:00
espie
2b44b9412b Remove WRKSRC work-around 2000-02-11 00:40:09 +00:00
espie
78bdb819c7 Bye, bye NO_WRKSUBDIR 2000-02-10 23:46:42 +00:00
espie
018d14a85f Repair package building.
Thanks to martin@ for reminding me...
2000-02-09 20:09:05 +00:00
espie
8b20f37bef and of course, nobody spotted the obvious typo in the patch I gave on
ports...
2000-02-09 00:54:33 +00:00
espie
7c8bf5098c Temporary work-around for ports that define WRKSRC manually... 2000-02-09 00:42:39 +00:00
espie
26704f504e Use DIRMODE to install dirs, avoid collisions with mtree
(keep a duplicate of DIRMODE until 2.7)
2000-02-09 00:26:32 +00:00
espie
9ecf27ba4f Introduce WRKDIST: place where stuff unpacks.
May be different from where source lives.
And from where build happens.

NO_WRKSUBDIR=Yes is equivalent to WRKDIST=${WRKDIR}, and not
particularly smaller, deprecated it.

Remove CLEANDISTORIG, use patch -b instead.
Note that DISTORIG ends in .orig to let rm *.orig still work...
2000-02-09 00:23:26 +00:00
espie
aa931bcd50 Kill ALL_HOOK, it's deprecated and unused. 2000-02-06 18:35:24 +00:00
espie
e971455139 Compute CKSUMFILES in a better way, to avoid duplicates.
Simplifies SUPDISTFILES choice: put everything that might ever be fetched
there, don't worry about duplicates.
2000-02-04 20:33:42 +00:00
espie
c24ad602d8 Defining ALLFILES in every case is much better... 2000-02-04 12:55:33 +00:00