Commit Graph

114 Commits

Author SHA1 Message Date
niklas
99067a152b Add deinstall to target we recurse on 1999-07-30 08:57:39 +00:00
espie
4f962f5a27 Another if -> case conversion 1999-07-29 15:41:47 +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
c772f75f0a Remove more subshells and inefficient constructs.
fold clean-depends like depends-list
1999-07-28 13:02:15 +00:00
espie
b3c843ef72 Optimizations:
- if cd construct >/dev/null
- prefer case to if [ ... ]
- remove unneeded subshells
1999-07-28 12:56:15 +00:00
espie
e5b3930ae6 - fix up templates location so that readmes should be functional.
- provide error location for failing recursive dependency computation.
- remove hard-coded limit on topdir, always try to use make package-name
and fall back on directory name otherwise.
1999-07-28 12:40:56 +00:00
espie
53892028da Optimize package-depends and depends-list.
Shave about 10% off make index.
1999-07-28 00:25:38 +00:00
espie
c08980492b Let do-patch be more useful in case of failure.
- says which patch fails,
- go on applying other patches before failing globally.

This helps for quickly updating ports.
1999-07-27 22:12:26 +00:00
espie
a9755d3ecd Run mtree before creating the INSTALL_PRE_COOKIE.
Since that cookie is only used for automatically creating plists,
and since mtree information does not belong in the plist (duplicates...),
this was a definite bug.
1999-06-24 18:39:48 +00:00
espie
283102788b test -h -> test -L 1999-06-24 17:31:16 +00:00
brad
4812ae237b remove ftp.jimpick.com and add some additinal mirrors to MASTER_SITE_GNOME 1999-06-13 03:50:51 +00:00
espie
c03c134a34 Use egcs if it exists in-tree. 1999-06-04 15:32:05 +00:00
espie
e01c21db04 Remove redundant OpenBSD tag. 1999-06-04 15:28:58 +00:00
espie
205e4a82cb USE_AUTOCONF is more a part of make patch' than a part of make
configure'.

Special-case it so that it gets run right after post-patch, but before
configure.
1999-06-02 15:44:50 +00:00
rohee
ad0e865784 cleaner 1999-05-28 19:21:42 +00:00
espie
7a7d20d5a9 Force commit. These are `new' files actually.
Like FreeBSD, we transfer ownership of ports specific stuff outside
of /src.

The cvs files were copied to make it simpler to track history.
1999-05-25 20:38:33 +00:00
brad
5e86217903 - add a few more dist sites to MASTER_SITE_GNU
- add MASTER_SITE_AFTERSTEP and MASTER_SITE_WINDOWMAKER for the master
and mirror sites of two popular window manager suites
- add MASTER_SITE_TCLTK which is Tcl/Tk master sites
1999-05-23 22:45:15 +00:00
brad
0871c39a19 add news user to eventually be used by leafnode 1999-05-18 17:19:53 +00:00
espie
6ca4907bb7 put back Bruno's USE_LIBTOOL addition.
Note that SUPDISTFILES/SUPPATCHFILES is documented.
1999-05-18 16:46:39 +00:00
espie
676a32d7d2 Stub documentation. 1999-05-18 16:43:16 +00:00
espie
b8c7c3aacc infrastructure framework: helper scripts and other stuff needed for
ports, long-term.
1999-05-18 16:39:02 +00:00
brad
824844b829 add USE_ZIP for distfiles that use zip (.zip) for its packaging instead of
tar and add USE_BZIP2 for distfiles that use bzip2 (.tar.bz2) for
compression instead of gzip.
1999-05-14 04:38:36 +00:00
brad
2ec9c91829 change email address of maintainer to ports-admin@openbsd.org 1999-05-10 21:35:25 +00:00
rohee
463908e3f8 USE_LIBTOOL from NetBSD 1999-05-04 18:12:24 +00:00
espie
365dccdb1d IMPORTANT CHANGE:
depends-list and package-depends now give out output suitable for tsort,
so they are INCOMPATIBLE with the previous version.

PACKAGE_NAME_AS_LINK disappears, functionality is replaced by
FULL_PACKAGE_NAME, which makes more sense anyway.

*This does fix the package dependencies problem*

Still missing: mechanism to output a decent error message in case tsort
finds out a cycle.
1999-04-20 18:22:56 +00:00
espie
3a65409fc1 FIND as a known program 1999-04-20 18:09:37 +00:00
espie
4972dbff39 remove weird restriction on package repository name, and make delete-links
safer.
1999-04-20 18:06:40 +00:00
espie
a28555f7ca Add SUPDISTFILES/SUPPATCHFILES functionality:
files that are not always needed for all builds, but that must be fetched
for maintainance purposes (makesum, mirror...)

Not to use for intl/usa programs, probably...
1999-04-20 18:04:27 +00:00
marc
1896b8f422 shit: egcs-stable is in LANG, not DEVEL 1999-04-10 07:48:53 +00:00
marc
95a5061506 Fix library dependency test for arch-es that don't
suppport shared libs so building tk80, for example, doesn't
cause tkl80 to get built even thouth it
is already installed.  Update list-distfiles target
1999-04-06 19:14:41 +00:00
marc
da0e292cee add list-distfiles target to help me build/update the LICENSE file 1999-04-02 06:55:56 +00:00
marc
aa5ff3fb17 add obj target that works in conjuction with WRKOBJDIR;
code from op21@squish.org
1999-03-30 07:12:05 +00:00
marc
1ac781eebc arrgghhh! do NOT add pkgdep lines when creating PLIST-auto;
(I thought I had already removed this quite a while ago).
1999-03-24 01:13:44 +00:00
espie
72aa22b8dc tell gnu configure packages to stuff their files under /etc. 1999-03-16 23:35:37 +00:00
rohee
6b26f372de Adding ${MASTER_SITE_GNOME} and ${MASTER_SITE_KDE} 1999-03-14 15:19:05 +00:00
marc
eb1948bcc4 pass COPTS in CFLAGS for those ports that do not override CFLAGS;
NOTE: Some (most?) ports override CFLAGS.  This includes all ports
that use imake.  Therefore this change is not as useful as it should be.
1999-03-10 23:22:19 +00:00
espie
c4ee42a0d1 Fix makesum/addsum batch behavior 1999-03-05 16:32:49 +00:00
espie
243325ff0d Replace md5 checksum with a choice of sha1, rmd160, md5.
Upward compatible.
1999-03-03 18:18:46 +00:00
marc
b068b620ca Remove . from the path passed to configure;
adjust the configure script path appropriate for SEPARATE_BUILD;
this seems to work for all ports, some ports had probs with earlier
changes
1999-03-03 04:16:03 +00:00
marc
805a2321b0 Note that NO_SHARED_LIBS can not be tested until after
bsd.port.mk is included; define CONFIGURE_SHARED that is set to
either --enable-shared or --disable-shared depending upon the
architecture.
1999-03-01 19:44:18 +00:00
espie
80b53dca30 Work around some broken Configure (such as elm) which don't work correctly
when they're invoked with an absolute path.
This was introduced by the WRKBUILD/WRKSRC split.

So:
- replace default CONFIGURE with a full path, so that you can override it.
- remove leading ${WRKSRC} from the configure invocation.
- add . to the configure path.
1999-03-01 18:44:04 +00:00
espie
53a94e23e7 * make the _PORT_USE macro more explicit and less magic in its use of
cookies, so that cookie names are no longer hard-coded.
* new SEPARATE_BUILD feature: for ports that can build outside their source
tree, use build-${ARCH} to build, and move configure/build/install cookie
down inside build-${ARCH}.

Those few people who use NFS to mount ports tree around different
architectures may find this helps.
1999-02-28 23:23:47 +00:00
rohee
e96afefbd9 sunsite.unc.edu changed its name to metalab.unc.edu + French mirror 1999-02-27 18:28:13 +00:00
marc
46f23475d0 Do not include @name or @cwd in packing lists created by the plist target;
they are not necessary as the proper names are generated when
the package is installed; including them only adds work as they
must be verified and changed when the port changes; thanks to
fgsch@ for bringing this up
1999-02-24 20:15:48 +00:00
espie
38507dd5f1 Declare phony target as phony targets. This may avert a few subtle bugs,
and it documents behavior as well.
1999-02-24 12:34:46 +00:00
espie
dc29b071db internalize NEED_VERSION sub macros to avoid getting tangled with
user macros.
1999-02-21 00:50:28 +00:00
marc
a9d5d5a455 Follow up on espie suggestion: don't allow package registration
(following installation) if the COMMENT exceeds 60 characters
1999-02-21 00:01:30 +00:00
marc
937ad7ba56 display ${PKGDIR}/MESSAGE after install (if it exists);
use cat(1) instead of more(1), though, so the port need not be
marked as interactive;  problem noted by fgsch@openbsd.org
1999-02-18 19:22:45 +00:00
marc
aa9de267e1 use NO_SHARED_LIBS in lib-depends target instead of
testing specifically for the alpha
1999-02-18 00:01:47 +00:00