Commit graph

58 commits

Author SHA1 Message Date
joerg
208b5d3e37 DESTDIR support 2010-01-29 20:15:46 +00:00
joerg
b4eed73fe5 Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 19:10:35 +00:00
joerg
4bd41386e5 Remove @dirrm entries from PLISTs 2009-06-14 17:56:38 +00:00
joerg
3d8ef5a52d Second round of explicit pax dependencies. As reminded by tnn@,
many packages used to use ${PAX}. Use the common way of directly calling
pax, it is created as tool after all.
2008-05-26 02:13:14 +00:00
wiz
a7c8e0cd61 Reset maintainer on his request. 2008-01-19 09:16:17 +00:00
rillig
2eb6f8052b The installed directories must be readable for the user who installs the
package. Otherwise it is not possible to install this package as
unprivileged user.
2007-10-04 22:54:58 +00:00
joerg
044cff0902 Modular Xorg support. 2007-02-02 00:55:15 +00:00
wiz
f5b8945cb9 Update MASTER_SITES and/or HOMEPAGE, from Sergey Svishchev. 2006-10-04 21:35:58 +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
2703140c97 - Fixed pkglint warning:
WARN: Makefile:25: CONFIGURE_ARGS should be modified using "+=".
- Removed redundant --prefix=${PREFIX}.
2005-11-10 06:30:53 +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
8cef6c454b Add RMD160 digests. 2005-02-23 23:11:54 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
snj
e6ad5ccb07 USE_BUILDLINK3=yes. 2004-04-12 04:39:59 +00:00
xtraeme
58ef723b39 bl3ify 2004-03-30 09:16:40 +00:00
jlam
3ac2d4b8aa In the new compiler selection framework, GCC_REQD is appended to, not
overridden.
2004-02-01 01:43:28 +00:00
kristerw
800de69100 Use GCC_REQD instead of USE_PKGSRC_GCC when overriding the compiler
for arm, so that we don't need to install the gcc package(s) on
machines that already have a working compiler in their /usr/bin.
2004-01-25 16:22:15 +00:00
wiz
900a181a24 Replace USE_NCURSES with appropriate INCOMPAT_CURSES. 2004-01-23 23:42:01 +00:00
jlam
a9f08159c4 Back out last change related to moving ncurses/buildlink2.mk to
curses.buildlink2.mk.  This was wrong because we _really_ do want to
express that we want _n_curses when we include the buildlink2.mk file.

We should have a better way to say that the NetBSD curses doesn't
quite work well enough.  In fact, it's far better to depend on ncurses
by default, and exceptionally note when it's okay to use NetBSD curses
for specific packages.  We will look into this again in the future.
2003-09-28 09:13:55 +00:00
grant
7a71199b50 move ncurses/buildlink2.mk to mk/curses.buildlink2.mk, as it provides
support for base system curses/ncurses as well as ncurses itself.

suggested by wiz.
2003-09-27 17:07:34 +00:00
grant
40614d0b3c get rid of USE_GCC2/3 in pkg Makefiles, and set GCC_REQD or
USE_PKGSRC_GCC as appropriate, as this is handled by compiler.mk now.
2003-09-17 19:39:58 +00:00
wiz
c461a735fd Update to 3.0.3, based on PR 22805 by Peter Seebach.
New in 3.0.3:
# Reduced the size of the 32x32 tiles bitmap. The smaller bitmap
  should fix the problem on older Windows versions (Windows 95 and
  98) with restrictions of the maximal bitmap size . The tiles are
  available as a separate download from:
  ftp://clockwork.dementia.org/angband/Extra/graf-32x32-302.zip.
# Fixed a bug in the text-output routines used for character dumps
  that sometimes introduced bogus output. (reported by Pasi Vartiainen)
# Fixed a wrong entry in the template for the X11 startup shell
  script. ("Mynstral")
# Fixed the display of *slays* in character dumps. (Matthias Kurzke)
# The "It might have hidden powers." message will now displayed in
  the character dumps. This makes it easier to see if an artifact or
  ego-item with random abilities has already been *identified*.
# Curses on unidentified items are no longer revealed in character
  dumps or in the output of the 'Inspect' command.
# Fixed a typo - "intellegence". (Greg Stark)
# Updated the DOS version to compile with the latest version of
  the Allegro library.
New in 3.0.2:
# Limited the maximum size of floor stacks to 23, so that get_item()
  can always display a list containing all objects.
# Renamed 'genocide' to 'banishment' and 'mass genocide' to 'mass
  banishment' since that name fits much better to the effect. The
  priest's 'banishment' spell has been renamed to 'banish evil' to
  avoid confusion and since that is what it actually does.
# Replaced silver arrows and bolts with mithril ammo since slay
  evil was too powerful.
# Changed the color of seeker bolts to green since there are so
  many 'light blue' ammo objects now.
# 'Golden staves' had the wrong color. (John I'anson-Holton)
# Improved indentation of the object descriptions in the character
  dump. (Andrew Sidwell)
# Destruction/Earthquake spells didn't properly destroy stacks of
  objects. After saving and loading the game, parts of the stacks
  were restored. (reported by Matthias Kurzke)
# Zapping a stack of recharging rods would instantly recharge all
  but one of them. (Tormod Haugen)
# Fixed an error in the LCC Makefile.
# Fixed an off-by-one error that prevented savefiles with the
  maximum number of monsters or objects from loading correctly.
  (Takeshi Mogami)
# Fixed an abuse that allowed the player to kill a monster with a
  ball spell by staying out of sight and detection range of the
  monster while the monster just patiently waited without ever getting
  a turn (reported by Tormod Haugen). Wounded monsters will now always
  get their turn, even when out of range.
# The Elfstone 'Elessar' and the Jewel 'Evenstar' have the INSTA_ART
  flag now to make the APW-Borg happy.
# Amulets of resistance are now fully known after identifying one
  for the first time. (Dr. Andrew White)
# The option for flushing of pending input when failing to cast a
  spell didn't work.
# Fixed several bugs in the scorefile handling that could lead to
  duplicated entries for a single character. (reported by Hallvard
  Furuseth and Mauro Scarpa)
# Unified the code for object infos and artifact spoilers. (Andrew
  Sidwell)
# Added event-handler code to call Lua functions when things happen
  in the game.
# Allow multiple Lua event handlers per event.
# Moved the generation of the player's fixed starting equipment
  (food and torches) to a Lua event handler.
# Which objects a store will buy and sell is now determined by a
  Lua script.
# Added various improvments to make finding errors in Lua code
  easier.
# The lib/edit/*.txt files can now optionally contain the names of
  the default object, monster, terrain, and flavor colors instead of
  just a character specifying the Angband color code.
# Changed the format of the flavor.txt file to make parsing easier.
# Allow the use of the Angband version number in conditional
  statements of the *.prf file format.
# Added Takeshi Mogami's bigtile patch that allows tile-graphics
  to have doubled width.
# Added support for David Gervais' 32x32 tileset to the Windows,
  X11, and XAW ports. The tiles are available as a separate download
  from: ftp://clockwork.dementia.org/angband/Extra/32x32.zip (Takeshi
  Mogami)
# Improved the error message when a font can't be loaded in the
  X11 and XPJ frontends.
# Fixed a memory leak when switching between the various tilesets
  in the Windows version.
2003-09-15 13:58:37 +00:00
grant
ac2754dcb7 kill all references to gcc.buildlink2.mk and compiler.mk, and define
USE_GCC2 or USE_GCC3 where appropriate.

the functionality of the old gcc.buildlink2.mk has been rolled into
compiler.mk now, which is automatically used.

more changes to come later...
2003-09-12 20:07:06 +00:00
wiz
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +00:00
abs
fb6c29f8bf Update for the fact that 'arm' ports have been called NetBSD-*-arm for a while
now and not NetBSD-*-arm32. Changes include one or more of:
    - Change MACHINE_ARCH == arm32 to also match arm
    - Where ONLY_FOR_PLATFORM includes NetBSD-*-arm32, add NetBSD-*-arm
    - Where BROKEN or worked around for arm gcc bugs, set USE_GCC3
The last may shake out a few more broken packages the next bulk build.
2003-06-11 20:50:50 +00:00
abs
0de8869fb4 Use mk/gcc.buildlink2.mk rather than gcc/buildlink2.mk so lang/gcc3
is accepted. Suggested by Grant.
2003-06-02 14:05:00 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
grant
dc40bcec01 make usage of pax more consistent, use -O to bomb on broken archives
(suggested by lukem), group z, r and f flags.

some whitespace cleanup.
2003-04-10 20:10:15 +00:00
grant
a86ee8f204 drop some parens, fix whitespace. 2003-04-10 19:43:19 +00:00
agc
2c2c675ea8 Use -O to tell pax(1) that there is only 1 volume in the angband spoilers
file. This is a workaround for what seems like a tar archive produced by
GNU tar not being able to be read by our pax(1).
2003-01-26 10:30:50 +00:00
wiz
0fd75d0851 Note in USE_NCURSES variable which functions actually are missing for this
to build with native curses.
2003-01-24 13:36:17 +00:00
jlam
e079187f9f Use gcc/buildlink2.mk instead of Makefile.gcc 2002-09-29 06:32:37 +00:00
wiz
e8817c9088 Complete standardization of messages according to latest pkglint. 2002-09-24 12:29:55 +00:00
jschauma
82f26389a3 Beautify: correct tab-stops. 2002-08-16 02:50:02 +00:00
jschauma
81db7a193e Remove patches that are no longer needed after most recent update. 2002-08-01 14:08:30 +00:00
jschauma
c2d6993501 Update angbadn-x11 to 3.0.1 as suggested in PR pkg/17605. Some modifications
to the suggested Makefile by myself.

Our previous version was 2.8.3, so the list of changes is rather extensive.
A complete list is available on the packages homepage.

Highlights include (as far as I can tell, not being a user of this package):
- the usual feature enhancements and bug-fixes
- randomized character generation
- improved monster AI
- color coded messages and more sound events
- lots of environmental, monster and player changes
- new MASTER_SITE
- new HOMEPAGE
2002-07-26 22:06:46 +00:00
cjep
5eec73ce2e Backout previous arm32 change and redo somewhat more elegantly... 2002-04-20 15:04:47 +00:00
cjep
17e043cf4b On arm32 use gcc-2.95.3 to avoid internal compiler error.
Pass CC to make in the environment.
2002-04-20 13:08:41 +00:00
wiz
43ab952add Don't abuse PATCHFILES, copy patches from angband-tty instead.
Addresses part of 15717.
2002-03-18 15:30:15 +00:00
skrll
08bdd44549 mkdir -> ${MKDIR}
rmdir -> ${RMDIR}
rm -> ${RM} (${RM} added to PLIST_SUBST)
chmod -> ${CHMOD}
chown -> ${CHOWN}
2002-02-15 10:12:28 +00:00
agc
ccff9099bc Modify all references to PKGSRCDIR to _PKGSRCDIR, except in the external
references of the pkglint package.

_PKGSRCDIR is an internal definition in bsd.pkg.mk, and a few packages
which would like to refer to other packages in the build tree. It should
not be set by users, but neither should it stop a user from building a
package if it is defined, so make it obvious that this is the case.
2001-12-15 20:25:34 +00:00
zuntum
37637e483f Move pkg/ files into package's toplevel directory 2001-11-01 00:47:39 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00
wiz
daff086c30 Move to sha1 digests, and/or add distfile sizes. 2001-04-21 02:08:16 +00:00
agc
fb467f5ac2 + 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:22:34 +00:00
wiz
9f28a7693e Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 15:10:41 +00:00
wiz
9f1ec65bbb Fix typo, add RCS Id. 2001-01-29 11:38:58 +00:00
wiz
b094294559 Install spoiler files, as requested in pkg/8341; sort PLIST. 2000-09-11 00:22:23 +00:00