mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
ec1acbbe5b
PR: ports/70435 Submitted by: Kimura Fuyuki (maintainer)
49 lines
1.1 KiB
Makefile
49 lines
1.1 KiB
Makefile
# New ports collection makefile for: Gauche-kakasi
|
|
# Date created: 12 April 2003
|
|
# Whom: Kimura Fuyuki <fuyuki@hadaly.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= kakasi
|
|
PORTVERSION= 0.1
|
|
CATEGORIES= japanese textproc scheme
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= gauche
|
|
DISTNAME= Gauche-${PORTNAME}-${PORTVERSION}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= fuyuki@hadaly.org
|
|
COMMENT= KAKASI binding for Gauche
|
|
|
|
BUILD_DEPENDS= gosh:${PORTSDIR}/lang/gauche
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
LIB_DEPENDS= kakasi.3:${PORTSDIR}/japanese/kakasi
|
|
|
|
USE_REINPLACE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-kakasi=${PREFIX}
|
|
DOCSDIR= ${PREFIX}/share/doc/gauche/${PORTNAME}
|
|
PLIST_SUB= VERSION="`gauche-config -V`" \
|
|
TARGET="${CONFIGURE_TARGET}"
|
|
PORTDOCS= README.eucjp
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e "s/\(@LDFLAGS@\) \(@KAKASI_LIBDIR@\)/\2 \1/" \
|
|
${WRKSRC}/Makefile.in
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}gauche-
|
|
|
|
test:
|
|
cd ${WRKSRC}; ${MAKE} check
|
|
|
|
.include <bsd.port.post.mk>
|