# New ports collection makefile for: ja-emacs-manual # Date created: 14 April 1999 # Whom: OKAZAKI Tetsurou # # $FreeBSD$ # PORTNAME= emacs-manual PORTVERSION= 13.20000303 CATEGORIES= japanese MASTER_SITES= ftp://ftp.ascii.co.jp/pub/GNU/emacs-20.x/ \ ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= emacs DISTNAME= emacs-20.6-man-jp DISTFILES= ${DISTNAME}.tgz ${EMACS_ARC} MAINTAINER= okazaki@FreeBSD.org COMMENT= Japanese translation of the GNU Emacs Manual EMACS_PORT_NAME= emacs20 EMACS_NO_RUN_DEPENDS= YES USE_REINPLACE= yes ERRATA_FILE= EXTRACT_ONLY= ${DISTNAME}.tgz EMACS_DISTNAME= emacs-${EMACS_VER} EMACS_ARC= ${EMACS_DISTNAME}.tar.gz EMACS_SRCDIR= ${WRKDIR}/${EMACS_DISTNAME} EXTRACT_FILES= ${EMACS_DISTNAME}/man/ack.texi TEXINFMT_EL= ${LOCALBASE}/${EMACS_LIBDIR_WITH_VER}/lisp/textmodes/texinfmt.el # We must apply this patch at first. EXTRA_PATCHES= ${WRKSRC}/patch-texinfmt.el .if defined(ERRATA_FILE) && !empty(ERRATA_FILE) DISTFILES+= ${ERRATA_FILE}.tgz EXTRACT_ONLY+= ${ERRATA_FILE}.tgz EXTRA_PATCHES+= ${WRKDIR}/${ERRATA_FILE} .endif EXTRACT_DEPENDS+= ${TEXINFMT_EL}:${EMACS_PORTSDIR} INFO= emacs-ja TEXINFO= emacs.texi EMACS_ARGS= -batch -nw --multibyte -no-init-file -no-site-file EMACS_LOADLIBS= --load=texinfmt.el --load=PORT_TEXIFMT.MK .include .if defined(PACKAGE_BUILDING) .if ${OSVERSION} < 500000 IGNORE= is broken: hangs during build .endif .endif post-extract: ${CP} ${FILESDIR}/PORT_TEXIFMT.MK ${WRKSRC} @(cd ${WRKDIR} && \ ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${EMACS_ARC} ${EXTRACT_AFTER_ARGS} ${EXTRACT_FILES} ; \ ${CP} ${EXTRACT_FILES} ${WRKSRC}) ${CP} ${TEXINFMT_EL} ${WRKSRC} ${MKDIR} ${WRKDIR}/info # workaround target (please delete after emacs-20.7-man-jp is released). pre-patch: cd ${WRKSRC}; \ ${PATCH} ${PATCH_ARGS} < ${FILESDIR}/extra-patch-texinfmt.el.patch post-patch: cd ${WRKSRC}; \ ${REINPLACE_CMD} -E -e 's/(@[^@]*ref{.*,.*,.*, *elisp),/\1-ja,/;' *.texi pre-build: @${ECHO_MSG} "===> Now start formatting texinfo. Please wait." do-build: cd ${WRKSRC}; for f in ${TEXINFO}; do \ ${EMACS_CMD} ${EMACS_ARGS} ${EMACS_LOADLIBS} \ --eval "(port-texinfo-format \"$$f\" 'junet)"; \ done post-build: @${ECHO_MSG} "===> Done." do-install: .for i in ${INFO} ${INSTALL_DATA} ${WRKDIR}/info/$i.info ${PREFIX}/${INFO_PATH} .endfor post-install: .for i in ${INFO} install-info ${PREFIX}/${INFO_PATH}/$i.info ${PREFIX}/${INFO_PATH}/dir .endfor .include -1.2.2 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Unbreak rsync comatibility when long opts ("--server", "--sender"arved2006-08-072-1/+100
* - Update to 4.6mnag2006-06-032-5/+4
* shells/scponly cannot work with rsyncedwin2006-05-101-0/+1
* - Update to 4.4barner2006-01-313-15/+4
* [Maintainer update] shells/scponly: Update to 4.3.edwin2005-12-294-27/+16
* [Maintainer update] shells/scponly: Fix WinSCP compativility and etcedwin2005-12-282-2/+30
* o Update to 4.2.garga2005-12-232-20/+29
* Fix svn issue with scponly via ssh+svn://.nork2005-06-201-2/+3
* Bump PORTREVISION by previous commit.nork2005-06-191-1/+1
* Add support ssh+svn://.nork2005-06-191-0/+9
* - Update to 4.1leeym2005-04-143-16/+4
* Scponly validates dangerous arguments since version 4.0. However,vs2004-12-152-1/+13
* - Update to 4.0pav2004-12-053-19/+24
* Update to 3.11krion2004-07-174-15/+27
* Remove old version's SIZE.nork2004-03-201-1/+0
* Update to 3.9(support for WinSCP3).nork2004-03-205-30/+37