blob: 7eb0e9a12f92bc9eaba8cb0f4bdb4b4db3e6abd0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# 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.7
CATEGORIES= chinese
MASTER_SITES= ftp://xcin.linux.org.tw/pub/xcin/libtabe/devel/
MAINTAINER= keith@freebsd.sinica.edu.tw
LIB_DEPENDS= db2.0:${PORTSDIR}/databases/db
WRKSRC= ${WRKDIR}/libtabe
USE_XLIB= yes
INSTALL_SHLIBS= 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/README.tsi
${INSTALL_DATA} ${WRKSRC}/src/supports/bims/README ${PREFIX}/share/doc/tabe/README.bims
.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
${TOUCH} ${PREFIX}/share/tabe/libtabe-0.1.7
.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
.include <bsd.port.post.mk>
|