Commit graph

34 commits

Author SHA1 Message Date
minskim
7b90c30295 PKGREVISION bump for elisp packages because of bytecode format changes
in emacs23.
2009-08-06 01:44:45 +00:00
minskim
d9fab9c7e9 Force to use EMACS_BIN to ensure that the correct binary is invoked. 2009-07-12 21:29:50 +00:00
joerg
bacea7cad5 Remove @dirrm entries from PLISTs 2009-06-14 17:48:39 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
uebayasi
8c349b6e46 Introduce EMACS_BUILDLINK to decide if Emacs lisp file wrappers are really
created or not.  Packages that include other ELP's buildlink3.mk must define
EMACS_BUILDLINK.  Other packages don't create wrappers, which reduces build
time a lot.
2008-10-13 08:07:02 +00:00
uebayasi
34004f51e0 Move mk/emacs.mk to editors/emacs/modules.mk.
Don't call pkg_info to get the installed Emacs version; always use the
version matching EMACS_TYPE set by users.  Be DEPENDS to it.  This should
address pkg/37146 by Aleksey Cheusov.

While here convert some emacs lisp packages to user-destdir.
2008-10-11 09:31:54 +00:00
jlam
4c8382aec0 Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-03 17:45:33 +00:00
uebayasi
1600d88a77 Buildlink3'ify. No functional change. 2007-10-29 12:56:30 +00:00
uebayasi
98aeb223e6 Initial addition of buildlink3.mk fragments for EmacsLisp packages. 2007-10-29 12:41:16 +00:00
jnemeth
c4d722967e cjones@ is no longer a developer 2007-07-05 18:20:07 +00:00
jlam
7d1f4cca8e "BUILD_ENV" was misnamed. It's actually the environment that is passed
to all internal recursive make processes.  As such, rename it to
"PKGSRC_MAKE_ENV".

XXX Note, some of the usage of this variable in package Makefiles seems
XXX incorrect.  They probably want "MAKE_ENV", which is the environment
XXX passed to the make process when running "make" within ${WRKSRC}.
2006-07-21 14:27:56 +00:00
rillig
0aad5c7928 Updated semantic to 1.4.4.
Changes since 1.4.2:
- Lots of bug fixes and improvements, especially for C++ templates.
2006-06-17 19:27:04 +00:00
jlam
9e69d02625 Replace INFO_DIR with EMACS_INFOPREFIX, which is the correct location for
info files for both emacs and xemacs.  Install the info files correctly
by handling the case where there may be split info files.  List the info
files in the PLIST.  Use EMACS_MODULES where appropriate to replace the
conditional dependency on xemacs-packages.  Bump the PKGREVISION.
2006-03-20 05:34:27 +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
63ba96912e Fixed pkglint warning. 2005-09-28 17:06:53 +00:00
uebayasi
aa8e85bcfd Rework emacs.mk:
1) Simplify the way how an emacs version is picked when no emacs
   is installed, but a user try to install an Emacs Lisp package.
   Just pick up the version set as EMACS_TYPE than searching for
   versions already installed etc.  If the EMACS_TYPE version is
   not supported by the Emacs Lisp Package, just fail.  EMACS_TYPE
   be default to GNU Emacs 21.

   (In other words, users should set EMACS_TYPE as they want.
   Otherwise GNU Emacs 21 is used.)

2) All Emacs Lisp Packages *must* prepend EMACS_PKGNAME_PREFIX to
   a) the PKGNAME itself, and b) PKGNAME in its dependency lines.
   EMACS_PKGNAME_PREFIX is expanded to "xemacs-" when XEmacs is
   used.  This keeps dependency graph of Emacs-Lisp-packages-
   installed-for-XEmacs consistent.

3) Document EMACS_* variables as much as possible.

4) Provide more cookies for PLIST.  Maybe utilized later.

Note that the 2) change doesn't affect the default, GNU Emacs 21
behaviour.  So no version / revision bumps in this commit.
2005-08-28 04:25:28 +00:00
jlam
81edaaa606 Create directories before installing files into them. 2005-06-16 06:57: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
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
reed
093ba96e55 Install to ${PREFIX}/${INFO_DIR} instead of ${PREFIX}/info.
Okay'd by cjones.
2004-04-05 22:13:43 +00:00
seb
e162397868 Remove info files entries from PLIST. 2004-02-16 17:55:39 +00:00
grant
f49bdea710 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-22 08:24:28 +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
88e663d268 Convert to USE_NEW_TEXINFO. 2003-06-25 12:32:41 +00:00
wiz
251151c073 depend on eieio>=0.17. 2003-01-12 02:26:15 +00:00
uebayasi
283fd270f3 Update semantic to 1.4.2.
Approximate set of changes:

* Added namespaces support to the C/C++ grammar.
* New Non-recursive parser by David Ponce <david@dponce.com>
* Variables no longer contain an explicit constant flag.
* Modifiers field for variable, function, and types is now an association
  list.
* Analyzizes via type information the local context
* Provides smart completion information
* Speedbar mode for using analysis information.
* Generates objects representing a browsable class structure
  which links parents and subclasses and externally defined
  methods into an easilly navigated (programatically) structure.
* Speedbar interface to browser structure (simple)
* semantic-load.el simplifies installation.
* Added partial reparseing of buffers where only token contents have changed.
* Added `semantic-show-dirty-mode'.
* Added `semantic-show-unmatched-syntax-mode'
* Added `semantic-auto-reparse-mode'
* Added new tool, `semanticdb'.
  Semanticdb caches token lists between sessions with a specific file.

And more.

Use emacs.mk.
2003-01-11 08:56:33 +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
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +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
cjones
3856a2713b Update to 1.4beta5, which appears to be the latest stable version in
spite of its name.  Bug fixes and improved support for Java, C.
2001-07-10 21:54:39 +00:00
wiz
baedb69a2c touch -> ${TOUCH} 2001-06-09 15:22:41 +00:00
cjones
8a8b295ff4 Import the Semantic Bovinator for Emacs. Lexer, parser-generator, and
parser.  Required for JDE.
2001-06-08 21:03:05 +00:00