mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-28 10:08:24 +00:00
ELFlization.
PR: ports/8232 (part of) Submitted by: KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
This commit is contained in:
parent
6ca2501982
commit
ebe6e93156
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13863
@ -3,7 +3,7 @@
|
||||
# Date created: 5 Dec 1997
|
||||
# Whom: Kazuyuki IENAGA <ienaga@jsys.co.jp>
|
||||
#
|
||||
# $Id$
|
||||
# $Id: Makefile,v 1.1.1.1 1998/05/26 15:02:10 kuriyama Exp $
|
||||
#
|
||||
|
||||
DISTNAME= xemacs-20.4
|
||||
@ -12,9 +12,11 @@ CATEGORIES= editors japanese
|
||||
MASTER_SITES= ftp://unipro.jsys.co.jp/pub/editor/xemacs/20.4/ \
|
||||
ftp://ftp.lab.kdd.co.jp/xemacs/xemacs-20.4/ \
|
||||
ftp://ftp.xemacs.org/pub/xemacs-20.4/ \
|
||||
ftp://ftp2.xemacs.org/pub/xemacs/xemacs-20.4/
|
||||
ftp://ftp2.xemacs.org/pub/xemacs/xemacs-20.4/ \
|
||||
ftp://ftp.jpl.org/pub/elisp/alpha/
|
||||
DISTFILES= xemacs-20.4.tar.gz xemacs-20.4-elc.tar.gz \
|
||||
xemacs-20.4-info.tar.gz xemacs-20.4-mule.tar.gz
|
||||
xemacs-20.4-info.tar.gz xemacs-20.4-mule.tar.gz \
|
||||
ps-print-jp.el.gz
|
||||
|
||||
MAINTAINER= kiri@kiri.toba-cmt.ac.jp
|
||||
|
||||
@ -22,10 +24,15 @@ EXTRACT_ONLY= xemacs-20.4.tar.gz xemacs-20.4-elc.tar.gz \
|
||||
xemacs-20.4-info.tar.gz xemacs-20.4-mule.tar.gz
|
||||
.for dir in \
|
||||
editors/xemacs-mule \
|
||||
japanese/xemacs japanese/xemacs-canna \
|
||||
japanese/xemacs-canna+wnn4 japanese/xemacs-canna+wnn6 \
|
||||
japanese/xemacs-wnn4 japanese/xemacs-wnn6
|
||||
.if exists(${.CURDIR}/../../${dir}/work/.build_done)
|
||||
japanese/xemacs \
|
||||
japanese/xemacs-canna \
|
||||
japanese/xemacs-canna+wnn4 \
|
||||
japanese/xemacs-canna+wnn6 \
|
||||
japanese/xemacs-wnn4 \
|
||||
japanese/xemacs-wnn6
|
||||
.if exists(${.CURDIR}/../../${dir}/work/.install_done)
|
||||
WRKDIR= ${.CURDIR}/../../${dir}/work
|
||||
.elif exists(${.CURDIR}/../../${dir}/work/.build_done)
|
||||
WRKDIR?= ${.CURDIR}/../../${dir}/work
|
||||
.endif
|
||||
.endfor
|
||||
@ -37,19 +44,25 @@ BROKEN= You should build install one of the other xemacs ports first
|
||||
|
||||
INSTALL_COOKIE= ${WRKDIR}/.install_done-${PKGNAME}
|
||||
PACKAGE_COOKIE= ${WRKDIR}/.package_done-${PKGNAME}
|
||||
TMPPLIST= ${WRKDIR}/.PLIST.mktmp-${PKGNAME}
|
||||
|
||||
USE_GMAKE= no
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= no
|
||||
CONFIGURE_ARGS= i386-unknown-freebsd --with-x11 --with-mule \
|
||||
--x-includes=${X11BASE}/include --x-libraries=${X11BASE}/lib
|
||||
CONFIGURE_ARGS= i386-unknown-freebsd \
|
||||
--with-x11 \
|
||||
--with-mule \
|
||||
--x-includes=${X11BASE}/include \
|
||||
--x-libraries=${X11BASE}/lib
|
||||
STRIP=
|
||||
MAN1= ctags.1 etags.1 gnuattach.1 gnuclient.1 gnudoit.1 \
|
||||
gnuserv.1 xemacs.1
|
||||
|
||||
INSTALL_TARGET= install-arch-indep
|
||||
|
||||
PLIST_SUB= XEMACS_DIR=xemacs-20.4
|
||||
|
||||
pre-build:
|
||||
${RM} -f ${WRKSRC}/lib-src/DOC* ${WRKSRC}/src/xemacs
|
||||
|
||||
@ -61,6 +74,10 @@ pre-install:
|
||||
fi
|
||||
|
||||
post-install:
|
||||
# install xemacs-mule.sh into ${PREFIX}/etc/rc.d
|
||||
chmod 1777 /var/run/emacs/lock
|
||||
@${MKDIR} ${PREFIX}/etc/rc.d
|
||||
@${INSTALL_SCRIPT} ${FILESDIR}/xemacs-mule.sh ${PREFIX}/etc/rc.d
|
||||
@${TOUCH} ${TOUCH_FLAGS} ${INSTALL_COOKIE}
|
||||
|
||||
post-package:
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -3,18 +3,20 @@
|
||||
# Date created: 5 Dec 1997
|
||||
# Whom: Kazuyuki IENAGA <ienaga@jsys.co.jp>
|
||||
#
|
||||
# $Id: Makefile,v 1.8 1998/09/21 02:00:37 steve Exp $
|
||||
# $Id: Makefile,v 1.9 1998/09/21 22:33:22 steve Exp $
|
||||
#
|
||||
|
||||
DISTNAME= xemacs-20.4
|
||||
PKGNAME?= xemacs-mule-20.4
|
||||
CATEGORIES?= editors
|
||||
MASTER_SITES+= ftp://unipro.jsys.co.jp/pub/editor/xemacs/20.4/ \
|
||||
MASTER_SITES= ftp://unipro.jsys.co.jp/pub/editor/xemacs/20.4/ \
|
||||
ftp://ftp.lab.kdd.co.jp/xemacs/xemacs-20.4/ \
|
||||
ftp://ftp.xemacs.org/pub/xemacs-20.4/ \
|
||||
ftp://ftp2.xemacs.org/pub/xemacs/xemacs-20.4/
|
||||
DISTFILES+= xemacs-20.4.tar.gz xemacs-20.4-elc.tar.gz \
|
||||
xemacs-20.4-info.tar.gz xemacs-20.4-mule.tar.gz
|
||||
ftp://ftp2.xemacs.org/pub/xemacs/xemacs-20.4/ \
|
||||
ftp://ftp.jpl.org/pub/elisp/alpha/
|
||||
DISTFILES= xemacs-20.4.tar.gz xemacs-20.4-elc.tar.gz \
|
||||
xemacs-20.4-info.tar.gz xemacs-20.4-mule.tar.gz \
|
||||
ps-print-jp.el.gz
|
||||
|
||||
MAINTAINER?= kiri@kiri.toba-cmt.ac.jp
|
||||
|
||||
@ -24,7 +26,7 @@ LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm \
|
||||
png.2:${PORTSDIR}/graphics/png \
|
||||
compface.1:${PORTSDIR}/mail/faces \
|
||||
${LIB_INPUT_METHOD}
|
||||
RUN_DEPENDS= ${PREFIX}/lib/xemacs-20.4/etc/BABYL:${PORTSDIR}/editors/xemacs-mule-common
|
||||
RUN_DEPENDS= ${PREFIX}/lib/xemacs-mule-20.4/etc/BABYL:${PORTSDIR}/editors/xemacs-mule-common
|
||||
|
||||
EXTRACT_ONLY= xemacs-20.4.tar.gz xemacs-20.4-elc.tar.gz \
|
||||
xemacs-20.4-info.tar.gz xemacs-20.4-mule.tar.gz
|
||||
@ -36,28 +38,26 @@ INSTALL_COOKIE= ${WRKDIR}/.install_done-${PKGNAME}
|
||||
PACKAGE_COOKIE= ${WRKDIR}/.package_done-${PKGNAME}
|
||||
GNU_CONFIGURE= yes
|
||||
USE_AUTOCONF= yes
|
||||
CONFIGURE_ARGS= i386-unknown-freebsd --with-x11 --with-mule \
|
||||
--x-includes=${X11BASE}/include --x-libraries=${X11BASE}/lib \
|
||||
${MISC_OPTIONS} ${WITH_INPUT_METHOD} ${WITH_WIDGETS} \
|
||||
--site-libraries='${SITE_LIBRARIES}' --site-includes='${SITE_INCLUDES}' \
|
||||
--infopath=/usr/local/lib/xemacs/info:/usr/local/info:/usr/X11R6/info:/usr/info:/usr/local/lib/texmf/doc/info:/usr/lib/texmf/doc:/usr/share/info
|
||||
CONFIGURE_ARGS= i386-unknown-freebsd \
|
||||
--with-clash-detection \
|
||||
--lockdir=/var/run/emacs/lock \
|
||||
--with-x11 \
|
||||
--with-mule \
|
||||
--x-includes=${X11BASE}/include \
|
||||
--x-libraries=${X11BASE}/lib \
|
||||
--site-libraries='${SITE_LIBRARIES}' \
|
||||
--site-includes='${SITE_INCLUDES}' \
|
||||
--sitelispdir=${PREFIX}/lib/xemacs-20.4/lisp:${PREFIX}/lib/xemacs-20.4/site-lisp:${PREFIX}/lib/xemacs/site-lisp:${PREFIX}/share/emacs/site-lisp \
|
||||
--infopath=${PREFIX}/lib/xemacs/info:${PREFIX}/info:${X11BASE}/info:/usr/info:${PREFIX}/lib/texmf/doc/info:/usr/lib/texmf/doc:/usr/share/info \
|
||||
${MISC_OPTIONS} ${WITH_INPUT_METHOD} ${WITH_WIDGETS}
|
||||
|
||||
STRIP=
|
||||
|
||||
INSTALL_TARGET= install-arch-dep
|
||||
|
||||
SCRIPTS_ENV= AWK=${AWK} CAT=${CAT} CP=${CP} ECHO=${ECHO} GREP=${GREP} MKDIR="${MKDIR}" \
|
||||
MV=${MV} RM=${RM} SED=${SED} TOUCH=${TOUCH} \
|
||||
SITESTARTFILE=${SITESTARTFILE} DEFAULTFILE=${DEFAULTFILE} \
|
||||
TMPL_FILES="${TMPL_FILES}" \
|
||||
ELISPDIR=${ELISPDIR} PATCHDIR=${PATCHDIR} PKGDIR=${PKGDIR} PKGLDIR=${PKGLDIR} \
|
||||
LANGUAGE=${LANGUAGE}
|
||||
PLIST_SUB= XEMACS_DIR=xemacs-20.4
|
||||
|
||||
ELISPDIR= ${PREFIX}/lib/xemacs/site-lisp
|
||||
PKGLDIR= ${.CURDIR}/../../editors/xemacs-mule/pkg
|
||||
SITESTARTFILE= site-start.el
|
||||
DEFAULTFILE= default.el
|
||||
TMPL_FILES= INSTALL DEINSTALL
|
||||
|
||||
.if defined(WNN4)
|
||||
SITE_INCLUDES= ${X11BASE}/include
|
||||
@ -85,9 +85,19 @@ WITH_INPUT_METHOD+= --with-canna=no
|
||||
WITH_WIDGETS= --with-menubars=lucid --with-scrollbars=lucid --with-dialogs=athena
|
||||
MISC_OPTIONS= --with-xface --with-xpm --with-sound=native --with-pop --with-xfs
|
||||
|
||||
LANGUAGE?=
|
||||
.if (${LANGUAGE} == "Japanese")
|
||||
PLIST= ${PKGLDIR}/PLIST-ja
|
||||
.else
|
||||
PLIST= ${PKGLDIR}/PLIST
|
||||
.endif
|
||||
|
||||
pre-build:
|
||||
@find ${WRKSRC} \( -name \*.orig -o -name \*~ \) -exec ${RM} -f \{} \;
|
||||
@${RM} -f ${WRKSRC}/lib-src/DOC* ${WRKSRC}/src/xemacs
|
||||
.if (${LANGUAGE} == "Japanese")
|
||||
@${GZCAT} ${DISTDIR}/ps-print-jp.el.gz > ${WRKSRC}/lisp/packages/ps-print.el
|
||||
.endif
|
||||
|
||||
post-install::
|
||||
.for file in b2m ctags etags gnuclient xemacs-20.4
|
||||
@ -102,8 +112,5 @@ post-install::
|
||||
post-package:
|
||||
@${TOUCH} ${TOUCH_FLAGS} ${PACKAGE_COOKIE}
|
||||
|
||||
pre-clean:
|
||||
@(cd ${FILESDIR}; ${RM} -f ${TMPL_FILES})
|
||||
@(cd ${PKGDIR}; ${RM} -f PLIST ${TMPL_FILES})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
|
44
editors/xemacs21-mule/pkg-plist
Normal file
44
editors/xemacs21-mule/pkg-plist
Normal file
@ -0,0 +1,44 @@
|
||||
bin/etags
|
||||
bin/ctags
|
||||
bin/b2m
|
||||
bin/gnuclient
|
||||
bin/rcs-checkin
|
||||
bin/pstogif
|
||||
bin/install-sid
|
||||
bin/send-pr
|
||||
bin/gnudoit
|
||||
bin/gnuattach
|
||||
bin/xemacs-20.4
|
||||
@exec ln -sf %D/%F %B/xemacs
|
||||
@unexec rm %B/xemacs
|
||||
lib/%%XEMACS_DIR%%/i386-unknown-freebsd/make-path
|
||||
lib/%%XEMACS_DIR%%/i386-unknown-freebsd/wakeup
|
||||
lib/%%XEMACS_DIR%%/i386-unknown-freebsd/profile
|
||||
lib/%%XEMACS_DIR%%/i386-unknown-freebsd/make-docfile
|
||||
lib/%%XEMACS_DIR%%/i386-unknown-freebsd/digest-doc
|
||||
lib/%%XEMACS_DIR%%/i386-unknown-freebsd/sorted-doc
|
||||
lib/%%XEMACS_DIR%%/i386-unknown-freebsd/movemail
|
||||
lib/%%XEMACS_DIR%%/i386-unknown-freebsd/cvtmail
|
||||
lib/%%XEMACS_DIR%%/i386-unknown-freebsd/fakemail
|
||||
lib/%%XEMACS_DIR%%/i386-unknown-freebsd/yow
|
||||
lib/%%XEMACS_DIR%%/i386-unknown-freebsd/hexl
|
||||
lib/%%XEMACS_DIR%%/i386-unknown-freebsd/gnuserv
|
||||
lib/%%XEMACS_DIR%%/i386-unknown-freebsd/mmencode
|
||||
lib/%%XEMACS_DIR%%/i386-unknown-freebsd/rcs2log
|
||||
lib/%%XEMACS_DIR%%/i386-unknown-freebsd/vcdiff
|
||||
lib/%%XEMACS_DIR%%/i386-unknown-freebsd/gzip-el.sh
|
||||
lib/%%XEMACS_DIR%%/i386-unknown-freebsd/install-sid
|
||||
lib/%%XEMACS_DIR%%/i386-unknown-freebsd/send-pr
|
||||
lib/%%XEMACS_DIR%%/i386-unknown-freebsd/tm-au
|
||||
lib/%%XEMACS_DIR%%/i386-unknown-freebsd/tm-file
|
||||
lib/%%XEMACS_DIR%%/i386-unknown-freebsd/tm-html
|
||||
lib/%%XEMACS_DIR%%/i386-unknown-freebsd/tm-image
|
||||
lib/%%XEMACS_DIR%%/i386-unknown-freebsd/tm-mpeg
|
||||
lib/%%XEMACS_DIR%%/i386-unknown-freebsd/tm-plain
|
||||
lib/%%XEMACS_DIR%%/i386-unknown-freebsd/tm-ps
|
||||
lib/%%XEMACS_DIR%%/i386-unknown-freebsd/tmdecode
|
||||
lib/%%XEMACS_DIR%%/i386-unknown-freebsd/add-little-package.sh
|
||||
lib/%%XEMACS_DIR%%/i386-unknown-freebsd/add-big-package.sh
|
||||
lib/%%XEMACS_DIR%%/i386-unknown-freebsd/DOC
|
||||
lib/%%XEMACS_DIR%%/i386-unknown-freebsd/config.values
|
||||
@dirrm lib/%%XEMACS_DIR%%/i386-unknown-freebsd
|
Loading…
Reference in New Issue
Block a user