Index: head/chinese/chinput2/pkg-plist =================================================================== --- head/chinese/chinput2/pkg-plist (revision 119082) +++ head/chinese/chinput2/pkg-plist (nonexistent) @@ -1,5 +0,0 @@ -bin/chinput2 -bin/add_items -etc/chinput2.conf -share/chinput2/README -@dirrm share/chinput2 Property changes on: head/chinese/chinput2/pkg-plist ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.2 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/chinese/chinput2/Makefile =================================================================== --- head/chinese/chinput2/Makefile (revision 119082) +++ head/chinese/chinput2/Makefile (revision 119083) @@ -1,43 +1,48 @@ # ex:ts=8 # Ports collection makefile for: chinput2 # Date created: 11/09/2000 # Whom: Peng HaiJie (phj@cn.freebsd.org) # # $FreeBSD$ # PORTNAME= chinput2 PORTVERSION= 1.3.1 CATEGORIES= chinese x11 MASTER_SITES= ftp://ftp.cn.freebsd.org/pub/ported/ DISTNAME= zh-chinput2-1.3.1 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} +PLIST_FILES= bin/chinput2 bin/add_items etc/chinput2.conf share/${PORTNAME}/README +PLIST_DIRS= share/${PORTNAME} -.include +post-extract: + @${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -rf -.if ${OSVERSION} >= 500113 -BROKEN= "Does not build" -.endif +post-patch: + @${REINPLACE_CMD} -Ee 's,^((BIN|CONF|DOC_)(DIR|PATH)=)/usr/local,\1${PREFIX},g' \ + ${WRKSRC}/util/pydb/Makefile ${WRKSRC}/src/Makefile ${WRKSRC}/Makefile -post-extract: - ${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -rf +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 +.include Property changes on: head/chinese/chinput2/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.9 \ No newline at end of property +1.10 \ No newline at end of property