blob: 9f073f6f87b224526675a2301c05fd783bc221b4 (
plain) (
blame)
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
|
# New ports collection makefile for: uim-el
# Date created: 24 December 2005
# Whom: MANTANI Nobutaka <nobutaka@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= uim-el
PORTVERSION= 1.5.4
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
DISTNAME= uim-${PORTVERSION}
MAINTAINER= nobutaka@freebsd.org
COMMENT?= Emacs lisp for uim input method library
PROJECTHOST= uim
CONFLICTS?= uim-el-xemacs21-mule-[0-9]* \
uim-el-emacs21-[0-9]*
RUN_DEPENDS= uim-el-agent:${PORTSDIR}/textproc/uim
USE_PERL5_BUILD=yes
USE_GMAKE= yes
USE_ICONV= yes
USE_EMACS= yes
GNU_CONFIGURE= yes
BUILD_WRKSRC= ${WRKSRC}/emacs
INSTALL_WRKSRC= ${WRKSRC}/emacs
CONFIGURE_ARGS?=--enable-emacs --with-lispdir=${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}
CONFIGURE_ENV= EMACS="${EMACS_CMD}" CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LIBS="${LIBS} -L${LOCALBASE}/lib"
DOCSDIR_JA= ${PREFIX}/share/doc/ja/uim-el
PLIST_SUB+= DOCSDIR_JA="${DOCSDIR_JA:S,^${PREFIX}/,,}"
.if !defined(NOPORTDOCS)
post-install:
${MKDIR} ${DOCSDIR}
${MKDIR} ${DOCSDIR_JA}
${INSTALL_DATA} ${WRKSRC}/emacs/README ${DOCSDIR}/README
${INSTALL_DATA} ${WRKSRC}/emacs/README.ja ${DOCSDIR_JA}/README.ja
.endif
.include <bsd.port.mk>
|