Commit graph

25 commits

Author SHA1 Message Date
asau
fae34ba053 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-03 11:43:30 +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
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
9cde120028 Restructure the following packages:
editors/xemacs
	editors/xemacs-nox11

The latter is now just editors/xemacs built with a specific set of
options.  Changes include:

+ Add support for the following new options in options.mk:

	x11		Support X11 displays
	lucid		Use Lucid widget set

  Also add commented out support for the following options for
  alternative widget sets:

	gtk		GTK widgets
	motif		Motif widgets
	xaw		Athena widgets

  Note that USE_ATHENA, USE_GTK, and USE_MOTIF are legacy variables for
  the corresponding options.

+ Remove Makefile.common and move all logic into xemacs/Makefile and
  xemacs/options.mk.

+ Rename the "mule" PLIST variable to "canna", which more accurately
  reflects what is conditionally installed.

+ Include termcap.buildlink3.mk to properly deal with termcap/curses
  issues (xemacs needs termcap).  Drop the --with-ncurses=no setting
  as the issue is handled by termcap.buildlink3.mk.

+ In xemacs/Makefile, we don't need separate EXTRACT_ONLY and EXTRA_FILES
  if we're actually going to extract all of those files all of the time.
  Just list them all in DISTFILES.

+ Be slightly more aware of ${X11_TYPE} == "modular" by not referring to
  ${X11BASE} in that case.

+ In patch-ak, directly substitute the local value of etcdir (``../etc/'')
  into src/Makefile.in.in.  This allows for overriding etcdir via
  INSTALL_MAKE_FLAGS at install-time so that destdir-style installation
  will work.

+ Support DESTDIR installation by adding INSTALL_MAKE_FLAGS to override
  where files are installed during the install phase.

+ Honor PKGMANDIR.

+ Bump the PKGREVISION for xemacs and xemacs-nox11 to 4.  Both packages
  now track and use the same PKGREVISION number.
2008-04-24 15:32:15 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
uebayasi
75635c82f9 Initial addition of buildlink3.mk fragments for Emacs / XEmacs programs. 2007-10-29 12:40:02 +00:00
joerg
8e6d74c120 Add DragonFly and modular Xorg support. 2007-02-15 14:27:48 +00:00
tron
0d9e9ca332 Remove Mario Kemper as maintainer of these package on his request. 2006-09-06 15:38:32 +00:00
jlam
e10b319ed7 Fix xemacs packages to honor PKGINFODIR in the default INFOPATH when
reading info files.  Also strip the split info files from the PLIST
as the plist module handles them automatically.  Lastly, define
INFO_FILES so that the pkginstall framework properly manages the "dir"
info file database index in the xemacs info directory.

Bump the PKGREVISION.
2006-03-20 18:21:29 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
magick
3801d08ec2 Xemacs and Xemacs-nox11 share the same PLIST but netbsd-x11 doesn't
install mule-x-init.elc which breaks "make package"
Fix this by uncommenting the entry for mule-x-init.elc in the
nox11 package as suggested by the submitter of pr 30020.
This fixes pr 30020
2005-04-25 17:23:50 +00:00
uebayasi
94e9002d02 * Correct PLIST when !defined(PKG_OPTIONS.xemacs:Mcanna).
* Move library/header path configurations from xemacs/Makefile.common
  to xemacs/Makefile and xemacs-nox11/Makefile.  Don't add X-related
  paths for -nox11.  Fix build failure reported by bulk builds.
2005-03-03 16:16:03 +00:00
minskim
133d519c2d Do not override version. 2004-02-15 03:01:57 +00:00
minskim
30244379ce Let xemacs and xemacs-nox11 share xemacs/Makefile.common. This
synchornizes xemacs and xemace-nox11 again.
2004-02-15 02:58:46 +00:00
minskim
a26fbaedb6 Use XEMACS_USE_CANNA instead of EMACS_CANNA for consistency, and add
it to BUILD_DEFS.  Approved by uebayasi@.
2004-02-09 07:16:13 +00:00
reed
6d9af8d68d Bump package revisions for tiff update.
Tiff is backward compatible, but was broken on amd64 platform
so this makes sure new tiff is used.
2004-01-03 18:49:33 +00:00
grant
4083b24390 s/netbsd.org/NetBSD.org/ 2003-07-17 21:31:04 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
grant
fa617e87b1 be noisier in post-install, whitespace fix. 2003-05-05 17:34:53 +00:00
wiz
7166660e08 Dependency bumps, needed because of devel/pth's major bump, and related
dependency bumps.
2003-05-02 11:53:34 +00:00
jmc
955c2e036d Fix this package so it works with the latest updates to the xemacs package.
Builds and runs on x86 after testing the build
2003-03-30 08:51:52 +00:00
salo
235ccbe101 s/INSTALL_*/BSD_INSTALL_*/ in patches, remove unnecessary MAKE_ENV. 2003-01-19 06:52:54 +00:00
uebayasi
16a8623a02 PLIST_SRC points to a file. 2003-01-17 02:40:25 +00:00
magick
56f1cda297 xemacs-nox -> xemacs-nox11 2003-01-13 21:28:42 +00:00
magick
d3f387052e Initial import of xemacs-nox11. It's a xemacs compiled without any
X11 dependencies.
Submitted by Masao Uebayashi in private mail
2003-01-13 21:22:43 +00:00