1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

New port for emacs-21.1.

This commit is contained in:
Shigeyuki Fukushima 2001-10-23 16:36:02 +00:00
parent 4f129a47a6
commit b1acfd0dd8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=49130
10 changed files with 1989 additions and 0 deletions

View File

@ -31,6 +31,7 @@
SUBDIR += emacs20
SUBDIR += emacs20-dl
SUBDIR += emacs20-mule-devel
SUBDIR += emacs21
SUBDIR += fb
SUBDIR += fine
SUBDIR += flim-emacs

57
editors/emacs21/Makefile Normal file
View File

@ -0,0 +1,57 @@
# New ports collection makefile for: GNU emacs
# Date created: 11 October 2001
# Whom: MANTANI Nobutaka <nobutaka@nobutaka.com>
#
# $FreeBSD$
#
PORTNAME= emacs
PORTVERSION= 21.1
CATEGORIES= editors ipv6
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
PATCH_SITES= http://www.nijino.com/ari/patches/
PATCHFILES= emacs-21.0.104-fontset.patch.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= nobutaka@nobutaka.com
.if !defined(WITHOUT_X11)
LIB_DEPENDS= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d \
jpeg.9:${PORTSDIR}/graphics/jpeg \
tiff.4:${PORTSDIR}/graphics/tiff \
ungif.5:${PORTSDIR}/graphics/libungif \
png.5:${PORTSDIR}/graphics/png
USE_XLIB= yes
USE_XPM= yes
.endif
USE_AUTOCONF= yes
USE_GMAKE= yes
CONFIGURE_TARGET= ${MACHINE_ARCH}--freebsd
.if defined(WITHOUT_X11)
CONFIGURE_ARGS= --with-x=no
.endif
MAN1= ctags.1 emacs.1 etags.1 gfdl.1
PLIST_SUB= EMACS_VER=${PORTVERSION} EMACS_ARCH=${CONFIGURE_TARGET}
TEXIFILES= ada-mode autotype cc-mode cl dired-x ebrowse ediff \
faq emacs emacs-mime eshell eudc forms gnus idlwave \
info message mh-e pcl-cvs reftex sc speedbar vip \
viper widget woman
post-patch:
@${RM} -f ${WRKSRC}/info/*
@(cd ${WRKSRC}/man ; \
for f in ${TEXIFILES} ; do \
${CP} $${f}.texi $${f}.texi.orig ; \
${SED} -e "s/@dircategory Emacs/@dircategory The Emacs editor and associated tools/" < $${f}.texi.orig > $${f}.texi ; \
${RM} $${f}.texi.orig ; \
done)
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

3
editors/emacs21/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (emacs-21.1.tar.gz) = 3e0de8cf3ffe92e04c748842f7c64e62
MD5 (leim-21.1.tar.gz) = 57b9d7c902f8d6a29aa28761d5edeae0
MD5 (emacs-21.0.104-fontset.patch.gz) = f4acb56506f6e214aeb76f8eeb3f6b8a

View File

@ -0,0 +1,34 @@
--- configure.in.orig Fri Oct 19 23:09:18 2001
+++ configure.in Mon Oct 22 21:19:32 2001
@@ -179,6 +179,15 @@
machine='' opsys='' unported=no
case "${canonical}" in
+ ## FreeBSD ports
+ *-*-freebsd* )
+ opsys=freebsd
+ case "${canonical}" in
+ alpha*-*-freebsd*) machine=alpha ;;
+ i[3456]86-*-freebsd*) machine=intel386 ;;
+ esac
+ ;;
+
## NetBSD ports
*-*-netbsd* )
opsys=netbsd
@@ -1017,7 +1026,6 @@
;;
*-sysv4.2uw* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;;
*-386bsd* ) opsys=386bsd ;;
- *-freebsd* ) opsys=freebsd ;;
*-nextstep* ) opsys=nextstep ;;
## Otherwise, we'll fall through to the generic opsys code at the bottom.
esac
@@ -2007,6 +2015,7 @@
# Solaris requires -lintl if you want strerror (which calls dgettext)
# to return localized messages.
AC_CHECK_LIB(intl, dgettext)
+AC_CHECK_LIB(xpg4, _xpg4_setrunelocale)
AC_MSG_CHECKING(whether localtime caches TZ)
AC_CACHE_VAL(emacs_cv_localtime_cache,

View File

@ -0,0 +1,27 @@
--- lib-src/Makefile.in.orig Wed Aug 30 02:12:42 2000
+++ lib-src/Makefile.in Thu Oct 11 01:54:10 2001
@@ -85,6 +85,7 @@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
# By default, we uphold the dignity of our programs.
INSTALL_STRIP =
@@ -278,7 +279,7 @@
if [ `(cd ${archlibdir} && /bin/pwd)` \
!= `(cd ${srcdir} && /bin/pwd)` ]; then \
for file in ${SCRIPTS}; do \
- $(INSTALL_PROGRAM) ${srcdir}/$$file ${archlibdir}/$$file; \
+ $(INSTALL_SCRIPT) ${srcdir}/$$file ${archlibdir}/$$file; \
done ; \
fi
@@ -290,7 +291,7 @@
chmod a+rx ${bindir}/$${file}; \
done
for file in ${INSTALLABLE_SCRIPTS} ; do \
- $(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/$${file} ; \
+ $(INSTALL_SCRIPT) ${srcdir}/$${file} ${bindir}/$${file} ; \
chmod a+rx ${bindir}/$${file}; \
done

View File

@ -0,0 +1,11 @@
--- man/Makefile.in.orig Thu Apr 26 02:17:33 2001
+++ man/Makefile.in Mon Oct 22 20:43:45 2001
@@ -31,7 +31,7 @@
# The makeinfo program is part of the Texinfo distribution.
-MAKEINFO = makeinfo
+MAKEINFO = makeinfo --no-split
INFO_TARGETS = ../info/emacs ../info/ccmode ../info/cl \
../info/dired-x ../info/ediff ../info/forms ../info/gnus \
../info/info ../info/message ../info/mh-e ../info/reftex \

View File

@ -0,0 +1 @@
GNU editing macros

13
editors/emacs21/pkg-descr Normal file
View File

@ -0,0 +1,13 @@
GNU Emacs is a self-documenting, customizable, extensible real-time
display editor.
Users new to Emacs will be able to use basic features fairly rapidly
by studying the tutorial and using the self-documentation features.
Emacs also has an extensive interactive manual browser. It is easily
extensible since its editing commands are written in Lisp.
GNU Emacs's many special packages handle mail reading (RMail) and
sending (Mail), outline editing (Outline), compiling (Compile),
running subshells within Emacs windows (Shell), running a Lisp
read-eval-print loop (Lisp-Interaction-Mode), automated psychotherapy
(Doctor :-) and many more.

View File

@ -0,0 +1,8 @@
********************************************************************
* NOTE: *
* This package does not include *
* LEIM: Libraries of Emacs Input Method *
* package. *
* You can find leim port in the following directory: *
* /usr/ports/editors/leim21 *
********************************************************************

1834
editors/emacs21/pkg-plist Normal file

File diff suppressed because it is too large Load Diff