1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/editors/emacs23/Makefile

48 lines
1.2 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: GNU emacs
# Date created: 29 October 1994
# Whom: jkh
#
1999-08-25 05:57:29 +00:00
# $FreeBSD$
#
2000-04-14 00:25:54 +00:00
PORTNAME= emacs
PORTVERSION= 19.34b
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= emacs
MAINTAINER= ports@FreeBSD.org
Y2K= http://www.gnu.org/software/year2000.html
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=
1996-11-17 07:01:32 +00:00
MAN1= emacs.1 etags.1 ctags.1
post-install:
.for file in emacs-19.34 emacsclient etags ctags b2m
strip ${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
1999-08-22 19:01:07 +00:00
${CHMOD} 1777 /var/run/emacs/lock
@${MKDIR} ${PREFIX}/etc/rc.d
@${INSTALL_SCRIPT} ${FILESDIR}/emacs.sh ${PREFIX}/etc/rc.d
.include <bsd.port.mk>