1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/editors/emacs20/Makefile

48 lines
1.0 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: GNU emacs
# Version required: 20.4
# Date created: 29 October 1994
# Whom: jkh
#
# $Id: Makefile,v 1.41 1999/06/25 22:05:58 jseger Exp $
#
DISTNAME= emacs-20.4
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
1998-09-01 02:29:51 +00:00
MAKE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
1996-11-17 07:01:32 +00:00
MAN1= emacs.1 etags.1 ctags.1
PLIST_SUB= EMACS_VER=20.4 EMACS_ARCH=${CONFIGURE_TARGET}
.if defined(USE_XPG4)
.if (${USE_XPG4} == "YES" || ${USE_XPG4} == "yes")
CONFIGURE_ARGS+= --with-xpg4
.endif
.endif
pre-fetch:
.if !defined(USE_XPG4)
@${ECHO_MSG} "NOTE: You can have international locale library support "
@${ECHO_MSG} "by adding \"USE_XPG4=YES\" to argument of make."
.endif
pre-build:
${RM} -rf ${WRKSRC}/info/*
.include <bsd.port.mk>