mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
877b8a533b
WITHOUT_FOO. Begin the process of reserving these prefixes for user defined options. No comment by: ports
47 lines
1002 B
Makefile
47 lines
1002 B
Makefile
# New ports collection makefile for: GNU emacs
|
|
# Date created: 29 October 1994
|
|
# Whom: jkh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= emacs
|
|
PORTVERSION= 20.6
|
|
CATEGORIES= editors ipv6
|
|
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(WITHOUT_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.6 EMACS_ARCH=${CONFIGURE_TARGET}
|
|
WRKSRC= ${WRKDIR}/emacs-20.6
|
|
|
|
.if defined(WITH_XPG4)
|
|
CONFIGURE_ARGS+= --with-xpg4
|
|
.endif
|
|
|
|
pre-fetch:
|
|
.if !defined(WITH_XPG4)
|
|
@${ECHO_MSG} "NOTE: You can have international locale library support "
|
|
@${ECHO_MSG} "by adding \"WITH_XPG4=yes\" to argument of make."
|
|
.endif
|
|
|
|
pre-build:
|
|
${RM} -rf ${WRKSRC}/info/*
|
|
|
|
.include <bsd.port.mk>
|