mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
Add missing patch file on prev commit, and fix building.
Submitted by: swills@
This commit is contained in:
parent
7ce7a0efa8
commit
f3543f4459
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354599
@ -3,16 +3,16 @@
|
|||||||
|
|
||||||
PORTNAME= libtabe
|
PORTNAME= libtabe
|
||||||
PORTVERSION= 0.2.6
|
PORTVERSION= 0.2.6
|
||||||
PORTREVISION= 3
|
PORTREVISION= 4
|
||||||
CATEGORIES= chinese
|
CATEGORIES= chinese
|
||||||
MASTER_SITES= ftp://cle.linux.org.tw/pub/xcin/cvs/
|
MASTER_SITES= ftp://cle.linux.org.tw/pub/xcin/cvs/
|
||||||
|
|
||||||
MAINTAINER= clsung@FreeBSD.org
|
MAINTAINER= clsung@FreeBSD.org
|
||||||
COMMENT= Unified library for Chinese text processing
|
COMMENT= Unified library for Chinese text processing
|
||||||
|
|
||||||
|
USES= gmake
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
USES= gmake
|
|
||||||
USE_BDB= yes
|
USE_BDB= yes
|
||||||
OBSOLETE_BDB_VAR= USE_DB2
|
OBSOLETE_BDB_VAR= USE_DB2
|
||||||
DATADIR= ${PREFIX}/share/tabe
|
DATADIR= ${PREFIX}/share/tabe
|
||||||
@ -26,9 +26,12 @@ CONFIGURE_ARGS= --prefix=${PREFIX} \
|
|||||||
--enable-shared
|
--enable-shared
|
||||||
MAKE_JOBS_UNSAFE= yes
|
MAKE_JOBS_UNSAFE= yes
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
OPTIONS_DEFINE= DOCS X11
|
||||||
|
OPTIONS_DEFAULT= DOCS
|
||||||
|
|
||||||
.if !defined(WITHOUT_X11)
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
|
.if ${PORT_OPTIONS:MX11}
|
||||||
USE_XORG= x11
|
USE_XORG= x11
|
||||||
PLIST_SUB+= X11=""
|
PLIST_SUB+= X11=""
|
||||||
.else
|
.else
|
||||||
@ -49,7 +52,7 @@ pre-everything::
|
|||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
${REINPLACE_CMD} -e '/objformat/s/echo aout/echo elf/' ${WRKSRC}/configure
|
${REINPLACE_CMD} -e '/objformat/s/echo aout/echo elf/' ${WRKSRC}/configure
|
||||||
.if defined(WITHOUT_X11)
|
.if !${PORT_OPTIONS:MX11}
|
||||||
${REINPLACE_CMD} -e '/all:/s/ bims//; /bims/d' ${WRKSRC}/src/Makefile.in
|
${REINPLACE_CMD} -e '/all:/s/ bims//; /bims/d' ${WRKSRC}/src/Makefile.in
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
@ -57,7 +60,7 @@ post-install:
|
|||||||
.if ${PORT_OPTIONS:MDOCS}
|
.if ${PORT_OPTIONS:MDOCS}
|
||||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/tsi-src/README ${STAGEDIR}${DOCSDIR}/README.tsi
|
${INSTALL_DATA} ${WRKSRC}/tsi-src/README ${STAGEDIR}${DOCSDIR}/README.tsi
|
||||||
.if !defined(WITHOUT_X11)
|
.if ${PORT_OPTIONS:MX11}
|
||||||
${INSTALL_DATA} ${WRKSRC}/src/supports/bims/README ${STAGEDIR}${DOCSDIR}/README.bims
|
${INSTALL_DATA} ${WRKSRC}/src/supports/bims/README ${STAGEDIR}${DOCSDIR}/README.bims
|
||||||
.endif
|
.endif
|
||||||
.for DOC in BoPoMoFo.shtml Changes Changes.pre-0.1 TODO ZuYinCode.txt \
|
.for DOC in BoPoMoFo.shtml Changes Changes.pre-0.1 TODO ZuYinCode.txt \
|
||||||
@ -66,4 +69,4 @@ post-install:
|
|||||||
.endfor
|
.endfor
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.mk>
|
||||||
|
14
chinese/libtabe/files/patch-src__supports__bims__Makefile.in
Normal file
14
chinese/libtabe/files/patch-src__supports__bims__Makefile.in
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
--- ./src/supports/bims/Makefile.in.orig 2014-05-19 15:27:54.010122398 +0800
|
||||||
|
+++ ./src/supports/bims/Makefile.in 2014-05-19 15:28:23.998115848 +0800
|
||||||
|
@@ -59,7 +59,7 @@
|
||||||
|
$(RM) Makefile
|
||||||
|
|
||||||
|
install: all
|
||||||
|
- if [ ! -d $(libdir) ]; then $(INSTALL) -d $(libdir); fi
|
||||||
|
- if [ ! -d $(includedir) ]; then $(INSTALL) -d $(includedir); fi
|
||||||
|
- $(LIBTOOL) --mode=install $(INSTALL_DATA) $(LIBNAME) $(libdir)
|
||||||
|
- $(INSTALL_DATA) $(INCLUDES) $(includedir)
|
||||||
|
+ if [ ! -d $(DESTDIR)$(libdir) ]; then $(INSTALL) -d $(DESTDIR)$(libdir); fi
|
||||||
|
+ if [ ! -d $(DESTDIR)$(includedir) ]; then $(INSTALL) -d $(DESTDIR)$(includedir); fi
|
||||||
|
+ $(LIBTOOL) --mode=install $(INSTALL_DATA) $(LIBNAME) $(DESTDIR)$(libdir)
|
||||||
|
+ $(INSTALL_DATA) $(INCLUDES) $(DESTDIR)$(includedir)
|
Loading…
Reference in New Issue
Block a user