1994-08-21 15:19:28 +02:00
|
|
|
# New ports collection makefile for: GNU emacs
|
1994-10-29 22:49:46 +01:00
|
|
|
# Date created: 29 October 1994
|
1994-08-21 15:19:28 +02:00
|
|
|
# Whom: jkh
|
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1994-08-21 15:19:28 +02:00
|
|
|
#
|
|
|
|
|
2000-04-14 02:25:54 +02:00
|
|
|
PORTNAME= emacs
|
2001-12-07 13:37:34 +01:00
|
|
|
PORTVERSION= ${EMACS_VER}
|
2004-02-04 06:21:48 +01:00
|
|
|
PORTREVISION= 3
|
2001-05-22 20:16:59 +02:00
|
|
|
CATEGORIES+= editors ipv6
|
1996-11-18 11:25:35 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
1999-01-27 08:41:29 +01:00
|
|
|
MASTER_SITE_SUBDIR= emacs
|
1995-04-09 08:11:17 +02:00
|
|
|
|
2001-12-07 13:37:34 +01:00
|
|
|
PATCH_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
PATCH_SITE_SUBDIR= shige/emacs
|
|
|
|
PATCHFILES= emacs-20.7-linespace-patch.gz
|
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
|
2001-09-17 19:40:31 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:12:51 +01:00
|
|
|
COMMENT= GNU editing macros
|
1997-07-17 12:38:15 +02:00
|
|
|
|
2004-03-28 07:02:50 +02:00
|
|
|
ONLY_FOR_ARCHS= i386 alpha
|
2002-01-06 07:20:22 +01:00
|
|
|
USE_AUTOCONF_VER=213
|
1995-04-09 08:11:17 +02:00
|
|
|
USE_GMAKE= yes
|
2001-12-07 13:37:34 +01:00
|
|
|
EMACS_VER= 20.7
|
2004-04-02 09:14:19 +02:00
|
|
|
LATEST_LINK= emacs20
|
1999-03-08 08:28:36 +01:00
|
|
|
CONFIGURE_TARGET= ${MACHINE_ARCH}--freebsd
|
2001-09-22 23:56:21 +02:00
|
|
|
.if defined(WITHOUT_X11)
|
|
|
|
CONFIGURE_ARGS= --with-x=no --with-pop
|
|
|
|
.else
|
1999-03-08 08:28:36 +01:00
|
|
|
CONFIGURE_ARGS= --with-x-toolkit --with-pop
|
1999-06-26 00:05:58 +02:00
|
|
|
USE_XLIB= yes
|
|
|
|
.endif
|
2001-12-07 13:37:34 +01:00
|
|
|
CONFIGURE_ARGS+= --with-line-space
|
1999-01-23 15:28:28 +01:00
|
|
|
|
1998-09-01 04:29:51 +02:00
|
|
|
MAKE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
|
1996-11-17 08:01:32 +01:00
|
|
|
MAN1= emacs.1 etags.1 ctags.1
|
2001-12-07 13:37:34 +01:00
|
|
|
PLIST_SUB= EMACS_VER=${EMACS_VER} EMACS_ARCH=${CONFIGURE_TARGET}
|
|
|
|
|
|
|
|
RECOMPILE_ELS= dired.el startup.el
|
1994-08-21 15:19:28 +02:00
|
|
|
|
1997-12-14 15:52:03 +01:00
|
|
|
pre-build:
|
|
|
|
${RM} -rf ${WRKSRC}/info/*
|
1995-06-26 07:58:07 +02:00
|
|
|
|
2001-12-07 13:37:34 +01:00
|
|
|
post-build:
|
|
|
|
# to rebuild emacs because startup.elc should be updated
|
|
|
|
@(cd ${WRKSRC}/lisp; \
|
|
|
|
${WRKSRC}/src/emacs -batch -q -no-init-file \
|
|
|
|
-f batch-byte-compile ${RECOMPILE_ELS} ; \
|
|
|
|
)
|
|
|
|
@${RM} -f ${WRKSRC}/src/emacs ${WRKSRC}/src/emacs-${EMACS_VER}*
|
|
|
|
@(cd ${BUILD_WRKSRC}; \
|
|
|
|
${SETENV} ${MAKE_ENV} \
|
|
|
|
${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET} ;\
|
|
|
|
)
|
|
|
|
|
1994-08-21 15:19:28 +02:00
|
|
|
.include <bsd.port.mk>
|