mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
54a0b86543
in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself. Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME team -- all GNOME 2.12.x ports use it. Preliminary documentation can be found at: http://people.FreeBSD.org/~ade/autotools.txt which is in the process of being SGMLized before introduction into the Porters Handbook. Light blue touch-paper. Run.
84 lines
2.4 KiB
Makefile
84 lines
2.4 KiB
Makefile
# New ports collection makefile for: anthy
|
|
# Date created: 26 February 2002
|
|
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= anthy
|
|
PORTVERSION= 7100b
|
|
CATEGORIES= japanese
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}/17231
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
|
DIST_SUBDIR= anthy
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= nobutaka@FreeBSD.org
|
|
COMMENT= Another kana-kanji conversion system
|
|
|
|
USE_REINPLACE= yes
|
|
USE_AUTOTOOLS= libtool:15
|
|
INSTALLS_SHLIB= yes
|
|
USE_GNOME= gnometarget lthack pkgconfig
|
|
|
|
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
|
|
.endif
|
|
|
|
.if defined(WITH_ODIC)
|
|
MASTER_SITES+= http://www.ofug.net/~yamajun/files/:odic
|
|
EXTRACT_ONLY+= ${ODIC_SRCS}
|
|
DISTFILES+= ${ODIC_SRCS}:odic
|
|
ODIC_SRCS= ${ODIC_VERS}.tar.gz
|
|
ODIC_VERS= okinawa-20051104
|
|
.endif
|
|
|
|
.if defined(WITH_GSKKDIC)
|
|
MASTER_SITES+= http://www.ohnolab.org/~kimoto/:gskk
|
|
DISTFILES+= ${GSKK_SRCS}:gskk
|
|
GSKK_SRCS= ${GSKK_VERS}.t.gz
|
|
GSKK_VERS= gskk-20041208
|
|
.endif
|
|
|
|
post-extract:
|
|
.if defined(WITH_2CHDIC)
|
|
${CP} ${DISTDIR}/${DIST_SUBDIR}/2ch.t ${WRKSRC}/mkanthydic
|
|
${PRINTF} "/mkanthydic\\\\/placename.t/a\\\\\\nread @top_srcdir@/mkanthydic/2ch.t\\n" | \
|
|
${REINPLACE_CMD} -f /dev/stdin ${WRKSRC}/mkanthydic/dict.args.in
|
|
.endif
|
|
|
|
.if defined(WITH_ODIC)
|
|
${CP} ${WRKDIR}/${ODIC_VERS}/okinawa.t ${WRKSRC}/mkanthydic
|
|
${PRINTF} "/mkanthydic\\\\/placename.t/a\\\\\\nread @top_srcdir@/mkanthydic/okinawa.t\\n" | \
|
|
${REINPLACE_CMD} -f /dev/stdin ${WRKSRC}/mkanthydic/dict.args.in
|
|
.endif
|
|
|
|
.if defined(WITH_GSKKDIC)
|
|
${CP} ${DISTDIR}/${DIST_SUBDIR}/${GSKK_SRCS} ${WRKSRC}/mkanthydic
|
|
${GUNZIP_CMD} ${WRKSRC}/mkanthydic/${GSKK_SRCS}
|
|
${PRINTF} "/mkanthydic\\\\/placename.t/a\\\\\\nread @top_srcdir@/mkanthydic/${GSKK_VERS}.t\\n" | \
|
|
${REINPLACE_CMD} -f /dev/stdin ${WRKSRC}/mkanthydic/dict.args.in
|
|
.endif
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e \
|
|
's| install-lispLISP||g' ${WRKSRC}/src-util/Makefile.in
|
|
${REINPLACE_CMD} -e \
|
|
's|$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfig|g' ${WRKSRC}/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>
|