Commit graph

35 commits

Author SHA1 Message Date
wiz
9236d32085 DESTDIRify nethack. Merge patches and distinfo. Some other improvements.
From Rhialto in PR 45010.
2011-06-01 11:20:29 +00:00
joerg
2bdd76fc31 Use META_PACKAGE. 2009-04-08 23:02:08 +00:00
joerg
f605fec2db Mark as destdir ready. 2008-07-14 12:55:56 +00:00
jlam
ae9b935fd0 * If PLIST_SRC is explicitly set to an empty value in a package Makefile,
then automatically generate a PLIST that says "${PKGNAME} has no files".

* If PLIST_SRC and GENERATE_PLIST are not set in a package Makefile,
  and no PLIST files exist, then fail during the package build with
  PKG_FAIL_REASON.

* Remove "intentionally empty" PLISTs again.

Now, the easy way to say that a package installs no files is to just
add the following to the package Makefile:

	PLIST_SRC=	# empty
2007-10-25 22:00:39 +00:00
jlam
38c496d6c0 Re-add "intentionally empty" PLISTs for meta-packages and other packages
that directly manipulate empty PLISTs.

Modify plist/plist.mk so that if the PLIST files are missing and no
GENERATE_PLIST is defined, then the package fails to build.
2007-10-25 17:49:45 +00:00
jlam
56ba4d2690 Remove empty PLISTs from pkgsrc since revision 1.33 of plist/plist.mk
can handle packages having no PLIST files.
2007-10-25 16:54:26 +00:00
joerg
3bc381ba1f Play nicer, don't require exact (nb) version matches. The same
base version is good enough. Bump revision.
2006-05-26 19:22:49 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
wiz
768c589c29 Bump BUILDLINK_RECOMMENDED of textproc/expat to 2.0.0 because
of the shlib major bump.
PKGREVISION++ for the dependencies.
2006-01-24 07:31:52 +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
wiz
dfbf9bfb33 Depend on current pkgsrc version of nethack-*; bump PKGREVISION. 2005-09-22 14:55:07 +00:00
grant
e720c400e2 depends should be ../../<category>/<pkg> 2005-07-19 10:11: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
wiz
ce8f648141 Fix depends. 2004-10-28 11:51:04 +00:00
markd
f274a8266d Fix problems building nethack-qt seen in the bulkbuilds by switching
from qt2 to qt3.
Bump PKGREVISION.
2004-09-11 13:38:46 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
jmc
1b7292f8cc Rework to not do configure/patch rules if NO_CONFIGURE or NO_BUILD is set 2003-04-24 22:14:36 +00:00
wiz
28a4483bc7 NO_PATCH is deprecated, says pkglint. Remove it. 2003-03-28 21:14:10 +00:00
wiz
e8817c9088 Complete standardization of messages according to latest pkglint. 2002-09-24 12:29:55 +00:00
pooka
29b9470af3 Make the name of nethackdir contain version information (eg. now it's
called nethackdir340). This is to ease the lives of people who wish to
have multiple versions nethack installed at the same time. It is not fully
automated, because doing pkgsrc magic will most likely screw things up
one funny way or another. And we all know that the most important thing
in this world is the nethack scorefile ...

Manually bump version to 3.4.0nb1.
2002-03-25 20:32:23 +00:00
wiz
92966472d8 Wildcard dependency. 2002-03-14 00:41:19 +00:00
fredb
b48eba1112 Give all packages which depend on "png" a version bump, and update
all dependencies on packages depending on "png" which contain shared
libraries, all for the (imminent) update to the "png" package.
[List courtesy of John Darrow, courtesy of "bulk-build".]
2002-03-13 17:36:35 +00:00
zuntum
37637e483f Move pkg/ files into package's toplevel directory 2001-11-01 00:47:39 +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
d4fce8d4e7 Unify format of MESSAGEs, and include RCS Ids. 2001-02-06 14:24:03 +00:00
pooka
423d932718 Upgrade nethack to 3.3.1. Add Makefile.common to easy future upgrades.
This release contains numerous fixes to bugs in 3.3.0 and users are advised
to upgrade.

Note that old savegames and bones files won't work anymore.
2000-08-10 17:50:04 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
pooka
c3b8ad7ebc Update the Nethack package to 3.3.0. nethack-qt will be non-functional
until we get qt2.0 or greater into pkgsrc.
1999-12-24 22:29:58 +00:00
soren
3a94a4cd47 Use a relative path for bsd.pkg.mk instead of relying on the search path. 1999-09-28 20:40:02 +00:00
garbled
c216c41c0a add USE_X11=yes 1999-04-26 18:38:28 +00:00
hubertf
e7b9b87daa Rename package to nethack-all-3.2.2 to avoid any conflicts with the other
nethack package.
1999-04-05 18:57:31 +00:00
frueauf
7138d002c5 Some more for pkglint. 1998-11-12 23:34:30 +00:00
garbled
4df9447d19 Add a nethack meta-pkg to build and install all three versions of the game. 1998-08-29 12:55:17 +00:00