diff --git a/editors/emacs19/Makefile b/editors/emacs19/Makefile index f88f3d9affa1..aac853660cc5 100644 --- a/editors/emacs19/Makefile +++ b/editors/emacs19/Makefile @@ -1,49 +1,50 @@ # New ports collection makefile for: GNU emacs # Date created: 29 October 1994 # Whom: jkh # # $FreeBSD$ # PORTNAME= emacs PORTVERSION= 19.34b PORTREVISION= 1 CATEGORIES= editors MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= emacs MAINTAINER= ports@FreeBSD.org COMMENT= GNU editing macros ONLY_FOR_ARCHS= i386 +DEPRECATED= "editors/emacs is recommended instead for new installations" EMACS_VERSION= 19.34 CONFIGURE_TARGET= ${MACHINE_ARCH}--freebsd PLIST_SUB= EMACS_VERSION=${EMACS_VERSION} EMACS_ARCH=${CONFIGURE_TARGET} NO_LATEST_LINK= yes WRKSRC= ${WRKDIR}/emacs-19.34 GNU_CONFIGURE= yes USE_GMAKE= yes .if !defined(WITHOUT_X11) CONFIGURE_ARGS= --with-x-toolkit --sharedstatedir=/var/run USE_XLIB= yes .else CONFIGURE_ARGS= --with-x=no --sharedstatedir=/var/run .endif STRIP= MAN1= emacs.1 etags.1 ctags.1 post-install: .for file in emacs-19.34 emacsclient etags ctags b2m ${STRIP_CMD} ${PREFIX}/bin/${file} .endfor .for info in emacs vip viper forms gnus mh-e cl sc dired-x ediff ccmode message install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir .endfor # install emacs.sh into ${PREFIX}/etc/rc.d ${CHMOD} 1777 /var/run/emacs/lock @${MKDIR} ${PREFIX}/etc/rc.d @${INSTALL_SCRIPT} ${FILESDIR}/emacs.sh ${PREFIX}/etc/rc.d .include diff --git a/editors/emacs20/Makefile b/editors/emacs20/Makefile index 0088fd6fcc08..dbff0df97b26 100644 --- a/editors/emacs20/Makefile +++ b/editors/emacs20/Makefile @@ -1,58 +1,60 @@ # New ports collection makefile for: GNU emacs # Date created: 29 October 1994 # Whom: jkh # # $FreeBSD$ # PORTNAME= emacs PORTVERSION= ${EMACS_VER} PORTREVISION= 3 CATEGORIES+= editors ipv6 MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= emacs PATCH_SITES= ${MASTER_SITE_LOCAL} PATCH_SITE_SUBDIR= shige/emacs PATCHFILES= emacs-20.7-linespace-patch.gz PATCH_DIST_STRIP= -p1 MAINTAINER?= ports@FreeBSD.org COMMENT?= GNU editing macros ONLY_FOR_ARCHS= i386 alpha +DEPRECATED= "editors/emacs is recommended instead for new installations" + USE_AUTOCONF_VER=213 USE_GMAKE= yes EMACS_VER= 20.7 LATEST_LINK?= ${PKGNAMEPREFIX}emacs20 CONFIGURE_TARGET= ${MACHINE_ARCH}--freebsd .if defined(WITHOUT_X11) CONFIGURE_ARGS= --with-x=no --with-pop .else CONFIGURE_ARGS= --with-x-toolkit --with-pop USE_XLIB= yes .endif CONFIGURE_ARGS+= --with-line-space MAKE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}" MAN1= emacs.1 etags.1 ctags.1 PLIST_SUB= EMACS_VER=${EMACS_VER} EMACS_ARCH=${CONFIGURE_TARGET} RECOMPILE_ELS= dired.el startup.el pre-build: ${RM} -rf ${WRKSRC}/info/* 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} ;\ ) .include