View | Details | Raw Unified | Return to bug 37040
Collapse All | Expand All

(-)libtabe/Makefile (-8 / +24 lines)
Lines 6-43 Link Here
6
#
6
#
7
7
8
PORTNAME=	libtabe
8
PORTNAME=	libtabe
9
PORTVERSION=	0.2.2
9
PORTVERSION=	0.2.5
10
CATEGORIES=	chinese
10
CATEGORIES=	chinese
11
MASTER_SITES=	ftp://xcin.linux.org.tw/pub/xcin/libtabe/devel/
11
MASTER_SITES=	ftp://xcin.linux.org.tw/pub/xcin/libtabe/devel/
12
12
13
MAINTAINER=	keith@FreeBSD.org
13
MAINTAINER=	kcwu@ck.tp.edu.tw
14
14
15
LIB_DEPENDS=	db3.2:${PORTSDIR}/databases/db3
16
.if defined(USE_DB2)
15
LIB_DEPENDS=	db2.0:${PORTSDIR}/databases/db
17
LIB_DEPENDS=	db2.0:${PORTSDIR}/databases/db
18
.endif
16
19
17
WRKSRC=		${WRKDIR}/libtabe
20
WRKSRC=		${WRKDIR}/libtabe
18
USE_XLIB=	yes
19
INSTALLS_SHLIB=	yes
21
INSTALLS_SHLIB=	yes
20
HAS_CONFIGURE=	yes
22
HAS_CONFIGURE=	yes
21
USE_GMAKE=	yes
23
USE_GMAKE=	yes
22
CONFIGURE_ARGS=	--prefix=${PREFIX} \
24
CONFIGURE_ARGS=	--prefix=${PREFIX} \
23
		--includedir=${PREFIX}/include/tabe \
25
		--includedir=${PREFIX}/include/tabe \
24
		--with-dbinc=${PREFIX}/include/db2 \
26
		--with-db-lib=${LOCALBASE}/lib \
25
		--with-dblib=${PREFIX}/lib \
27
		--with-db-bin=${LOCALBASE}/bin \
26
		--enable-shared
28
		--enable-shared
27
29
30
.if !defined(USE_DB2)
31
CONFIGURE_ARGS+= --with-db-inc=${LOCALBASE}/include/db3
32
.else
33
CONFIGURE_ARGS+= --with-db-inc=${LOCALBASE}/include/db2
34
.endif
35
28
.include <bsd.port.pre.mk>
36
.include <bsd.port.pre.mk>
29
37
38
pre-fetch:
39
.if !defined(USE_DB2)
40
	@${ECHO} --
41
	@${ECHO} "Type \"make -DUSE_DB2\" if you want use DB2."
42
	@${ECHO} "Otherwise, xcin2.5 will use DB3."
43
	@${ECHO} --
44
.endif
45
30
post-install:
46
post-install:
31
.if !defined(NOPORTDOCS)
47
.if !defined(NOPORTDOCS)
32
	${MKDIR} ${PREFIX}/share/doc/tabe
48
	${MKDIR} ${PREFIX}/share/doc/tabe
33
	${INSTALL_DATA} ${WRKSRC}/src/tsi-src/README ${PREFIX}/share/doc/tabe/README.tsi
49
	${INSTALL_DATA} ${WRKSRC}/tsi-src/README ${PREFIX}/share/doc/tabe/README.tsi
34
	${INSTALL_DATA} ${WRKSRC}/src/supports/bims/README ${PREFIX}/share/doc/tabe/README.bims
50
	${INSTALL_DATA} ${WRKSRC}/src/supports/bims/README ${PREFIX}/share/doc/tabe/README.bims
35
.for DOC in BoPoMoFo.shtml Changes Changes.pre-0.1 TODO ZuYinCode.txt \
51
.for DOC in BoPoMoFo.shtml Changes Changes.pre-0.1 TODO ZuYinCode.txt \
36
		et26.txt libtabe.sgml
52
		et26.txt libtabe.sgml
37
	${INSTALL_DATA} ${WRKSRC}/doc/${DOC} ${PREFIX}/share/doc/tabe
53
	${INSTALL_DATA} ${WRKSRC}/doc/${DOC} ${PREFIX}/share/doc/tabe
38
.endfor
54
.endfor
39
.endif
55
.endif
40
	${TOUCH} ${PREFIX}/share/tabe/libtabe-0.2.2
56
	${MKDIR} ${PREFIX}/share/tabe
41
	${RM} -f ${PREFIX}/lib/libtabe.la ${PREFIX}/lib/libbims.la
57
	${TOUCH} ${PREFIX}/share/tabe/libtabe-0.2.5
42
58
43
.include <bsd.port.post.mk>
59
.include <bsd.port.post.mk>
(-)libtabe/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (libtabe-0.2.2.tar.gz) = 53a4eadc12fe736cdaf7b6924fca811f
1
MD5 (libtabe-0.2.5.tar.gz) = 8b03826b2858ae999b18d41099eb73c9
(-)libtabe/files/patch-aa (-21 / +4 lines)
Lines 1-6 Link Here
1
--- src/Makefile.in.orig	Thu Jun  7 00:26:26 2001
1
--- src/Makefile.in.orig	Wed Dec  5 13:56:10 2001
2
+++ src/Makefile.in	Sun Jun 17 09:49:05 2001
2
+++ src/Makefile.in	Wed Dec  5 13:56:23 2001
3
@@ -60,8 +60,7 @@
3
@@ -55,8 +55,7 @@
4
 
4
 
5
 $(LIBNAME): $(LIBOBJS)
5
 $(LIBNAME): $(LIBOBJS)
6
 	$(LIBTOOL) --mode=link $(CC) -o $@ $(LIBOBJS) -rpath $(libdir) \
6
 	$(LIBTOOL) --mode=link $(CC) -o $@ $(LIBOBJS) -rpath $(libdir) \
Lines 8-29 Link Here
8
-		-release $(RELEASE_VER)
8
-		-release $(RELEASE_VER)
9
+		-version-info $(CURRENT_VER):$(REVISION_VER):$(AGE_VER)
9
+		-version-info $(CURRENT_VER):$(REVISION_VER):$(AGE_VER)
10
 
10
 
11
 subsys:
11
 bims:
12
 	(cd supports/bims; $(MAKE))
12
 	(cd supports/bims; $(MAKE))
13
@@ -110,7 +109,7 @@
14
 
15
 install: install_binary install_data
16
 
17
-install_binary: binary
18
+install_binary:
19
 	if [ ! -d $(libdir) ]; then $(INSTALL) -d $(libdir); fi
20
 	if [ ! -d $(includedir) ]; then $(INSTALL) -d $(includedir); fi
21
 	$(LIBTOOL) --mode=install $(INSTALL_DATA) $(LIBNAME) $(libdir)
22
@@ -118,6 +117,6 @@
23
 	(cd supports/bims; $(MAKE) install)
24
 	(cd util; $(MAKE) install)
25
 
26
-install_data: data
27
+install_data:
28
 	(cd tsi-src; $(MAKE) install)
29
 
(-)libtabe/files/patch-ab (-11 / +2 lines)
Lines 1-5 Link Here
1
--- src/supports/bims/Makefile.in.orig	Thu Jun  7 00:26:26 2001
1
--- src/supports/bims/Makefile.in.orig	Wed Dec  5 13:56:40 2001
2
+++ src/supports/bims/Makefile.in	Sun Jun 17 09:48:49 2001
2
+++ src/supports/bims/Makefile.in	Wed Dec  5 13:56:47 2001
3
@@ -45,8 +45,7 @@
3
@@ -45,8 +45,7 @@
4
 
4
 
5
 $(LIBNAME): $(LIBOBJS)
5
 $(LIBNAME): $(LIBOBJS)
Lines 10-21 Link Here
10
 
10
 
11
 bims.lo: bims.c bims.h
11
 bims.lo: bims.c bims.h
12
 	$(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) $(DEFS) $(INC) -o $@ bims.c
12
 	$(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) $(DEFS) $(INC) -o $@ bims.c
13
@@ -59,7 +58,7 @@
14
 	if [ -d obj-s ]; then rmdir obj-s; fi
15
 	$(RM) Makefile
16
 
17
-install: all
18
+install:
19
 	if [ ! -d $(libdir) ]; then $(INSTALL) -d $(libdir); fi
20
 	if [ ! -d $(includedir) ]; then $(INSTALL) -d $(includedir); fi
21
 	$(LIBTOOL) --mode=install $(INSTALL_DATA) $(LIBNAME) $(libdir)
(-)libtabe/pkg-plist (-6 / +9 lines)
Lines 1-15 Link Here
1
bin/tsiadd
1
bin/tsiadd
2
bin/tsidel
2
bin/tsidel
3
bin/tsidump
3
bin/tsidump
4
bin/tsiyincheck
4
bin/tsiyindump
5
bin/tsiyindump
5
include/tabe/bims.h
6
include/tabe/bims.h
6
include/tabe/tabe.h
7
include/tabe/tabe.h
7
lib/libbims.a
8
lib/libbims.a
9
lib/libbims.la
8
lib/libbims.so
10
lib/libbims.so
9
lib/libbims.so.0
11
lib/libbims.so.2
10
lib/libtabe.a
12
lib/libtabe.a
13
lib/libtabe.la
11
lib/libtabe.so
14
lib/libtabe.so
12
lib/libtabe.so.0
15
lib/libtabe.so.2
16
lib/tabe/tsi.db
17
lib/tabe/yin.db
13
%%PORTDOCS%%share/doc/tabe/BoPoMoFo.shtml
18
%%PORTDOCS%%share/doc/tabe/BoPoMoFo.shtml
14
%%PORTDOCS%%share/doc/tabe/Changes
19
%%PORTDOCS%%share/doc/tabe/Changes
15
%%PORTDOCS%%share/doc/tabe/Changes.pre-0.1
20
%%PORTDOCS%%share/doc/tabe/Changes.pre-0.1
Lines 19-28 Link Here
19
%%PORTDOCS%%share/doc/tabe/ZuYinCode.txt
24
%%PORTDOCS%%share/doc/tabe/ZuYinCode.txt
20
%%PORTDOCS%%share/doc/tabe/et26.txt
25
%%PORTDOCS%%share/doc/tabe/et26.txt
21
%%PORTDOCS%%share/doc/tabe/libtabe.sgml
26
%%PORTDOCS%%share/doc/tabe/libtabe.sgml
22
share/tabe/libtabe-0.2.2
27
share/tabe/libtabe-0.2.5
23
share/tabe/tsiyin/tsi.db
24
share/tabe/tsiyin/yin.db
25
@dirrm include/tabe
28
@dirrm include/tabe
29
@dirrm lib/tabe
26
%%PORTDOCS%%@dirrm share/doc/tabe
30
%%PORTDOCS%%@dirrm share/doc/tabe
27
@dirrm share/tabe/tsiyin
28
@dirrm share/tabe
31
@dirrm share/tabe

Return to bug 37040