1999-09-08 19:08:42 +02:00
|
|
|
# New ports collection makefile for: dbskkd-cdb
|
|
|
|
# Date created: 17 Jun 1999
|
|
|
|
# Whom: Makoto Matsushita <matusita@jp.FreeBSD.ORG>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-11 16:15:53 +02:00
|
|
|
PORTNAME= dbskkd-cdb
|
Update to version 2.00 (yes, major _release_ version).
As you know, 1.71dev does chroot(2) to the directory that dictionary
is located, and this makes the server configuration a little bit confused.
1.71dev also uses stderr as debugging information output, so that it may
affect some clients if dbskkd-cdb is kicked from inetd(8).
But these annoyed days are over. 2.00 behavior is backed to the one
as of 1.01; no chroot(2), no debug output to stderr (yeah!).
From this version, dbskkd-cdb uses tinycdb instead of original cdb.
For Makefile simplicity, this ports BUILD_DEPENDS to tinycdb. Thanks
to higher compatibility between tinycdb and cdb, you don't need to
rebuild CDB dictionary file; ports/japanese/skk-jisyo-cdb is not changed.
I've removed two patches, the one is just unneeded for now, and the another
one is for ports understandability (patch-aa is not a good idea; I can keep
this, but this is the second major version release -- it is a good time
to rename the patch file.)
Thank you to Kenji Rikitake, the dbskkd-cdb author, to let me to know
the 2.00 release in advance, and give some time to update this ports.
2009-02-10 18:04:26 +01:00
|
|
|
PORTVERSION= 2.00
|
2010-01-13 08:26:42 +01:00
|
|
|
PORTREVISION= 1
|
1999-09-08 19:08:42 +02:00
|
|
|
CATEGORIES= japanese
|
2009-01-13 13:27:18 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
Update to version 2.00 (yes, major _release_ version).
As you know, 1.71dev does chroot(2) to the directory that dictionary
is located, and this makes the server configuration a little bit confused.
1.71dev also uses stderr as debugging information output, so that it may
affect some clients if dbskkd-cdb is kicked from inetd(8).
But these annoyed days are over. 2.00 behavior is backed to the one
as of 1.01; no chroot(2), no debug output to stderr (yeah!).
From this version, dbskkd-cdb uses tinycdb instead of original cdb.
For Makefile simplicity, this ports BUILD_DEPENDS to tinycdb. Thanks
to higher compatibility between tinycdb and cdb, you don't need to
rebuild CDB dictionary file; ports/japanese/skk-jisyo-cdb is not changed.
I've removed two patches, the one is just unneeded for now, and the another
one is for ports understandability (patch-aa is not a good idea; I can keep
this, but this is the second major version release -- it is a good time
to rename the patch file.)
Thank you to Kenji Rikitake, the dbskkd-cdb author, to let me to know
the 2.00 release in advance, and give some time to update this ports.
2009-02-10 18:04:26 +01:00
|
|
|
#DISTVERSIONSUFFIX=
|
1999-09-08 19:08:42 +02:00
|
|
|
|
2012-04-03 02:11:56 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-22 16:51:59 +01:00
|
|
|
COMMENT=Yet another dictionary server for SKK
|
1999-09-08 19:08:42 +02:00
|
|
|
|
Update to version 2.00 (yes, major _release_ version).
As you know, 1.71dev does chroot(2) to the directory that dictionary
is located, and this makes the server configuration a little bit confused.
1.71dev also uses stderr as debugging information output, so that it may
affect some clients if dbskkd-cdb is kicked from inetd(8).
But these annoyed days are over. 2.00 behavior is backed to the one
as of 1.01; no chroot(2), no debug output to stderr (yeah!).
From this version, dbskkd-cdb uses tinycdb instead of original cdb.
For Makefile simplicity, this ports BUILD_DEPENDS to tinycdb. Thanks
to higher compatibility between tinycdb and cdb, you don't need to
rebuild CDB dictionary file; ports/japanese/skk-jisyo-cdb is not changed.
I've removed two patches, the one is just unneeded for now, and the another
one is for ports understandability (patch-aa is not a good idea; I can keep
this, but this is the second major version release -- it is a good time
to rename the patch file.)
Thank you to Kenji Rikitake, the dbskkd-cdb author, to let me to know
the 2.00 release in advance, and give some time to update this ports.
2009-02-10 18:04:26 +01:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libcdb.a:${PORTSDIR}/databases/tinycdb
|
|
|
|
RUN_DEPENDS= ${SKKJISYOCDB}:${PORTSDIR}/japanese/skk-jisyo-cdb
|
2000-04-25 06:06:15 +02:00
|
|
|
|
2004-12-17 16:53:22 +01:00
|
|
|
PLIST_FILES= libexec/dbskkd-cdb
|
2010-01-13 08:26:42 +01:00
|
|
|
SUB_FILES= pkg-message
|
2004-12-17 16:53:22 +01:00
|
|
|
|
2002-09-18 17:34:21 +02:00
|
|
|
SKKDIR?= share/skk
|
|
|
|
SKKJISYO_TYPE?= L
|
Update to version 2.00 (yes, major _release_ version).
As you know, 1.71dev does chroot(2) to the directory that dictionary
is located, and this makes the server configuration a little bit confused.
1.71dev also uses stderr as debugging information output, so that it may
affect some clients if dbskkd-cdb is kicked from inetd(8).
But these annoyed days are over. 2.00 behavior is backed to the one
as of 1.01; no chroot(2), no debug output to stderr (yeah!).
From this version, dbskkd-cdb uses tinycdb instead of original cdb.
For Makefile simplicity, this ports BUILD_DEPENDS to tinycdb. Thanks
to higher compatibility between tinycdb and cdb, you don't need to
rebuild CDB dictionary file; ports/japanese/skk-jisyo-cdb is not changed.
I've removed two patches, the one is just unneeded for now, and the another
one is for ports understandability (patch-aa is not a good idea; I can keep
this, but this is the second major version release -- it is a good time
to rename the patch file.)
Thank you to Kenji Rikitake, the dbskkd-cdb author, to let me to know
the 2.00 release in advance, and give some time to update this ports.
2009-02-10 18:04:26 +01:00
|
|
|
SKKJISYOCDB?= ${LOCALBASE}/${SKKDIR}/SKK-JISYO.${SKKJISYO_TYPE}.cdb
|
2004-10-30 16:36:48 +02:00
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
MAKE_ENV+= LOCALBASE="${LOCALBASE}"
|
Update to version 2.00 (yes, major _release_ version).
As you know, 1.71dev does chroot(2) to the directory that dictionary
is located, and this makes the server configuration a little bit confused.
1.71dev also uses stderr as debugging information output, so that it may
affect some clients if dbskkd-cdb is kicked from inetd(8).
But these annoyed days are over. 2.00 behavior is backed to the one
as of 1.01; no chroot(2), no debug output to stderr (yeah!).
From this version, dbskkd-cdb uses tinycdb instead of original cdb.
For Makefile simplicity, this ports BUILD_DEPENDS to tinycdb. Thanks
to higher compatibility between tinycdb and cdb, you don't need to
rebuild CDB dictionary file; ports/japanese/skk-jisyo-cdb is not changed.
I've removed two patches, the one is just unneeded for now, and the another
one is for ports understandability (patch-aa is not a good idea; I can keep
this, but this is the second major version release -- it is a good time
to rename the patch file.)
Thank you to Kenji Rikitake, the dbskkd-cdb author, to let me to know
the 2.00 release in advance, and give some time to update this ports.
2009-02-10 18:04:26 +01:00
|
|
|
MAKE_ENV+= SKKJISYOCDB="${SKKJISYOCDB}"
|
2004-10-30 16:36:48 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= ${PORTDOCS_FILE} ${PORTDOCS_SH}
|
Update to version 2.00 (yes, major _release_ version).
As you know, 1.71dev does chroot(2) to the directory that dictionary
is located, and this makes the server configuration a little bit confused.
1.71dev also uses stderr as debugging information output, so that it may
affect some clients if dbskkd-cdb is kicked from inetd(8).
But these annoyed days are over. 2.00 behavior is backed to the one
as of 1.01; no chroot(2), no debug output to stderr (yeah!).
From this version, dbskkd-cdb uses tinycdb instead of original cdb.
For Makefile simplicity, this ports BUILD_DEPENDS to tinycdb. Thanks
to higher compatibility between tinycdb and cdb, you don't need to
rebuild CDB dictionary file; ports/japanese/skk-jisyo-cdb is not changed.
I've removed two patches, the one is just unneeded for now, and the another
one is for ports understandability (patch-aa is not a good idea; I can keep
this, but this is the second major version release -- it is a good time
to rename the patch file.)
Thank you to Kenji Rikitake, the dbskkd-cdb author, to let me to know
the 2.00 release in advance, and give some time to update this ports.
2009-02-10 18:04:26 +01:00
|
|
|
PORTDOCS_FILE= CHANGES LICENSE READMEJP \
|
|
|
|
example-daemontools.txt example-inetd.txt
|
2004-10-30 16:36:48 +02:00
|
|
|
PORTDOCS_SH= makeskkcdb.sh skktocdbm.sh
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
1999-09-08 19:08:42 +02:00
|
|
|
|
|
|
|
post-patch:
|
Update to version 2.00 (yes, major _release_ version).
As you know, 1.71dev does chroot(2) to the directory that dictionary
is located, and this makes the server configuration a little bit confused.
1.71dev also uses stderr as debugging information output, so that it may
affect some clients if dbskkd-cdb is kicked from inetd(8).
But these annoyed days are over. 2.00 behavior is backed to the one
as of 1.01; no chroot(2), no debug output to stderr (yeah!).
From this version, dbskkd-cdb uses tinycdb instead of original cdb.
For Makefile simplicity, this ports BUILD_DEPENDS to tinycdb. Thanks
to higher compatibility between tinycdb and cdb, you don't need to
rebuild CDB dictionary file; ports/japanese/skk-jisyo-cdb is not changed.
I've removed two patches, the one is just unneeded for now, and the another
one is for ports understandability (patch-aa is not a good idea; I can keep
this, but this is the second major version release -- it is a good time
to rename the patch file.)
Thank you to Kenji Rikitake, the dbskkd-cdb author, to let me to know
the 2.00 release in advance, and give some time to update this ports.
2009-02-10 18:04:26 +01:00
|
|
|
.for f in READMEJP makeskkcdb.sh
|
|
|
|
${REINPLACE_CMD} -e "s!%%PREFIX%%!${PREFIX}!g" -e "s!%%SKKDIR%%!${SKKDIR}!g" -e "s!%%JISYONAME%%!SKK-JISYO.${SKKJISYO_TYPE}!g" ${WRKSRC}/${f}
|
1999-09-08 19:08:42 +02:00
|
|
|
.endfor
|
|
|
|
|
2004-10-30 16:36:48 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/dbskkd-cdb ${PREFIX}/libexec
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for docs in ${PORTDOCS_FILE}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
|
1999-09-08 19:08:42 +02:00
|
|
|
.endfor
|
2004-10-30 16:36:48 +02:00
|
|
|
.for docs in ${PORTDOCS_SH}
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${docs} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
2010-01-13 08:26:42 +01:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
1999-09-08 19:08:42 +02:00
|
|
|
|
2004-10-30 16:36:48 +02:00
|
|
|
.include <bsd.port.post.mk>
|