1998-12-15 10:22:46 -05:00
|
|
|
# New ports collection makefile for: skk-elisp
|
|
|
|
# Date created: 31 Oct 1998
|
|
|
|
# Whom: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
|
|
|
|
#
|
1999-08-25 01:28:01 -04:00
|
|
|
# $FreeBSD$
|
1998-12-15 10:22:46 -05:00
|
|
|
#
|
|
|
|
|
2002-03-06 07:14:13 -05:00
|
|
|
PORTNAME= ddskk
|
|
|
|
PORTVERSION= 11.6.0
|
1998-12-15 10:22:46 -05:00
|
|
|
CATEGORIES= japanese elisp
|
2002-03-06 07:14:13 -05:00
|
|
|
MASTER_SITES= http://openlab.ring.gr.jp/skk/maintrunk/
|
|
|
|
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
|
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION}
|
1998-12-15 10:22:46 -05:00
|
|
|
|
2002-03-06 07:14:13 -05:00
|
|
|
MAINTAINER= yoichi@FreeBSD.org
|
1998-12-15 10:22:46 -05:00
|
|
|
|
2002-03-06 07:14:13 -05:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/emu/emu.el:${PORTSDIR}/editors/apel${DEPPORT_SUFFIX}
|
1998-12-15 10:22:46 -05:00
|
|
|
|
2002-03-06 07:14:13 -05:00
|
|
|
EMACS_PORT_NAME?= emacs21
|
|
|
|
.if (${EMACS_PORT_NAME} == emacs21)
|
2002-03-08 07:12:45 -05:00
|
|
|
DEPPORT_SUFFIX=
|
2002-03-06 07:14:13 -05:00
|
|
|
.else
|
|
|
|
DEPPORT_SUFFIX= -${EMACS_PORT_NAME}
|
|
|
|
PLIST= ${PKGDIR}/pkg-plist.${EMACS_PORT_NAME}
|
|
|
|
.endif
|
|
|
|
AMBIGUOUS_ELCS= skk-jisx0213 skk-lookup
|
1998-12-15 10:22:46 -05:00
|
|
|
|
2002-03-06 07:14:13 -05:00
|
|
|
USE_BZIP2= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
ALL_TARGET= elc info
|
1998-12-15 10:22:46 -05:00
|
|
|
|
2002-03-06 07:14:13 -05:00
|
|
|
SKK_LISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/skk
|
|
|
|
SKK_DOCS= AUTHORS Codename Contributors FAQ.txt NEWS README
|
|
|
|
SKK_EXAMPLES= etc/Emacs.ad etc/dot.emacs etc/dot.skk
|
1998-12-15 10:22:46 -05:00
|
|
|
|
|
|
|
post-install:
|
2002-03-06 07:14:13 -05:00
|
|
|
.for i in ${AMBIGUOUS_ELCS}
|
|
|
|
${RM} -f ${PREFIX}/${SKK_LISPDIR}/${i}.elc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i}.el ${PREFIX}/${SKK_LISPDIR}
|
|
|
|
.endfor
|
|
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
|
|
.for i in ${SKK_EXAMPLES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${EXAMPLESDIR}
|
|
|
|
.endfor
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for i in ${SKK_DOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/READMEs/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
1998-12-15 10:22:46 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|