# New ports collection makefile for: GNU emacs # Version required: 20.3 # Date created: 29 October 1994 # Whom: jkh # # $Id: Makefile,v 1.40 1999/03/11 21:47:10 scrappy Exp $ # DISTNAME= emacs-20.3 CATEGORIES= editors MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= emacs MAINTAINER= jseger@FreeBSD.org Y2K= http://www.gnu.org/software/year2000.html USE_AUTOCONF= yes USE_GMAKE= yes CONFIGURE_TARGET= ${MACHINE_ARCH}--freebsd .if !defined(NO_X11) CONFIGURE_ARGS= --with-x-toolkit --with-pop USE_XLIB= yes .else CONFIGURE_ARGS= --with-x=no --with-pop .endif MAKE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}" MAN1= emacs.1 etags.1 ctags.1 PLIST_SUB= EMACS_VER=20.3 EMACS_ARCH=${CONFIGURE_TARGET} .if defined(USE_XPGLIB) .if (${USE_XPGLIB} == "YES") CONFIGURE_ARGS+= --with-xpg4 .endif .endif pre-build: ${RM} -rf ${WRKSRC}/info/* .include