Commit graph

48 commits

Author SHA1 Message Date
dholland
ec89ed03ba DESTDIR support; partly from pkg/40304 2009-11-15 01:29:33 +00:00
joerg
ff3e9081a2 When using modular Xorg, pass down --x-libaries, otherwise -L gets
used without argument.
2009-10-07 15:38:03 +00:00
joerg
4bd41386e5 Remove @dirrm entries from PLISTs 2009-06-14 17:56:38 +00:00
obache
77cfdab783 Fixes typo ,it rise build failure on Solaris.
Noticed by Tim Larson in PR 40304.
2009-01-03 12:37:08 +00:00
wiz
a7c8e0cd61 Reset maintainer on his request. 2008-01-19 09:16:17 +00:00
joerg
161c920c15 Prepare for switching to NO_MTREE=yes. 2007-03-24 19:21:18 +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
tron
5ee779e705 Reorder "#include" statements and include "string.h" in various files
to make this build with GCC 4.x.
2006-07-02 14:36:19 +00:00
jlam
6ad6aef9d4 Replace references to ossaudio.buildlink3.mk with oss.buildlink3.mk.
Remove deprecated ossaudio.buildlink3.mk.
2006-03-09 21:04:39 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
joerg
1a61430cc1 Add DragonFly support. Install sound server under libexec/, no need
for OS suffix. Bump revision.
2006-01-13 02:02:50 +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
77933d7da5 Removed unnecessary and overly complicated definition for WRKSRC. 2005-11-05 17:15:52 +00:00
minskim
9cd1a33a09 Honor GAMEOWN, GAMEGRP, GAMEMODE, and GAMEDATAMODE. 2005-06-14 17:56:41 +00:00
jmmv
6b357b2b1a Fix build under Linux by removing local strdup(3) prototype and by using
LIBOSSAUDIO instead of hardcoding -lossaudio.  Closes PR pkg/29492 by
A L Meyers.
2005-06-14 17:32:36 +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
tron
2609ea1dee Get rid of the ridiculous distribution filename "incoming" by fetching
it as "xgalaga-2.0.34.tar.gz" from "${MASTER_SITE_LOCAL}". Now that the
project has been deleted on SourceForge the distribution file is likely
going to disappear from there, too.
2004-04-11 11:50:03 +00:00
tron
844b185371 Remove URL for non-existing home page. 2004-04-11 11:45:22 +00:00
snj
986127a459 Use bl3. 2004-03-09 23:19:19 +00:00
agc
dc52048e01 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:07:06 +00:00
xtraeme
5192ae0297 There is no reason to install xgalaga into ${X11PREFIX}, so
s/USE_X11BASE/USE_X11/ and move WRKSRC to silence pkglint.

Provided by Soren Jacobsen in PR pkg/23456.

Bump PKGREVISION.
2003-11-18 14:20:43 +00:00
hubertf
d4d2bde295 Adjust to new home on sourceforge 2003-09-10 13:03:42 +00:00
wiz
76f3a84268 Convert to buildlink2. Remove invalid MASTER_SITES and HOMEPAGE. 2002-10-21 12:16:29 +00:00
jlam
0c6c7bc89b Use GNU_CONFIGURE_PREFIX instead of HAS_CONFIGURE workaround. 2002-06-23 03:54:30 +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
hubertf
5542206cba Get rid of manually adding "nbX" to PKGNAME when a pkg was changed in
pkgsrc. Instead, a new variable PKGREVISION is invented that can get
bumped independent of DISTNAME and PKGNAME.

Example #1:
        DISTNAME=       foo-X.Y
        PKGREVISION=    Z
     => PKGNAME=        foo-X.YnbZ

Example #2:
        DISTNAME=       barthing-X.Y
        PKGNAME=        bar-X.Y
        PKGREVISION=    Z
     => PKGNAME=        bar=X.YnbZ (!)

On subsequent changes, only PKGREVISION needs to be bumped, no more risk
of getting DISTNAME changed accidentally.
2001-11-29 01:12:24 +00:00
zuntum
37637e483f Move pkg/ files into package's toplevel directory 2001-11-01 00:47:39 +00:00
hubertf
6785675414 fix PKGNAME... one of these days i'll gonna add a PKGREVISION variable. :/ 2001-09-10 01:08:54 +00:00
hubertf
9da3f798b4 forgot to commit these files 2001-09-10 01:03:28 +00:00
hubertf
79dce68c89 Add sounds support.
Patches submitted by Rui-Xiang Guo <rxg@ms25.url.com.tw> in PR 13893
2001-09-08 00:09:10 +00:00
jlam
c4e71c5e7a CPPFLAGS is now passed to MAKE_ENV and CONFIGURE_ENV by bsd.pkg.mk, so
adapt by moving CPPFLAGS settings to top-level, and removing explicit
inclusion of CPPFLAGS into MAKE_ENV and CONFIGURE_ENV.
2001-06-11 06:34:17 +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
bad
a69e602dbd Make this work with xpkgwedge. 2001-03-26 14:45:09 +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
tron
f0b9164cf1 Use "USE_XPM" option instead of direct dependence on the "xpm" package. 2000-08-23 23:14:21 +00:00
agc
81b366ad5e Use X11PREFIX in preference to X11BASE when installing files, so that this
package cooperates better with xpkgwedge.
2000-07-11 08:43:53 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
agc
a910a6fd62 Add package patch-sum files 1999-07-09 13:50:05 +00:00
agc
f6473207ca Replace all occurrences of USE_X11 with USE_X11BASE. This means "install this
package into ${X11BASE}".
Replace all occurrences of BUILD_USES_X11 with USE_X11. This means "use X11
headers and libraries to build this package".
1999-01-30 23:18:44 +00:00
tsarna
5e9cc577b8 Automatically append HOMEPAge to DESCR files, and remove homepage URLs
from individual DESCR files that had them.
1998-08-26 16:50:48 +00:00
tsarna
6bd0d65c65 The Grand Homepagification:
- New, optional Makefile variable HOMEPAGE, specifies a URL for
	  the home page of the software if it has one.
	- The value of HOMEPAGE is used to add a link from the
	  README.html files.
	- pkglint updated to know about it.  The "correct" location for
	  HOMEPAGE in the Makefile is after MAINTAINER, in that same
	  section.
1998-08-20 15:16:34 +00:00
agc
05b88260d7 Add NetBSD RCS Ids. 1998-08-07 13:16:49 +00:00
agc
86db14e819 Add NetBSD RCS Ids. 1998-08-07 10:35:47 +00:00
frueauf
33ffed6757 Initial addition of xgalaga-2.0.34, a very fast true-to-the-original port
of galaga for X11. Closes pr 5882 by Tim Rightnour.
1998-08-01 13:25:28 +00:00