- tiny cleanups.

PR:		ports/194342
Submitted by:	amdmi3@amdmi3.ru
This commit is contained in:
Jun Kuriyama 2014-11-22 12:21:33 +00:00
parent 9434c59343
commit 1f2382b3f3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=373053

View File

@ -4,13 +4,15 @@
PORTNAME= tokyocabinet
PORTVERSION= 1.4.48
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_LOCAL} \
MASTER_SITES= LOCAL/kuriyama \
http://fallabs.com/${PORTNAME}/
MASTER_SITE_SUBDIR= kuriyama
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Modern implementation of DBM
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
USES= gmake
USE_LDCONFIG= yes
@ -45,10 +47,10 @@ CONFIGURE_ARGS+= --enable-devel
.if ${PORT_OPTIONS:MFASTEST}
CONFIGURE_ARGS+= --enable-fastest
.endif
# liblzma on 9-current does not have liblzma.h file.
# to not confuse with system liblzma
.if ${PORT_OPTIONS:MLZMA}
CONFIGURE_ARGS+= --enable-exlzma
LIB_DEPENDS+= liblzma.so:${PORTSDIR}/archivers/lzmalib
LIB_DEPENDS+= liblzma.so.1:${PORTSDIR}/archivers/lzmalib
.else
CONFIGURE_ARGS+= --disable-exlzma
.endif
@ -86,4 +88,8 @@ post-patch:
-e 's|@datarootdir@|@datarootdir@/doc|' \
${WRKSRC}/Makefile.in
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${STAGEDIR}${PREFIX}/lib/*.so \
${STAGEDIR}${PREFIX}/libexec/tcawmgr.cgi
.include <bsd.port.mk>