mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
bb5196a149
variables deprecation revision WITHOUT_NLS 2013-12-13 r336337 WITH_/WITHOUT_ 2014-02-24 r345870 NOPORT(DOC|EXAMPLE)S 2014-04-19 r351587 WITH_BDB_VER 2016-05-02 r414444 OVERRIDE_LINUX_BASE_PORT 2016-09-05 r421387 WITH_OPENSSL_(BASE|PORT) 2016-06-16 r416965 While there, add an ERROR variable that works like DEV_ERROR, but for user facing errors, and move NOPORTDOCS, NOPORTEXAMPLES and WITHOUT_NLS to it. Cleanup bsd.sanity.mk a bit. Fix fallout. PR: 224613 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D13490
59 lines
1.5 KiB
Makefile
59 lines
1.5 KiB
Makefile
# Created by: Jing-Tang Keith Jang <keith@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libtabe
|
|
PORTVERSION= 0.2.6
|
|
PORTREVISION= 8
|
|
CATEGORIES= chinese
|
|
MASTER_SITES= http://old-releases.ubuntu.com/ubuntu/pool/universe/libt/libtabe/
|
|
DISTNAME= libtabe_${PORTVERSION}.orig
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Unified library for Chinese text processing
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= bdb gmake libtool
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
OBSOLETE_BDB_VAR= USE_DB2
|
|
DATADIR= ${PREFIX}/share/tabe
|
|
DOCSDIR= ${PREFIX}/share/doc/tabe
|
|
CONFIGURE_ARGS= --includedir=${PREFIX}/include/tabe \
|
|
--with-db-name=${BDB_LIB_NAME} \
|
|
--with-db-inc=${BDB_INCLUDE_DIR} \
|
|
--with-db-lib=${BDB_LIB_DIR} \
|
|
--with-db-bin=${LOCALBASE}/bin
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S|_|-|}
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
OPTIONS_DEFINE= DOCS X11
|
|
OPTIONS_SUB= yes
|
|
X11_USE= XORG=x11
|
|
X11_CONFIGURE_WITH= x
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch-X11-off:
|
|
${REINPLACE_CMD} -e '/all:/s/ bims//; /bims/d' \
|
|
${WRKSRC}/src/Makefile.in
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtabe.so
|
|
|
|
post-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/tsi-src/README \
|
|
${STAGEDIR}${DOCSDIR}/README.tsi
|
|
.if ${PORT_OPTIONS:MX11}
|
|
${INSTALL_DATA} ${WRKSRC}/src/supports/bims/README \
|
|
${STAGEDIR}${DOCSDIR}/README.bims
|
|
.endif
|
|
.for DOC in BoPoMoFo.shtml Changes Changes.pre-0.1 TODO ZuYinCode.txt \
|
|
et26.txt libtabe.sgml
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${DOC} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|