freebsd-ports/japanese/emacs-manual/Makefile
Satoshi Asami 7a96c39f50 o Fix checksum dependency to emacs20.
o Change port's texinfo format procedure more verbose one.  This also
     fixes the build problem on 4-current.

PR:		16357
Submitted by:	maintainer
2000-01-27 21:51:21 +00:00

54 lines
1.4 KiB
Makefile

# New ports collection makefile for: ja-emacs-manual
# Version required: 13
# Date created: 14 April 1999
# Whom: OKAZAKI Tetsurou
#
# $FreeBSD$
#
DISTNAME= emacs-20.5-man-jp
PKGNAME= ja-emacs-manual-13.1999.12.13
CATEGORIES= japanese
MASTER_SITES= ftp://ftp.ascii.co.jp/pub/GNU/ \
${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= emacs
DISTFILES= ${DISTNAME}.tgz ${EMACS_ARC}
MAINTAINER= okazaki@be.to
BUILD_DEPENDS= ${EMACS}:${PORTSDIR}/editors/emacs20
EXTRACT_ONLY= ${DISTNAME}.tgz
EMACS_DISTNAME= emacs-20.5
EMACS_ARC= ${EMACS_DISTNAME}a.tar.gz
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.
EMACS= emacs-20.5
MAKE_ENV= EMACS="${EMACS}"
post-extract:
@${CP} ${FILESDIR}/Makefile.in ${WRKSRC}/Makefile
@${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})
@${MKDIR} ${WRKDIR}/info
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>