Date: Sun, 19 Sep 2004 02:02:44 +0800 (CST) From: Yen-Ming Lee <leeym@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: phj@cn.FreeBSD.org Subject: ports/71888: [PATCH] chinese/zh-chinput2: unbreak Message-ID: <20040918180244.BB9C83EAD34@utopia.leeym.com> Resent-Message-ID: <200409181810.i8IIAPc2040870@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 71888 >Category: ports >Synopsis: [PATCH] chinese/zh-chinput2: unbreak >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Sep 18 18:10:25 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 5.3-BETA4 i386 >Organization: FreeBSD Taiwan >Environment: System: FreeBSD utopia.leeym.com 5.3-BETA4 FreeBSD 5.3-BETA4 #7: Mon Sep 13 05:12:30 CST 2004 >Description: - unbreak this port - utilize USE_MYSQL and ECHO_MSG Port maintainer (phj@cn.FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- zh-chinput2-1.3.1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/chinese/chinput2/Makefile,v retrieving revision 1.9 diff -u -u -r1.9 Makefile --- Makefile 13 Nov 2003 14:44:58 -0000 1.9 +++ Makefile 18 Sep 2004 18:01:27 -0000 @@ -15,29 +15,34 @@ MAINTAINER= phj@cn.FreeBSD.org COMMENT= Another Chinese GB2312 and Big5 X11 input server -BUILD_DEPENDS= mysql:${PORTSDIR}/databases/mysql323-client -RUN_DEPENDS= mysql:${PORTSDIR}/databases/mysql323-client - +USE_MYSQL= yes +USE_REINPLACE= yes USE_XLIB= yes WRKSRC= ${WRKDIR}/${PORTNAME} -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 500113 -BROKEN= "Does not build" -.endif - post-extract: - ${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -rf + @${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -rf + +post-patch: + @${REINPLACE_CMD} -E \ + -e 's,^((BIN|CONF|DOC_)(DIR|PATH)=)/usr/local,\1${PREFIX},g' \ + ${WRKSRC}/util/pydb/Makefile ${WRKSRC}/src/Makefile ${WRKSRC}/Makefile + +pre-build: + @${RM} -f ${WRKSRC}/src/.depend + +pre-install: + @${REINPLACE_CMD} -Ee 's,^((BIN|CONF|DOC_)(DIR|PATH)=)/usr/local,\1${PREFIX},g' \ + ${WRKSRC}/src/Makefile post-install: - @echo - @echo - @echo "Please refer to /usr/local/share/chinput2/README for " - @echo "how to use chinput2,thanks for using this software." - @echo - @echo " -phj@cn.freebsd.org" - @echo + @${ECHO_MSG} + @${ECHO_MSG} + @${ECHO_MSG} "Please refer to ${PREFIX}/share/chinput2/README for " + @${ECHO_MSG} "how to use chinput2,thanks for using this software." + @${ECHO_MSG} + @${ECHO_MSG} " -phj@cn.freebsd.org" + @${ECHO_MSG} -.include <bsd.port.post.mk> +.include <bsd.port.mk> --- zh-chinput2-1.3.1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040918180244.BB9C83EAD34>