|
Lines 6-15
Link Here
|
| 6 |
# |
6 |
# |
| 7 |
|
7 |
|
| 8 |
PORTNAME= tokyocabinet |
8 |
PORTNAME= tokyocabinet |
| 9 |
PORTVERSION= 1.1.6 |
9 |
PORTVERSION= 1.1.10 |
| 10 |
CATEGORIES= databases |
10 |
CATEGORIES= databases |
| 11 |
MASTER_SITES= SF |
11 |
MASTER_SITES= SF |
| 12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
|
|
| 13 |
|
12 |
|
| 14 |
MAINTAINER= gslin@gslin.org |
13 |
MAINTAINER= gslin@gslin.org |
| 15 |
COMMENT= A modern implementation of DBM |
14 |
COMMENT= A modern implementation of DBM |
|
Lines 19-27
Link Here
|
| 19 |
USE_GMAKE= yes |
18 |
USE_GMAKE= yes |
| 20 |
USE_LDCONFIG= yes |
19 |
USE_LDCONFIG= yes |
| 21 |
|
20 |
|
| 22 |
MAN1= tcbmgr.1 tcbmttest.1 tcbtest.1 tchmgr.1 tchmttest.1 \ |
21 |
MAN1= tcamgr.1 tcatest.1 tcbmgr.1 tcbmttest.1 tcbtest.1 \ |
| 23 |
tchtest.1 tcucodec.1 tcumttest.1 tcutest.1 |
22 |
tchmgr.1 tchmttest.1 tchtest.1 tcucodec.1 tcumttest.1 \ |
| 24 |
MAN3= tcbdb.3 tchdb.3 tcutil.3 tokyocabinet.3 |
23 |
tcutest.1 |
|
|
24 |
MAN3= tcadb.3 tcbdb.3 tchdb.3 tcutil.3 tokyocabinet.3 |
| 25 |
PORTDOCS= COPYING ChangeLog README THANKS |
| 26 |
EXAMPLES= benchmark.pdf common.css icon16.png index.html index.ja.html \ |
| 27 |
logo-ja.png logo.png spex-en.html spex-ja.html |
| 28 |
|
| 29 |
OPTIONS= DEBUG "Debugging support" off \ |
| 30 |
DEVEL "Development build" off \ |
| 31 |
PROFILE "Profiling build" off \ |
| 32 |
OFF64 "Use to compile on 64-bit system" off \ |
| 33 |
FASTEST "Fastest run" off \ |
| 34 |
SWAB "Swapping byte-orders build" off \ |
| 35 |
UYIELD "Detecting race conditions" off \ |
| 36 |
ZLIB "Disable ZLIB compression" off \ |
| 37 |
PTHREAD "Disable POSIX thread support" off \ |
| 38 |
SHARED "Avoid to build shared libraries" off |
| 39 |
|
| 40 |
.include <bsd.port.pre.mk> |
| 41 |
|
| 42 |
.if defined(WITH_DEBUG) |
| 43 |
CONFIGURE_ARGS+= --enable-debug |
| 44 |
.endif |
| 45 |
.if defined(WITH_DEVEL) |
| 46 |
CONFIGURE_ARGS+= --enable-devel |
| 47 |
.endif |
| 48 |
.if defined(WITH_PROFILE) |
| 49 |
CONFIGURE_ARGS+= --enable-profile |
| 50 |
.endif |
| 51 |
.if defined(WITH_OFF64) |
| 52 |
CONFIGURE_ARGS+= --enable-off64 |
| 53 |
.endif |
| 54 |
.if defined(WITH_FASTEST) |
| 55 |
CONFIGURE_ARGS+= --enable-fastest |
| 56 |
.endif |
| 57 |
.if defined(WITH_SWAB) |
| 58 |
CONFIGURE_ARGS+= --enable-swab |
| 59 |
.endif |
| 60 |
.if defined(WITH_UYIELD) |
| 61 |
CONFIGURE_ARGS+= --enable-uyield |
| 62 |
.endif |
| 63 |
.if defined(WITH_ZLIB) |
| 64 |
CONFIGURE_ARGS+= --disable-zlib |
| 65 |
.endif |
| 66 |
.if defined(WITH_PTHREAD) |
| 67 |
CONFIGURE_ARGS+= --disable-pthread |
| 68 |
.endif |
| 69 |
.if defined(WITH_SHARED) |
| 70 |
CONFIGURE_ARGS+= --disable-shared |
| 71 |
.endif |
| 25 |
|
72 |
|
| 26 |
# Because gnomehack use "(libdir)" and it doesn't work, we need to patch |
73 |
# Because gnomehack use "(libdir)" and it doesn't work, we need to patch |
| 27 |
# it manually. |
74 |
# it manually. |
|
Lines 29-32
Link Here
|
| 29 |
${REINPLACE_CMD} -e 's|@libdir@/pkgconfig|@prefix@/libdata/pkgconfig|' \ |
76 |
${REINPLACE_CMD} -e 's|@libdir@/pkgconfig|@prefix@/libdata/pkgconfig|' \ |
| 30 |
${WRKSRC}/Makefile.in |
77 |
${WRKSRC}/Makefile.in |
| 31 |
|
78 |
|
| 32 |
.include <bsd.port.mk> |
79 |
do-install: |
|
|
80 |
.if !defined(NOPORTDOCS) |
| 81 |
${MKDIR} ${DOCSDIR}/doc |
| 82 |
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ |
| 83 |
${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/doc/,} ${DOCSDIR}/doc |
| 84 |
.endif |
| 85 |
|
| 86 |
.include <bsd.port.post.mk> |