pkgsrc/editors/xemacs/Makefile

94 lines
2.6 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.43 2002/03/22 22:25:05 tron Exp $
Update "xemacs" package to version 21.1.14. Changes since version 21.1.12: - Fix buffer overflow in "gnuserv" which can be used to get a shell of the user which is using "gnuserv. - ./etc/PACKAGES: Doc fix. - README.packages: Doc fix. - xemacs-faq.texi (Q3.5.12): New FAQ. XEmacs bitches about xmodmap. - etc/PACKAGES: Sync with 21.2 version, because everyone uses the same packages. - README.packages: Ditto. - PROBLEMS (Sun/Solaris): Yet another microimprovement. - xemacs-faq.texi (Q1.0.11): Change XEmacs for MacOS URL. - PROBLEMS: Document MIPSpro ICE problem workaround. Pty fixes for HP-UX and AIX and BSD and SunOS4 backported from 21.2. Makes ``M-x shell; sleep 1000; Signals->Send KILL'' work. (See src/ChangeLog for more detail.) - configure.in: Detect killpg. - PROBLEMS (Running/Linux): Mandrake, use Alt for M-, color-gcc. - Makefile.in: add and use TAR macro. Sometimes tar only copies symlinks instead of the actual files - configure.in: Handle alloca with Compaq C on Alpha Linux. - ChangeLog, etc/xemacs-ja.1, etc/xemacs.1, info/xemacs-faq.info-1, info/xemacs-faq.info-3, lib-src/etags.c, lib-src/ootags.c, lisp/ChangeLog.1, man/xemacs-faq.texi: Changed mly@adoc.xerox.com to Mly@POBox.COM. - README.packages: Add "uninstalled package" FAQ. - etc/PACKAGES: Add details on os-utils contents. - frame.c (next_frame_internal): We've passed a frame if we've passed its device. Fixes this crash: (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))' Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame) - find-paths.el (paths-decode-directory-path): Trivial typo fix. - simple.el (display-warning-suppressed-classes): Ditto. - etc/Emacs.ad (Fonts.): Fix typo and clarify. - configure.in (after_morecore_hook_exists): Don't add /usr/shlib to link path if compiling on Alpha/Linux. - configure.in: Make Balloon Help conditional on finding shape.h
2001-02-20 14:04:30 +01:00
DISTNAME= xemacs-21.1.14
PKGREVISION= 2
CATEGORIES= editors
MASTER_SITES= ftp://ftp.xemacs.org/pub/xemacs/xemacs-21.1/ \
ftp://ftp.mpi-sb.mpg.de/pub/gnu/mirror/ftp.xemacs.org/xemacs/xemacs-21.1/ \
ftp://ftp.usyd.edu.au/pub/Xemacs/xemacs-21.1/ \
ftp://ftp.lab.kdd.co.jp/xemacs/xemacs-21.1/ \
ftp://ftp.th-darmstadt.de/pub/editors/xemacs/xemacs-21.1/
EXTRACT_SUFX= .tar.bz2
DISTFILES= ${EXTRACT_ONLY} ${EXTRA_FILES}
MAINTAINER= magick@netbsd.org
HOMEPAGE= http://www.xemacs.org/
COMMENT= XEmacs text editor version 21
DEPENDS+= gdbm>=1.7.3:../../databases/gdbm
DEPENDS+= png>=1.2.1:../../graphics/png
DEPENDS+= tiff-[0-9]*:../../graphics/tiff
DEPENDS+= jpeg-[0-9]*:../../graphics/jpeg
2000-09-28 13:29:59 +02:00
NOT_FOR_PLATFORM= *-*-mips* #fails purespace dumping
HAS_CONFIGURE= YES
USE_XPM= YES
BUILD_DEFS+= USE_LDAP USE_XFACE
DIST_SUBDIR= xemacs
EXTRA_FILES= ${DISTNAME}-elc.tar.gz ${DISTNAME}-info.tar.gz
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
2002-03-15 02:58:35 +01:00
PLIST_SUBST+= DISTNAME="${DISTNAME}"
.include "../../mk/bsd.prefs.mk"
.if defined(MANZ)
2002-03-15 02:58:35 +01:00
PLIST_SUBST+= ELSUFX='.gz'
.else
2002-03-15 02:58:35 +01:00
PLIST_SUBST+= ELSUFX=''
.endif
WITH_DIALOGS= --with-dialogs=motif
.if defined(USE_LDAP) && ${USE_LDAP} == YES
WITH_LDAP= --with-ldap=yes
DEPENDS+= openldap-[0-9]*:../../databases/openldap
.else
WITH_LDAP= --with-ldap=no
.endif
.if defined(USE_XFACE) && ${USE_XFACE} == YES
WITH_XFACE= --with-xface=yes
DEPENDS+= faces>=1.6.1:../../mail/faces
.else
WITH_XFACE= --with-xface=no
.endif
CONFIGURE_ARGS+= ${MACHINE_GNU_PLATFORM} --prefix=${PREFIX} \
--with-clash-detection --with-mule=yes \
--with-ncurses=no --with-session=yes \
${WITH_DIALOGS} ${WITH_LDAP} ${WITH_XFACE} \
--infopath="${PREFIX}/info:${X11BASE}/info:/usr/local/info" \
--lockdir=/var/tmp/xemacs.lock \
1999-07-03 17:43:32 +02:00
--site-includes=${PREFIX}/include:${WRKDIR} \
--site-libraries=${PREFIX}/lib
CFLAGS+= -Dunix
MAKE_ENV+= INSTALL_MAN="${INSTALL_MAN}" \
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
post-extract:
for FILE in ${EXTRA_FILES}; do \
${GTAR} xzCf ${WRKDIR} ${DISTDIR}/${DIST_SUBDIR}/$$FILE; \
done
post-patch:
@${RM} -f ${WRKSRC}/etc/ctags.1.orig
pre-configure:
@${ECHO} "To compile in the support for LDAP, set the environment variable USE_LDAP."
@${ECHO} "To compile in the support for xface, set the environment variable USE_XFACE."
1999-07-03 17:43:32 +02:00
@${MKDIR} ${WRKDIR}/sys
@${LN} -s /usr/include/soundcard.h ${WRKDIR}/sys
post-install:
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/${DISTNAME}
@${INSTALL_DATA_DIR} ${PREFIX}/lib/xemacs
@if [ "X${MANZ}" != X"" ]; then \
${WRKSRC}/lib-src/gzip-el.sh ${PREFIX}/lib/${DISTNAME}; \
fi
1999-06-29 09:48:21 +02:00
.include "../../mk/motif.buildlink.mk"
.include "../../mk/bsd.pkg.mk"