mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
74b19501bc
Anomalies found: - autoconvert was missing "zh-" in front of PKGNAME - xcin (both 2.3 and 2.5) had invalid version strings - neither of xcin ports had NO_LATEST_LINK - telnet8-1.0 thinks PKGNAME is zh-telnet-1.0 Fixed all except the last (I wasn't sure if it was intentional).
53 lines
1.5 KiB
Makefile
53 lines
1.5 KiB
Makefile
# New ports collection makefile for: libtabe
|
|
# Date created: 2 Nov 1999
|
|
# Whom: Keith Jang <keith@freebsd.sinica.edu.tw>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libtabe
|
|
PORTVERSION= 0.1.2
|
|
CATEGORIES= chinese
|
|
MASTER_SITES= ftp://xcin.linux.org.tw/pub/xcin/libtabe/devel/
|
|
DISTNAME= libtabe-0.1-2
|
|
|
|
MAINTAINER= keith@freebsd.sinica.edu.tw
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db
|
|
|
|
WRKSRC= ${WRKDIR}/libtabe
|
|
USE_XLIB= yes
|
|
HAS_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} \
|
|
--includedir=${PREFIX}/include/tabe \
|
|
--with-dbinc=${PREFIX}/include/db2 \
|
|
--with-dblib=${PREFIX}/lib \
|
|
--enable-shared
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/share/doc/tabe
|
|
${INSTALL_DATA} ${WRKSRC}/src/tsi-src/README ${PREFIX}/share/doc/tabe
|
|
.for DOC in BoPoMoFo.shtml Changes Changes.pre-0.1 TODO ZuYinCode.txt \
|
|
et26.txt libtabe.sgml
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${DOC} ${PREFIX}/share/doc/tabe
|
|
.endfor
|
|
.endif
|
|
.if ${PORTOBJFORMAT} == "elf"
|
|
${RM} -f ${PREFIX}/lib/libbims.so ${PREFIX}/lib/libbims.so.0
|
|
${MV} ${PREFIX}/lib/libbims.so.0.1 ${PREFIX}/lib/libbims.so.0
|
|
${LN} -s libbims.so.0 ${PREFIX}/lib/libbims.so
|
|
${RM} -f ${PREFIX}/lib/libtabe.so ${PREFIX}/lib/libtabe.so.0
|
|
${MV} ${PREFIX}/lib/libtabe.so.0.1 ${PREFIX}/lib/libtabe.so.0
|
|
${LN} -s libtabe.so.0 ${PREFIX}/lib/libtabe.so
|
|
.else
|
|
${RM} -f ${PREFIX}/lib/libbims.so.0
|
|
${RM} -f ${PREFIX}/lib/libtabe.so.0
|
|
.endif
|
|
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
|
|
|
.include <bsd.port.post.mk>
|