summaryrefslogtreecommitdiffstats
path: root/japanese/gauche-kakasi
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-08-27 16:26:39 +0000
committervs <vs@FreeBSD.org>2004-08-27 16:26:39 +0000
commite5fdd30223d766e8b32f08be6d100812eb07889e (patch)
tree77127edd246e9fefee451fc7465020527e5c7f49 /japanese/gauche-kakasi
parent350047ba11e3d322d1a2cf5c51b2ec73d3d54294 (diff)
downloadFreeBSD-ports-e5fdd30223d766e8b32f08be6d100812eb07889e.zip
FreeBSD-ports-e5fdd30223d766e8b32f08be6d100812eb07889e.tar.gz
Update to 0.1
PR: ports/70435 Submitted by: Kimura Fuyuki (maintainer)
Diffstat (limited to 'japanese/gauche-kakasi')
-rw-r--r--japanese/gauche-kakasi/Makefile18
-rw-r--r--japanese/gauche-kakasi/distinfo4
-rw-r--r--japanese/gauche-kakasi/pkg-plist4
3 files changed, 14 insertions, 12 deletions
diff --git a/japanese/gauche-kakasi/Makefile b/japanese/gauche-kakasi/Makefile
index 1b4e752..10b85f4 100644
--- a/japanese/gauche-kakasi/Makefile
+++ b/japanese/gauche-kakasi/Makefile
@@ -6,39 +6,43 @@
#
PORTNAME= kakasi
-PORTVERSION= 0.0
+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@nigredo.org
+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
-WRKSRC= ${WRKDIR}/Gauche-${PORTNAME}
+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
-pre-install:
- ${MKDIR} `gauche-config --sitelibdir`
- ${MKDIR} `gauche-config --sitearchdir`
+post-patch:
+ ${REINPLACE_CMD} -e "s/\(@LDFLAGS@\) \(@KAKASI_LIBDIR@\)/\2 \1/" \
+ ${WRKSRC}/Makefile.in
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README.eucjp ${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>
diff --git a/japanese/gauche-kakasi/distinfo b/japanese/gauche-kakasi/distinfo
index 7d3c2fa..d499da6 100644
--- a/japanese/gauche-kakasi/distinfo
+++ b/japanese/gauche-kakasi/distinfo
@@ -1,2 +1,2 @@
-MD5 (Gauche-kakasi-0.0.tgz) = 8c8e40469ae17fe43719561888e7af09
-SIZE (Gauche-kakasi-0.0.tgz) = 54557
+MD5 (Gauche-kakasi-0.1.tgz) = 131b2e1fb55ef10dc339f0c0a1e05ab2
+SIZE (Gauche-kakasi-0.1.tgz) = 56568
diff --git a/japanese/gauche-kakasi/pkg-plist b/japanese/gauche-kakasi/pkg-plist
index 0892f88..8a99df6 100644
--- a/japanese/gauche-kakasi/pkg-plist
+++ b/japanese/gauche-kakasi/pkg-plist
@@ -1,6 +1,4 @@
lib/gauche/site/%%VERSION%%/%%TARGET%%/kakasi.so
+share/gauche/site/lib/.packages/Gauche-kakasi.gpd
share/gauche/site/lib/text/kakasi.scm
@unexec rmdir %D/share/gauche/site/lib/text 2>/dev/null || true
-%%PORTDOCS%%%%DOCSDIR%%/README.eucjp
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%PORTDOCS%%@unexec rmdir %D/share/doc/gauche 2>/dev/null || true
OpenPOWER on IntegriCloud