3f651573ad
Begin autotools sanitization sequence by requiring ports to explicitly specify which version of {libtool,autoconf,automake} they need, erasing the concept of a "system default". For ports-in-waiting: USE_LIBTOOL=YES -> USE_LIBTOOL_VER=13 USE_AUTOCONF=YES -> USE_AUTOCONF_VER=213 USE_AUTOMAKE=YES -> USE_AUTOMAKE_VER=14 Ports attempting to use the old style system after June 1st 2004 will be sorely disappointed.
51 lines
1.3 KiB
Makefile
51 lines
1.3 KiB
Makefile
# New ports collection makefile for: anthy
|
|
# Date created: 26 February 2002
|
|
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= anthy
|
|
PORTVERSION= 5100
|
|
CATEGORIES= japanese
|
|
MASTER_SITES= http://downloads.sourceforge.jp/anthy/8433/:anthy
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:anthy
|
|
DIST_SUBDIR= anthy
|
|
|
|
MAINTAINER= nobutaka@FreeBSD.org
|
|
COMMENT= Another kana-kanji conversion system
|
|
|
|
USE_REINPLACE= yes
|
|
USE_LIBTOOL_VER=13
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
INSTALLS_SHLIB= yes
|
|
|
|
DOCSDIR= share/doc/ja/anthy
|
|
ELISPDIR= share/emacs/site-lisp/anthy
|
|
PLIST_SUB= ELISPDIR=${ELISPDIR}
|
|
|
|
.if defined(WITH_2CHDIC)
|
|
MASTER_SITES+= http://omaemona.sourceforge.net/packages/Zisyo/:2chdic
|
|
DISTFILES+= 2ch.t:2chdic
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-mkanthydic:Makefile.in
|
|
.endif
|
|
|
|
.if defined(WITH_2CHDIC)
|
|
post-extract:
|
|
@${CP} ${DISTDIR}/${DIST_SUBDIR}/2ch.t ${WRKSRC}/mkanthydic
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's| install-lispLISP||g' ${WRKSRC}/src-util/Makefile.in
|
|
|
|
post-install:
|
|
${MKDIR} ${PREFIX}/${ELISPDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/src-util/*.el ${PREFIX}/${ELISPDIR}
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/ELISP ${PREFIX}/${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|