1999-05-19 13:24:00 +00:00
|
|
|
# New ports collection makefile for: ja-emacs-manual
|
|
|
|
# Version required: 13
|
|
|
|
# Date created: 14 April 1999
|
|
|
|
# Whom: OKAZAKI Tetsurou
|
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1999-05-19 13:24:00 +00:00
|
|
|
#
|
|
|
|
|
2000-01-08 18:52:31 +00:00
|
|
|
DISTNAME= emacs-20.5-man-jp
|
|
|
|
PKGNAME= ja-emacs-manual-13.1999.12.13
|
1999-05-19 13:24:00 +00:00
|
|
|
CATEGORIES= japanese
|
1999-06-06 16:30:18 +00:00
|
|
|
MASTER_SITES= ftp://ftp.ascii.co.jp/pub/GNU/
|
|
|
|
EXTRACT_SUFX= .tgz
|
1999-05-19 13:24:00 +00:00
|
|
|
|
|
|
|
MAINTAINER= okazaki@be.to
|
|
|
|
|
2000-01-08 18:52:31 +00:00
|
|
|
BUILD_DEPENDS= ${EMACS}:${PORTSDIR}/editors/emacs20 \
|
1999-11-21 15:22:38 +00:00
|
|
|
/nonexistent:${PORTSDIR}/editors/emacs20:checksum
|
1999-08-20 21:28:28 +00:00
|
|
|
|
1999-06-06 16:30:18 +00:00
|
|
|
# EMACS_ARC is fetched by BUILD_DEPENDS
|
2000-01-08 18:52:31 +00:00
|
|
|
EMACS_DISTNAME= emacs-20.5
|
|
|
|
EMACS_ARC= ${EMACS_DISTNAME}a.tar.gz
|
1999-05-19 13:24:00 +00:00
|
|
|
EMACS_SRCDIR= ${WRKDIR}/${EMACS_DISTNAME}
|
|
|
|
EXTRACT_FILES= ${EMACS_DISTNAME}/man/ack.texi \
|
|
|
|
${EMACS_DISTNAME}/lisp/textmodes/texinfmt.el
|
|
|
|
|
|
|
|
# We use emacs20 to format texinfo files.
|
2000-01-08 18:52:31 +00:00
|
|
|
EMACS= emacs-20.5
|
1999-05-19 13:24:00 +00:00
|
|
|
FORMAT_FLAG= t
|
|
|
|
|
|
|
|
MAKE_ENV= EMACS="${EMACS}" FORMAT_FLAG="${FORMAT_FLAG}"
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@${CP} ${FILESDIR}/Makefile.in ${WRKSRC}/Makefile
|
|
|
|
@(cd ${WRKDIR} && \
|
1999-11-21 15:22:38 +00:00
|
|
|
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${EMACS_ARC} ${EXTRACT_AFTER_ARGS} ${EXTRACT_FILES} ; \
|
|
|
|
${CP} ${EXTRACT_FILES} ${WRKSRC})
|
|
|
|
@${MKDIR} ${WRKDIR}/info
|
1999-05-19 13:24:00 +00:00
|
|
|
|
|
|
|
pre-patch:
|
|
|
|
@${PATCH} ${PATCH_ARGS} < ${WRKSRC}/patch-texinfmt.el
|
|
|
|
|
|
|
|
pre-build:
|
|
|
|
@${ECHO_MSG} "===> Now start formatting texinfo. Please wait."
|
|
|
|
|
|
|
|
post-build:
|
|
|
|
@${ECHO_MSG} "===> Done."
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
install-info ${PREFIX}/info/emacs-ja ${PREFIX}/info/dir
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|