Commit graph

53 commits

Author SHA1 Message Date
obache
d752f86e36 * add user-destdir installation support
* LICENSE=gnu-gpl-v2
2011-03-02 13:15:23 +00:00
wiz
f585727c65 Remove fuf.sh.cvut.cz from MASTER_SITES, doesn't resolve.
From Zafer Aydogan in PR 37333.
2007-11-12 00:09:15 +00:00
sborrill
e66a1df744 Fix HOMEPAGE link 2007-03-08 15:25:21 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
joerg
d26cf36e57 - fine grained X11 dependencies for packages which have either USE_IMAKE
or USE_X11BASE set, but don't include mk/x11.buildlink3.mk directly or
  via buildlink3.mks
- introduce BUILDLINK_PREFIX.libXpm as alias for BUILDLINK_PREFIX.xpm
  in the !modular case
- fix some cases where the check for libX11 couldn't work at all by using
  C++ for compilation without including the proper headers

Verified using a full X11_TYPE=xorg bulk build without additional
breakage. Discussed with salo@, wiz@ and send to packages@ for feedback.
2006-12-27 13:37:35 +00:00
joerg
58c3144236 Mechanically replace all includes of buildlink3.mk of the following
packages with the modular Xorg equivalent. Those are falling back
to the old location by default, so this commmit doesn't change
dependencies.

graphics/xpm ==> x11/libXpm
fonts/Xft2 ==> x11/libXft
x11/Xfixes ==> x11/libXfixes
x11/xcursor ==> x11/libXcursor
x11/Xrender ==> x11/libXrender
x11/Xrandr ==> libXrandr
2006-12-15 20:32:52 +00:00
rillig
0da60e0136 Changed the error message from PKG_SKIP_REASON to PKG_FAIL_REASON and
improved the text of the message.
2006-11-18 08:27:10 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
rillig
9984e0604a Removed trailing white-space. 2005-09-28 14:15:48 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2005-06-01 18:02:37 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
d81d19f8e0 Add RMD160 digests. 2005-02-24 12:51:41 +00:00
wiz
7129823311 Add patch from Michael Eriksson in PR 26438:
The patches for asapm to try sysmon if APM fails, only support battery
info in units of Watts and Watt hours. However, some machines like my
Compaq Presario X1007EA laptop uses units of Amperes and Ampere hours.

Bump PKGREVISION.
2004-07-26 23:25:19 +00:00
kivinen
ac997edf37 Fixed to work in NetBSD 1.6.* also. Tested on NetBSD 2.0 BETA
and NetBSD 1.6. Updated PKGREVISION and DESCR and MESSAGE
	texts.
2004-06-30 14:22:48 +00:00
kivinen
c6aa165b4e Fixed state of the ac online, it was reversed. 2004-06-09 22:22:09 +00:00
kivinen
e5dbcfd4fd Fixed the charging status checking, and do not give out
time estimate if discharge rate is negative.
2004-06-09 22:15:41 +00:00
kivinen
47e70bc2f4 Implemented support for envsys to get battery etc information
from acpi. Only tested on one laptop, I do not know whether
	the envsys names for the acpi devices are stable enough to be
	used, but I didn't find any other way to distinguish different
	things. As this laptop does not support apm, I hope it still
	works after these modifications.
2004-06-09 21:00:05 +00:00
snj
98ac1864ff Convert to buildlink3. 2004-04-25 03:20:40 +00:00
jlam
e8132b3fbf Relinquish maintainership of packages to tech-pkg@NetBSD.org. 2004-04-24 22:46:08 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
cjep
a3defbee44 Actually PKG_SKIP_REASON would be better -- suggested by wiz 2003-01-11 15:21:48 +00:00
cjep
49822a4c21 Use PKG_FAIL_REASON 2003-01-11 14:21:16 +00:00
jlam
a020ed9056 Merge packages from the buildlink2 branch back into the main trunk that
have been converted to USE_BUILDLINK2.
2002-08-25 21:50:52 +00:00
wiz
cecae409e5 Update to 2.11, with 'new' NetBSD-apm supported provided by Love.
[Patch from pkg/14550 applied in distfile.]
2001-11-26 19:55:40 +00:00
zuntum
1cf29af8b5 Move pkg/ files into package's toplevel directory 2001-10-31 22:48:50 +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
dff59f9ec3 x11.buildlink.mk needs to be included before any buildlink.mk files that
use X11_BUILDLINK_MK as a test value.  Generally just reordering the
inclusions so that x11.buildlink.mk comes before the other buildlink.mk
files will make everthing work.
2001-10-23 13:14:43 +00:00
jlam
63fc151cb9 Use x11.buildlink.mk instead of USE_X11. Also convert hard-coded references
to ${X11BASE} in the header and library search paths into references to
${LOCALBASE}/share/x11-links.  These packages should now be strongly-
buildlinked regardless of whether xpkgwedge is installed.

Changes well-tested on NetBSD-1.5X/i386 with and without xpkgwedge and
lightly-tested on NetBSD-1.5.1/alpha without xpkgwedge.
2001-08-29 22:41:00 +00:00
jlam
4fbbe1a38e Update asapm to version 2.10. Update the homepage location for this package,
convert to use buildlink.mk files, and mark as USE_BUILDLINK_ONLY.  Changes
from version 2.9 fix a small error in how event timing was assumed to occur.
2001-07-15 10:50:07 +00:00
agc
027c166bf7 Move to sha1 digests, and add distfile sizes. 2001-04-19 11:28:57 +00:00
agc
2d6b6a009c + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:43:32 +00:00
wiz
a87738b456 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:42:09 +00:00
wiz
d4fce8d4e7 Unify format of MESSAGEs, and include RCS Ids. 2001-02-06 14:24:03 +00:00
tron
f0b9164cf1 Use "USE_XPM" option instead of direct dependence on the "xpm" package. 2000-08-23 23:14:21 +00:00
agc
78748d628a Instead of the clunky SHOW_PKG_PREFIX, introduce an EVAL_PREFIX definition,
which takes entries of the format <make-definition-name>=<pkgname>. This
has not been added to MAKEFLAGS because (a) premature optimisation is the
root of all evil, and (b) because the .for loop used to implement this
shows the wrong results when multiple prefices are evaluated.

Modify all the package Makefiles to use EVAL_PREFIX, thereby simplifying
them considerably.

ALso simplify the logic to calculate the prefix as well.
2000-07-15 20:39:13 +00:00
agc
69cbb39071 The previous method of using a make target for finding a prerequisite
package's prefix would not work as part of the environment specification
via MAKE_ENV (as it would not be executed in the correct directory).

Fix this by invoking pkg_info(1) directly, not via an intermediate make(1)
step - this is not as clean, but more effective (i.e. it works).
2000-07-14 16:04:19 +00:00
agc
4aeac45f89 Make the determination of the pre-req package's installed directory be
a bit more user-friendly.

Introduce a show-{gtk+,imlib,kdebase,qt1,qt2,xpm}-prefix target in
bsd.pkg.mk, and use "${MAKE} show-*-prefix" in package Makefiles.
2000-07-11 14:53:35 +00:00
agc
1b0c8d610f Make these packages work better with xpkgwedge by using X11PREFIX in
preference to X11BASE, and by finding out where the xpm package is
installed by using pkg_info(1), not hardcoding a best guess.
2000-07-11 09:31:32 +00:00
dmcmahill
bdd6047b86 fix typo so these will build on apm capable systems 2000-07-06 21:09:38 +00:00
dmcmahill
a041b5627e only allow these packages on APM capable machines. 2000-06-26 16:44:20 +00:00
jlam
69b28afa11 Update asapm to 2.9. Changes from 2.7:
2.8	25 Nov 1999

	Fixed a bug reported by Hartmut M. Bromkamp <Bromkamp@istgmbh.com>
	".... But what really led me into some confusion
	is the fact that the -rc option doesn't work:
	Everytime I launch asapm by
	asapm -rc /root/.asapmrc
	it will only display its options and ceases...."
	This should at the same time fixed the bug that asapm
	did not understand '-fail' anymore (-f was used in the code
	instead of -rc).

2.9	19 Nov 1999

	Stephen Crane <jsc@darkstar.szyzygy.org> proposed the following:
	"I've attached a patch to asapm-2.7 to share or use the closest colours
	when creating the pixmaps.  (It would also be good to do this for the
	battery and other colours but I don't know enough X, yet.)  I need this
	for my graphically-challenged portable: I think it's better to go with
	ugly colours than do without the APM data."
	So here is the new version with his patch.
2000-01-16 18:37:05 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
jlam
27f5d6f861 Update asapm to 2.7. Minor changes in color options. 1999-10-06 22:54:20 +00:00
jlam
d3a29d390f Update patch sums. 1999-07-12 00:05:48 +00:00
jlam
8d9501c5bf * Disable check for (unused) JPEG libraries.
* Make ELF-aware.
1999-07-12 00:04:57 +00:00
agc
00a16e3008 Add package patch checksum files. 1999-07-09 14:22:59 +00:00
tv
5c60ed5794 Change {ONLY,NOT}_FOR_{ARCH,OPSYS} format to {ONLY,NOT}_FOR_PLATFORM
pattern match format.  Minor pkglint along the way.
1999-05-24 20:39:35 +00:00