pkgsrc/editors/xemacs/Makefile

111 lines
3.2 KiB
Makefile
Raw Normal View History

2013-02-16 12:18:58 +01:00
# $NetBSD: Makefile,v 1.108 2013/02/16 11:21:02 wiz Exp $
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 17:32:15 +02:00
PKGNAME?= ${DISTNAME}
COMMENT?= XEmacs text editor version 21
Update XEmacs package to 21.4.22 I tried to work in the manual PLIST changes. Changes since 21.4.17 from the distribution ChangeLog: 2008-12-28 Vin Shelton <acs@xemacs.org> * XEmacs 21.4.22 is released * etc/photos/vin.png: * etc/photos/vinm.png: Updated. 2007-10-07 Vin Shelton <acs@xemacs.org> * XEmacs 21.4.21 is released * modules/ldap/eldap.c: Declare that we use deprecated API. Thanks to Mats Lidell <matsl@xemacs.org> for the report & patch: <871wgnqunm.fsf@spencer.lidell.homelinux.net>. 2006-12-09 Vin Shelton <acs@xemacs.org> * XEmacs 21.4.20 is released * configure.in: Find relocated xpm library under cygwin. Patch lifted from Rick Rankin's 21.5 version of the patch. * PROBLEMS: X11R7 loses x11/bitmaps/gray. * configure.in: Simplify cygwin include and nox/Xpm handling. As of cygwin-1.5.19, 'gcc -print-file-name=libc.a' (effectively) returns '/lib' instead of '/usr/lib', so we'll use 'gcc -print-search-dirs' instead. 2006-01-28 Vin Shelton <acs@xemacs.org> * XEmacs 21.4.19 is released * etc/package-index.LATEST.gpg: Updated with latest package data. Merge from 21.5. * configure.in: Fixed `LDAP_OPT_ON' libraries configuration introduced in local 2005-03-13 change of `configure.in'. However, do not check for internal `-lber' `ber_pvt_opt_on' symbol as done in upstream. This symbol is not part of any published interface, it may exist or not exist, depending on openldap version. Cryptic comment before using it in upstream 21.5 source did not state precisely under which circumstances checking for it was useful, which sort of user code tried to link the symbol. So in local 21.5 dismissed both the code and the comment without writing a cleaner equivalent. * etc/NEWS: Document. * etc/package-index.LATEST.gpg: Updated with latest package data. * etc/OXYMORONS: insert 'Social Property' for 21.4.18. * etc/NEWS: document motif deprecation and defaulting --with-widgets to off. * etc/PACKAGES: Fix description of xetla. 2005-12-03 Vin Shelton <acs@xemacs.org> * XEmacs 21.4.18 is released * etc/TUTORIAL.cs: copied from 21.5. * etc/TUTORIAL.sl: copied from 21.5. * configure.in: Merge revision 1.19 change: fix ldap libraries configuration lossage when `-lldap -llber' links and but `-lldap' does not; allow `ldap_libs' to be empty or overridden by builder. The lossage was introduced in upstream revision 1.151.2.31 (2005/01/31 02:54:47 vins) by (extremely hasty and unwise) merge of revision 1.232 change. * etc/NEWS: Document it. * configure.in (XE_COMPUTE_RUNPATH): Check XtRegisterDrawable availability. * etc/PACKAGES: etc/PACKAGES: Announce re-builder, xetla. * configure.in: Avoid using Motif also for cygwin * configure.in: Check for u_int*_t typedefs and use them in Berkeley DB detection. * etc/PACKAGES: etc/PACKAGES: Announce re-builder, xetla. * configure.in: Remove -fno-gnu-linker option from Solaris dynodump builds; it doesn't do anything. Don't use 'head -1' - it's deprecated by coreutils-5.3.0 on some platforms. * etc/PACKAGES: Announce latin-euro-standards, update mule-base. * etc/OXYMORONS: New list.
2010-12-16 18:45:12 +01:00
DISTNAME= xemacs-21.4.22
2013-02-16 12:18:58 +01:00
PKGREVISION= 11
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 17:32:15 +02:00
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_XEMACS:=${DISTNAME:C/[.][^.]*$//}/}
MAINTAINER= hauke@NetBSD.org
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 17:32:15 +02:00
HOMEPAGE= http://www.xemacs.org/
CONFLICTS+= gnuserv-[0-9]*
CONFLICTS+= xemacs-[0-9]*
CONFLICTS+= xemacs-nox11-[0-9]*
NOT_FOR_PLATFORM= *-*-mips* # fails purespace dumping
Update XEmacs package to 21.4.22 I tried to work in the manual PLIST changes. Changes since 21.4.17 from the distribution ChangeLog: 2008-12-28 Vin Shelton <acs@xemacs.org> * XEmacs 21.4.22 is released * etc/photos/vin.png: * etc/photos/vinm.png: Updated. 2007-10-07 Vin Shelton <acs@xemacs.org> * XEmacs 21.4.21 is released * modules/ldap/eldap.c: Declare that we use deprecated API. Thanks to Mats Lidell <matsl@xemacs.org> for the report & patch: <871wgnqunm.fsf@spencer.lidell.homelinux.net>. 2006-12-09 Vin Shelton <acs@xemacs.org> * XEmacs 21.4.20 is released * configure.in: Find relocated xpm library under cygwin. Patch lifted from Rick Rankin's 21.5 version of the patch. * PROBLEMS: X11R7 loses x11/bitmaps/gray. * configure.in: Simplify cygwin include and nox/Xpm handling. As of cygwin-1.5.19, 'gcc -print-file-name=libc.a' (effectively) returns '/lib' instead of '/usr/lib', so we'll use 'gcc -print-search-dirs' instead. 2006-01-28 Vin Shelton <acs@xemacs.org> * XEmacs 21.4.19 is released * etc/package-index.LATEST.gpg: Updated with latest package data. Merge from 21.5. * configure.in: Fixed `LDAP_OPT_ON' libraries configuration introduced in local 2005-03-13 change of `configure.in'. However, do not check for internal `-lber' `ber_pvt_opt_on' symbol as done in upstream. This symbol is not part of any published interface, it may exist or not exist, depending on openldap version. Cryptic comment before using it in upstream 21.5 source did not state precisely under which circumstances checking for it was useful, which sort of user code tried to link the symbol. So in local 21.5 dismissed both the code and the comment without writing a cleaner equivalent. * etc/NEWS: Document. * etc/package-index.LATEST.gpg: Updated with latest package data. * etc/OXYMORONS: insert 'Social Property' for 21.4.18. * etc/NEWS: document motif deprecation and defaulting --with-widgets to off. * etc/PACKAGES: Fix description of xetla. 2005-12-03 Vin Shelton <acs@xemacs.org> * XEmacs 21.4.18 is released * etc/TUTORIAL.cs: copied from 21.5. * etc/TUTORIAL.sl: copied from 21.5. * configure.in: Merge revision 1.19 change: fix ldap libraries configuration lossage when `-lldap -llber' links and but `-lldap' does not; allow `ldap_libs' to be empty or overridden by builder. The lossage was introduced in upstream revision 1.151.2.31 (2005/01/31 02:54:47 vins) by (extremely hasty and unwise) merge of revision 1.232 change. * etc/NEWS: Document it. * configure.in (XE_COMPUTE_RUNPATH): Check XtRegisterDrawable availability. * etc/PACKAGES: etc/PACKAGES: Announce re-builder, xetla. * configure.in: Avoid using Motif also for cygwin * configure.in: Check for u_int*_t typedefs and use them in Berkeley DB detection. * etc/PACKAGES: etc/PACKAGES: Announce re-builder, xetla. * configure.in: Remove -fno-gnu-linker option from Solaris dynodump builds; it doesn't do anything. Don't use 'head -1' - it's deprecated by coreutils-5.3.0 on some platforms. * etc/PACKAGES: Announce latin-euro-standards, update mule-base. * etc/OXYMORONS: New list.
2010-12-16 18:45:12 +01:00
USE_TOOLS+= makeinfo
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 17:32:15 +02:00
HAS_CONFIGURE= yes
DIST_SUBDIR= xemacs
PLIST_SUBST+= DISTNAME=${DISTNAME:Q}
FILES_SUBST+= DISTNAME=${DISTNAME:Q}
MESSAGE_SUBST+= DISTNAME=${DISTNAME:Q}
INFO_FILES= # PLIST
.include "options.mk"
CONFIGURE_ARGS+= ${MACHINE_GNU_PLATFORM}
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
CONFIGURE_ARGS+= --mandir=${PREFIX:Q}/${PKGMANDIR:Q}/man1
CONFIGURE_ARGS+= --with-clash-detection
CONFIGURE_ARGS+= --with-mule=yes
CONFIGURE_ARGS+= --with-msw=no
CFLAGS+= -Dunix
# Use terminfo on NetBSD-6 and newer.
# We cannot use terminfo.*.mk as XEmacs enforces a link to termcap,
# but this is fine for us.
.if (${OPSYS} == "NetBSD") && exists(/usr/include/term.h)
CPPFLAGS+= -DTERMINFO
.endif
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 17:32:15 +02:00
.if ${X11_TYPE} != "modular"
INFOPATH= ${PREFIX}/${PKGINFODIR}:${X11BASE}/${PKGINFODIR}:${LOCALBASE}/${PKGINFODIR}
.else
INFOPATH= ${PREFIX}/${PKGINFODIR}:${LOCALBASE}/${PKGINFODIR}
.endif
CONFIGURE_ARGS+= --infopath=${INFOPATH:Q}
.if ${OPSYS} == "SunOS"
. if !exists(/usr/demo/SOUND/libaudio.a) && \
!exists(/usr/demo/SOUND/lib/libaudio.a)
CONFIGURE_ARGS+= --with_sound=none
. endif
.endif
2009-04-30 19:22:06 +02:00
.if (${OPSYS} == "DragonFly") && exists(/usr/lib/crtn.o)
CPPFLAGS+= -DDFLY_CRT_USRLIB
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 17:32:15 +02:00
.endif
CHECK_WRKREF_SKIP= bin/xemacs*
REPLACE_SH= etc/check_cygwin_setup.sh
LIBDIR= ${PREFIX}/lib/${DISTNAME}
ARCHLIBDIR= ${LIBDIR}/${MACHINE_GNU_PLATFORM}
# This list overrides variables used in the source Makefiles at install
# time to allow for ${DESTDIR}-style installation. This variables list
# is pulled from the ``mkdir'' target of Makefile.in.in.
#
INSTALL_MAKE_FLAGS+= archlibdir=${DESTDIR}${ARCHLIBDIR}
INSTALL_MAKE_FLAGS+= bindir=${DESTDIR}${PREFIX}/bin
INSTALL_MAKE_FLAGS+= datadir=${DESTDIR}${PREFIX}/lib
INSTALL_MAKE_FLAGS+= docdir=${DESTDIR}${ARCHLIBDIR}
INSTALL_MAKE_FLAGS+= etcdir=${DESTDIR}${LIBDIR}/etc
INSTALL_MAKE_FLAGS+= exec_prefix=${DESTDIR}${PREFIX}
INSTALL_MAKE_FLAGS+= infodir=${DESTDIR}${LIBDIR}/info
INSTALL_MAKE_FLAGS+= libdir=${DESTDIR}/lib
INSTALL_MAKE_FLAGS+= lispdir=${DESTDIR}${LIBDIR}/lisp
INSTALL_MAKE_FLAGS+= mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
INSTALL_MAKE_FLAGS+= moduledir=${DESTDIR}${ARCHLIBDIR}/modules
INSTALL_MAKE_FLAGS+= pkgdir=${DESTDIR}${LIBDIR}/lisp
INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX}
INSTALL_MAKE_FLAGS+= sitelispdir=${DESTDIR}${PREFIX}/lib/xemacs/site-lisp
INSTALL_MAKE_FLAGS+= sitemoduledir=${DESTDIR}${PREFIX}/lib/xemacs/site-modules
post-extract:
cp ${FILESDIR}/dragonfly.h ${WRKSRC}/src/s/
pre-build:
rm -f ${WRKSRC}/etc/ctags.1.orig
.if defined(MANZ)
PLIST_SUBST+= ELSUFX='.gz'
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 17:32:15 +02:00
post-install:
find ${DESTDIR}${LIBDIR} -name "*.el" -type f -print | xargs ${GZIP_CMD}
.else
PLIST_SUBST+= ELSUFX=''
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 17:32:15 +02:00
.endif
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 17:32:15 +02:00
.include "../../databases/gdbm/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"