1999-07-14 20:53:34 +02:00
|
|
|
# $NetBSD: Makefile,v 1.9 1999/07/14 18:53:34 tron Exp $
|
1999-06-30 01:13:37 +02:00
|
|
|
# FreeBSD Id: Makefile,v 1.1.1.1 1997/09/03 19:27:57 gj Exp
|
1999-06-28 23:22:56 +02:00
|
|
|
|
1999-07-14 20:53:34 +02:00
|
|
|
DISTNAME= xemacs-21.1.4
|
1999-06-28 23:22:56 +02:00
|
|
|
CATEGORIES= editors
|
1999-06-30 01:13:37 +02:00
|
|
|
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/
|
1999-06-30 02:11:28 +02:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}-elc${EXTRACT_SUFX} ${DISTNAME}-info${EXTRACT_SUFX}
|
|
|
|
|
1999-06-30 01:13:37 +02:00
|
|
|
MAINTAINER= packages@netbsd.org
|
|
|
|
HOMEPAGE= http://www.xemacs.org/
|
1999-06-28 23:22:56 +02:00
|
|
|
|
1999-06-30 01:13:37 +02:00
|
|
|
DEPENDS+= Xaw3d-1.5:../../x11/Xaw3d
|
|
|
|
DEPENDS+= gdbm-1.7.3:../../databases/gdbm
|
|
|
|
DEPENDS+= png-1.0.3:../../graphics/png
|
|
|
|
DEPENDS+= tiff-3.4:../../graphics/tiff
|
|
|
|
DEPENDS+= xpm-3.4k:../../graphics/xpm
|
1999-06-28 23:22:56 +02:00
|
|
|
|
1999-06-30 01:13:37 +02:00
|
|
|
NOT_FOR_PLATFORM= *-*-alpha *-*-mips #fails purespace dumping
|
1999-06-28 23:22:56 +02:00
|
|
|
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
|
1999-07-05 22:55:01 +02:00
|
|
|
DIST_SUBDIR= xemacs
|
|
|
|
|
1999-06-30 01:13:37 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
1999-06-28 23:22:56 +02:00
|
|
|
|
1999-06-30 01:13:37 +02:00
|
|
|
WITH_DIALOGS= --with-dialogs=athena3d
|
1999-06-28 23:22:56 +02:00
|
|
|
|
1999-06-30 01:13:37 +02:00
|
|
|
.if defined(USE_XFACE)
|
|
|
|
WITH_XFACE= --with-xface=yes
|
|
|
|
DEPENDS+= faces-1.6.1:../../mail/faces
|
|
|
|
.else
|
|
|
|
WITH_XFACE= --with-xface=no
|
1999-06-28 23:22:56 +02:00
|
|
|
.endif
|
|
|
|
|
1999-06-30 01:13:37 +02:00
|
|
|
CONFIGURE_ARGS+= ${MACHINE_GNU_ARCH}--netbsd --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 \
|
1999-07-03 17:43:32 +02:00
|
|
|
--site-includes=${PREFIX}/include:${WRKDIR} \
|
1999-06-30 01:13:37 +02:00
|
|
|
--site-libraries=${PREFIX}/lib
|
1999-06-28 23:22:56 +02:00
|
|
|
|
1999-06-30 02:11:28 +02:00
|
|
|
CFLAGS+= -Dunix
|
1999-06-30 01:13:37 +02:00
|
|
|
MAKE_ENV+= INSTALL_MAN="${INSTALL_MAN}" \
|
|
|
|
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
|
|
|
|
PLIST_SRC= ${WRKDIR}/PLIST.tmp
|
1999-06-28 23:22:56 +02:00
|
|
|
|
1999-06-30 01:13:37 +02:00
|
|
|
post-patch:
|
|
|
|
@${RM} -f ${WRKSRC}/etc/ctags.1.orig
|
1999-06-28 23:22:56 +02:00
|
|
|
|
1999-06-30 01:13:37 +02:00
|
|
|
pre-configure:
|
|
|
|
@${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
|
1999-06-30 01:13:37 +02:00
|
|
|
|
|
|
|
post-install:
|
1999-07-14 20:53:34 +02:00
|
|
|
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/${DISTNAME}
|
1999-07-05 18:36:58 +02:00
|
|
|
@${MKDIR} ${PREFIX}/lib/xemacs
|
1999-06-30 01:13:37 +02:00
|
|
|
@if [ "X${MANZ}" != X"" ]; then \
|
1999-07-14 20:53:34 +02:00
|
|
|
${WRKSRC}/lib-src/gzip-el.sh ${PREFIX}/lib/${DISTNAME}; \
|
1999-06-30 01:13:37 +02:00
|
|
|
GZSUFFIX=.gz; \
|
|
|
|
fi; \
|
|
|
|
${SED} -e 's|@.GZ@|'$$GZSUFFIX'|g' ${PKGDIR}/PLIST >${PLIST_SRC}
|
1999-06-29 09:48:21 +02:00
|
|
|
|
1999-06-30 01:13:37 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|