blob: 90f5335ce4fbe56b447d085d2ef1c383c346c429 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# 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.2000.01.13
CATEGORIES= japanese
MASTER_SITES= ftp://ftp.ascii.co.jp/pub/GNU/emacs-20.x/ \
${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= emacs
DISTFILES= ${DISTNAME}.tgz ${EMACS_ARC}
MAINTAINER= okazaki@be.to
BUILD_DEPENDS= ${EMACS}:${PORTSDIR}/editors/emacs20
ERRATA_FILE= Errata-2000-01-13
EXTRACT_ONLY= ${DISTNAME}.tgz
EMACS_DISTNAME= emacs-20.6
EMACS_ARC= ${EMACS_DISTNAME}.tar.gz
EMACS_SRCDIR= ${WRKDIR}/${EMACS_DISTNAME}
EXTRACT_FILES= ${EMACS_DISTNAME}/man/ack.texi \
${EMACS_DISTNAME}/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
# We use emacs20 to format texinfo files.
EMACS= emacs-20.6
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-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>
|