diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2006-04-01 12:44:58 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2006-04-01 12:44:58 +0000 |
commit | 7e9975b7498651dbf135fe3461b59a67ecfa6bc0 (patch) | |
tree | 1b61f3e3a24710661d7233c8c8351da6c50ebb96 /chinese/xsim | |
parent | c88ecfb4d6b5c1832f2c6758055824f87af20369 (diff) | |
download | ports-7e9975b7498651dbf135fe3461b59a67ecfa6bc0.tar.gz ports-7e9975b7498651dbf135fe3461b59a67ecfa6bc0.zip |
Notes
Diffstat (limited to 'chinese/xsim')
-rw-r--r-- | chinese/xsim/Makefile | 7 | ||||
-rw-r--r-- | chinese/xsim/files/pkg-message.in (renamed from chinese/xsim/pkg-message) | 0 | ||||
-rw-r--r-- | chinese/xsim/files/xsim.sh.in (renamed from chinese/xsim/files/xsim.sh) | 0 |
3 files changed, 4 insertions, 3 deletions
diff --git a/chinese/xsim/Makefile b/chinese/xsim/Makefile index 087d2d03556b..c2bcfa8f131d 100644 --- a/chinese/xsim/Makefile +++ b/chinese/xsim/Makefile @@ -22,6 +22,8 @@ USE_REINPLACE= yes USE_XLIB= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-cn-locale=eucCN +PKGMESSAGE= ${WRKDIR}/pkg-message +SUB_FILES= pkg-message xsim.sh .include <bsd.port.pre.mk> @@ -39,10 +41,9 @@ post-patch: @${REINPLACE_CMD} "s/-O2/${CFLAGS}/g" ${WRKSRC}/configure post-install: - @${SED} "s|%%PREFIX%%|${PREFIX}|g" <${FILESDIR}/xsim.sh \ - >${PREFIX}/bin/xsim && ${CHMOD} 555 ${PREFIX}/bin/xsim + ${INSTALL_DATA} ${WRKDIR}/xsim.sh ${PREFIX}/bin/xsim @${MKDIR} ${DATADIR}/dat @${CP} -R ${WRKDIR}/usr/local/xsim/dat/* ${DATADIR}/dat - @${SED} -e 's,%%X11BASE%%,${X11BASE},g' < ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE} .include <bsd.port.post.mk> diff --git a/chinese/xsim/pkg-message b/chinese/xsim/files/pkg-message.in index 2962664fe98c..2962664fe98c 100644 --- a/chinese/xsim/pkg-message +++ b/chinese/xsim/files/pkg-message.in diff --git a/chinese/xsim/files/xsim.sh b/chinese/xsim/files/xsim.sh.in index 115ec73f9ce0..115ec73f9ce0 100644 --- a/chinese/xsim/files/xsim.sh +++ b/chinese/xsim/files/xsim.sh.in |