blob: 1535d62f7dea899a8b84e0882fd61ab15a21e3bf (
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
|
# New ports collection makefile for: Basic XEmacs elisp packages with Mule
# Date created: 03 June 2000
# Whom: KIRIYAMA Kazuhiko<kiri@pis.toba-cmt.ac.jp>
#
# $FreeBSD$
#
PORTNAME= xemacs-basic-mule-packages
PORTVERSION= 1.4
CATEGORIES= editors elisp
MASTER_SITES= ${MASTER_SITE_XEMACS} \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= packages kiri
DISTFILES= \
egg-its-1.26-pkg.tar.gz \
elib-1.08-pkg.tar.gz \
locale-1.18-pkg.tar.gz \
mule-base-1.39-pkg.tar.gz \
skk-1.19-pkg.tar.gz
DIST_SUBDIR= xemacs
MAINTAINER= kiri@FreeBSD.org
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PACKAGES_SUBDIR}
XEMACSDIR= ${PREFIX}/lib/xemacs
PACKAGES_SUBDIR= mule-packages
do-extract:
@${MKDIR} ${WRKSRC}
.for f in ${DISTFILES}
@${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DIST_SUBDIR}/${f} \
${EXTRACT_AFTER_ARGS} -C ${WRKSRC}
.endfor
do-install:
${MKDIR} ${XEMACSDIR}
${CP} -R ${WRKSRC} ${XEMACSDIR}
post-install:
@cd ${WRKDIR} && \
${FIND} ${PACKAGES_SUBDIR} -type f|sort|${SED} 's:^:lib/xemacs/:' >> ${TMPPLIST}; \
${FIND} ${PACKAGES_SUBDIR}/*/* -type d|sort -r|${SED} 's:^:@dirrm lib/xemacs/:'>> ${TMPPLIST}
@${ECHO_CMD} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR}/* 2>/dev/null || true' >> ${TMPPLIST}
@${ECHO_CMD} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR} 2>/dev/null || true' >> ${TMPPLIST}
@${ECHO_CMD} '@unexec rmdir %D/lib/xemacs 2>/dev/null || true' >> ${TMPPLIST}
@${ECHO_MSG} " This is the basic mule package for XEmacs(version over 21). You might be"
@${ECHO_MSG} "enough with this package installing basic package(editors/xemacs-packages)"
@${ECHO_MSG} "altogether for working at XEmacs but if you think it insufficient,you can"
@${ECHO_MSG} "install other packages provided by XEmacs.org with editors/xemacs-*-packages"
@${ECHO_MSG} "ports. These ports are prepared for corresponding XEmacs packages except for"
@${ECHO_MSG} "xemacs-packages, xemacs-basic-packages and xemacs-additional-packages. Where"
@${ECHO_MSG} "xemacs-additional-packages is a meta ports for packages out of xemacs, xemacs"
@${ECHO_MSG} "mule-basic and xemacs mule category packages."
@${ECHO_MSG} " You can also install with running it as root and using the 'Manage Packages'"
@${ECHO_MSG} "menu within the 'Options' menu of the menubar. But using this xemacs package"
@${ECHO_MSG} "managing, you could not control under ports managing ;-)"
.include <bsd.port.mk>
|