Commit graph

52 commits

Author SHA1 Message Date
joerg
5571387762 Modular Xorg support. 2007-02-19 18:40:44 +00:00
joerg
c8847db9f3 CHECK_WRKREF_SKIP is already relative to PREFIX. 2006-12-06 16:42:20 +00:00
jlam
ec7d891941 * Remove *.orig files prior to installation so that they aren't installed
during the install phase.

* Remove *.orig entries from the PLIST.

* Move info file entries to the PLIST.

Bump PKGREVISION to 4 for PLIST changes.
2006-03-31 15:34:44 +00:00
jlam
6e0c050321 * Teach the tools framework how to supply the pkgsrc version of
makeinfo if no native makeinfo executable exists.  Honor TEXINFO_REQD
  when determining whether the native makeinfo can be used.

* Remove USE_MAKEINFO and replace it with USE_TOOLS+=makeinfo.

* Get rid of all the "split" argument deduction for makeinfo since
  the PLIST module already handles varying numbers of split info files
  correctly.

NOTE: Platforms that have "makeinfo" in the base system should check
      that the makeinfo entries of pkgsrc/mk/tools.${OPSYS}.mk are
      correct.
2006-03-05 16:27:22 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
joerg
c05f839a89 Make this compile on DragonFly in the hope that also means that it is
as usable as Emacs can be.
Fix errno. Use ${LOWER_OPSYS} instead of hard-coded OS name and pass
the pass to canna lib to configure. The first fixes !NetBSD, the latter
triggers addition of rpath entries for libcanna.
2006-01-04 20:35:08 +00:00
wiz
f09aca0657 Regen patches in diff -u format.
Replace files/info.patch with usual patch files and a post-install fix.
2005-12-01 18:13:24 +00:00
wiz
52f9b84fd7 Replace superfluous exec/unexec pair with an additional PLIST entry. 2005-12-01 18:12:11 +00:00
wiz
fbd53c3152 Convert to options framework. 2005-12-01 17:34:41 +00:00
reed
5ec12059d7 Append "/man1" for the --mandir switch.
This is not normal, but the source's configure and Makefile.in
assume this.
2005-11-04 19:30:00 +00:00
markd
e8fbf2c45a Quieten CHECK_WRKREF. The build PATH in the dumped mule is not a problem. 2005-06-30 10:20:49 +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
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
01907502f3 Add RMD160 digests in addition to the SHA1 ones. 2005-02-23 17:15:09 +00:00
kristerw
68748c8b5a Correct spelling of ja-FreeWnn-lib and Canna-lib in use of BUILDLINK_PREFIX. 2004-05-13 19:29:42 +00:00
xtraeme
c1dab89fe0 bl3ify 2004-04-19 21:40:52 +00:00
seb
6794d2eb49 Fix build with gcc3. 2004-02-16 23:41:26 +00:00
seb
8e524ab84f Add missing entries in INFO_FILES.
Remove info files entries from PLIST.
2004-02-16 21:34:18 +00:00
xtraeme
b155a5ab4b There's no need to use 'USE_X11BASE' in mule package, we'll use
USE_X11 instead, bump PKGREVISION.
2004-01-28 14:16:41 +00:00
grant
f49bdea710 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-22 08:24:28 +00:00
agc
dc52048e01 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:07:06 +00:00
seb
8d15907ec2 USE_NEW_TEXINFO is unnecessary now. 2003-08-09 10:38:23 +00:00
grant
4083b24390 s/netbsd.org/NetBSD.org/ 2003-07-17 21:31:04 +00:00
seb
1c1c5de4b9 Convert to USE_NEW_TEXINFO.
Register all info files.
A '@unexec...${MKDIR}' looked like a thinko, should have been
'@unexec...${RMDIR}'. Anyway rewrote into the usual idiom.

XXX Too much unusual '@.*exec' in there IMHO. To be removed in a future
rototil.
2003-06-30 01:43:12 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00
kei
b694fd3662 fixed build problem noted by Ken Nakajima in port-powerpc-ja mailing list.
confirmed on i386 and macppc.
2002-11-29 00:24:48 +00:00
uebayasi
779b38ccbb Mark as BROKEN; compilation has some problems. 2002-11-27 08:47:41 +00:00
wiz
43aa70891d buildlink1 -> buildlink2 (untested). 2002-10-13 16:09:32 +00:00
hubertf
afe3e6d21e Update to mule-2.3nb1:
* adjust bdf-path (for any2ps, m2ps, ...) from really non-useful
   (/usr/share/fonts) to where pkgsrc/fonts/intlfonts puts it's
   BDF-files. (The intlfonts pkg still needs to be installed manually!)
 * Fix character-set=>bdf-file mapping for a few cases (latin, jis);
   mule seems to expect other filenames than what intl installs.

This intends to fix PRs 17589 and 17336.
2002-07-24 02:35:09 +00:00
sakamoto
70c98f1dc2 use inputmethod/{canna-lib,ja-freewnn-lib}/buildlink.mk. 2002-06-12 04:30:32 +00:00
wiz
4055b6202d Wildcard ja-freewnn-lib dependency. 2002-06-12 01:47:38 +00:00
seb
5f661affe6 Adjust various pathnames to use newly reimported packages from the japanese
category.
This is part of the japanese category retirement.
2002-05-31 15:19:55 +00:00
wiz
c35435cf98 Give canna-lib (and canna-server) a nice dewey pkg-version, and fix
all depends to use it.
2002-04-05 23:44:39 +00:00
uebayasi
bba64231cb Modify DEPENDS line (Canna-lib-3.5b2 -> Canna-lib>=3.5b2). 2002-04-04 16:09:51 +00:00
seb
66111c6d15 Introduce new framework for handling info files generation and installation.
Summary of changes:
- removal of USE_GTEXINFO
- addition of mk/texinfo.mk
- inclusion of this file in package Makefiles requiring it
- `install-info' substituted by `${INSTALL_INFO}' in PLISTs
- tuning of mk/bsd.pkg.mk:
    removal of USE_GTEXINFO
    INSTALL_INFO added to PLIST_SUBST
    `${INSTALL_INFO}' replace `install-info' in target rules
    print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info'
- a couple of new patch files added for a handful of packages
- setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it
- devel/cssc marked requiring texinfo 4.0
- a couple of packages Makefiles were tuned with respect of INFO_FILES and
  makeinfo command usage

See -newly added by this commit- section 10.24 of Packages.txt for
further information.
2002-02-18 15:14:00 +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
skrll
6ef52dcdce mkdir -> ${MKDIR}
chmod -> ${CHMOD}
2002-02-13 22:30:27 +00:00
agc
8ddadc7e0e Remove references to the USE_LOCALBASE_FOR_X11 definition, which was
removed some time ago.
2002-01-08 09:36:51 +00:00
zuntum
273821c4d3 Move pkg/ files into package's toplevel directory 2001-10-31 20:59:00 +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
kei
458c64611c make it compile with USE_CANNA == YES. 2001-05-23 23:25:05 +00:00
agc
46e325bb48 Apply fix for Canna library support from PR 12959 by NAGAI Yutaka
(nagai@hc.uec.ac.jp).
2001-05-16 10:10:25 +00:00
agc
7d757ead9a Move to sha1 digests, and add distfile sizes. 2001-04-19 11:00:59 +00:00
agc
d7d36b3561 + 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 10:57:56 +00:00
kei
4a7142c86d * Fixed alpha support. Patch supplied and submitted by kay@kaynet.or.jp to
tech-pkg-ja@jp.netbsd.org.  Tested on macppc.
2001-03-18 14:14:24 +00:00
wiz
94dc65fbec Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 14:38:16 +00:00
wiz
1a84da5cc1 emacs and mule install files with the same name in info -- make
them CONFLICT.
2000-12-16 13:56:40 +00:00
wiz
fbb68ed11d Don't patch $Revision$ in the file (otherwise this patch would never
apply cleanly).
2000-12-16 13:54:50 +00:00