6d204351fc
- configure.in: Sync Berkeley db autodetection with src/database.c - README: Remove msdos part. - configure.in: add new machine type for IRIX 6.[2-5] to switch from using unexelf.o to unexelfsgi.o for just those versions of IRIX. In the ideal world it would be handled by the s/irix6-0.h but since machine config is included AFTER OS config, I had to add a new machine type. - configure.in: Default Drag-N-Drop to "no" - etc/FTP: Updated FTP mirrors list. Replaced GNU FTP document with a URL. - etc/MAILINGLISTS: Updated mailing list subscription information. Replaced GNU MAILINGLISTS document with a URL. - INSTALL: Update configure option. - configure.in (native_sound_lib, --sgi--): Check for audio.h. (LIBS): Check for libCsup. - INSTALL: Added more information about README.packages, and re-numbered some bullets. - etc/sample.Xdefaults: adds a reference to beNiceToColrmap, so that the user can guess what to do if xemacs' dialogs are butt ugly. - INSTALL: Make disk space requirements more realistic. Add note about stack size requirements. Update and add more weight to the package section. - README: Add reference to README.packages - INSTALL: Remove junk from install.sh - Makefile.in (install-arch-dep): use exe_suffix for link installation. - configure.in: define exe_suffix if we're on ms-windows. - configure.in (EMACS_CONFIGURATION): Use $configuration, not $canonical, so that installation paths and dynamic path setup will stay in synch. - configure.in (machine): Recognize MIPS/Linux. - README.packages: Added hint on how to figure out what packages to get.
79 lines
2.3 KiB
Makefile
79 lines
2.3 KiB
Makefile
# $NetBSD: Makefile,v 1.18 2000/03/08 21:30:00 tron Exp $
|
|
# FreeBSD Id: Makefile,v 1.1.1.1 1997/09/03 19:27:57 gj Exp
|
|
|
|
DISTNAME= xemacs-21.1.9
|
|
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/
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}-elc${EXTRACT_SUFX} ${DISTNAME}-info${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://www.xemacs.org/
|
|
|
|
USE_XAW= yes
|
|
|
|
DEPENDS+= gdbm-1.7.3:../../databases/gdbm
|
|
DEPENDS+= png>=1.0.3:../../graphics/png
|
|
DEPENDS+= tiff-*:../../graphics/tiff
|
|
DEPENDS+= xpm-3.4k:../../graphics/xpm
|
|
|
|
NOT_FOR_PLATFORM= *-*-alpha *-*-mips #fails purespace dumping
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
DIST_SUBDIR= xemacs
|
|
|
|
BUILD_DEFS+= USE_XFACE
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
XAW_TYPE?= 3d
|
|
|
|
.if (${XAW_TYPE} == "standard")
|
|
WITH_DIALOGS= --with-dialogs=athena
|
|
.else
|
|
WITH_DIALOGS= --with-dialogs=athena3d
|
|
.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_XFACE} \
|
|
--infopath="${PREFIX}/info:${X11BASE}/info:/usr/local/info" \
|
|
--lockdir=/var/tmp/xemacs.lock \
|
|
--site-includes=${PREFIX}/include:${WRKDIR} \
|
|
--site-libraries=${PREFIX}/lib
|
|
|
|
CFLAGS+= -Dunix
|
|
MAKE_ENV+= INSTALL_MAN="${INSTALL_MAN}" \
|
|
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
|
|
PLIST_SRC= ${WRKDIR}/PLIST.tmp
|
|
|
|
post-patch:
|
|
@${RM} -f ${WRKSRC}/etc/ctags.1.orig
|
|
|
|
pre-configure:
|
|
@${ECHO} "To compile in the support for xface, set the environment variable USE_XFACE."
|
|
@${MKDIR} ${WRKDIR}/sys
|
|
@${LN} -s /usr/include/soundcard.h ${WRKDIR}/sys
|
|
|
|
post-install:
|
|
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/${DISTNAME}
|
|
@${MKDIR} ${PREFIX}/lib/xemacs
|
|
@if [ "X${MANZ}" != X"" ]; then \
|
|
${WRKSRC}/lib-src/gzip-el.sh ${PREFIX}/lib/${DISTNAME}; \
|
|
GZSUFFIX=.gz; \
|
|
fi; \
|
|
${SED} -e 's|@.GZ@|'$$GZSUFFIX'|g' ${PKGDIR}/PLIST >${PLIST_SRC}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|