diff options
author | Volker Stolz <vs@FreeBSD.org> | 2004-08-27 16:26:39 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2004-08-27 16:26:39 +0000 |
commit | ec1acbbe5bd010175318a52098d25cae9063ec16 (patch) | |
tree | c3cb4bc9c4155848c8faeec391c9e23af72c68f2 /japanese | |
parent | a5aa457f7720c36bc4b30cf0e0822e5f5ea32bd0 (diff) | |
download | ports-ec1acbbe5bd010175318a52098d25cae9063ec16.tar.gz ports-ec1acbbe5bd010175318a52098d25cae9063ec16.zip |
Notes
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/gauche-kakasi/Makefile | 18 | ||||
-rw-r--r-- | japanese/gauche-kakasi/distinfo | 4 | ||||
-rw-r--r-- | japanese/gauche-kakasi/pkg-plist | 4 |
3 files changed, 14 insertions, 12 deletions
diff --git a/japanese/gauche-kakasi/Makefile b/japanese/gauche-kakasi/Makefile index 1b4e7520b21c..10b85f4ff64d 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 7d3c2fa904a1..d499da6d65e3 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 0892f88ef74f..8a99df645347 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 |