diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-04-05 17:30:18 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-04-05 17:30:18 +0000 |
commit | a4a9ea1b3394c5c0690490f7032fae816332bdc2 (patch) | |
tree | eae38053bee584c524092d6e7adf37af36b55027 /chinese/xsim/Makefile | |
parent | 828951971d1833fdb774c97529d060df91e907c5 (diff) | |
download | ports-a4a9ea1b3394c5c0690490f7032fae816332bdc2.tar.gz ports-a4a9ea1b3394c5c0690490f7032fae816332bdc2.zip |
Notes
Diffstat (limited to 'chinese/xsim/Makefile')
-rw-r--r-- | chinese/xsim/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/chinese/xsim/Makefile b/chinese/xsim/Makefile index 50ef6c4cd769..65f0065a589d 100644 --- a/chinese/xsim/Makefile +++ b/chinese/xsim/Makefile @@ -10,6 +10,8 @@ PORTVERSION= 0.3.9.4 CATEGORIES= chinese MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} +DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz \ + ${PORTNAME}-data-freebsd-gb2312.tar.gz MAINTAINER= statue@freebsd.sinica.edu.tw COMMENT= A simple and fast GBK Chinese XIM server @@ -24,14 +26,13 @@ CONFIGURE_ARGS= --with-cn-locale=EUC post-patch: @${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \ ${WRKSRC}/xsim/IMdkit/IMConn.c - @${FIND} ${WRKSRC} -type f -name Makefile.in | ${XARGS} \ - ${REINPLACE_CMD} -e 's,@prefix@/plugins,${DATADIR}/plugins,g' \ - -e 's,@prefix@/dat,${DATADIR}/dat,g' \ - -e 's,@prefix@/bin,${DATADIR}/bin,g' + @${FIND} ${WRKSRC} -name xsimrc.in -or -name Makefile.in | ${XARGS} \ + ${REINPLACE_CMD} -Ee 's,@prefix@/(plugins|dat|bin),${DATADIR}/\1,g' post-install: - @${LN} -s ${PREFIX}/share/xsim/bin/xsim ${PREFIX}/bin/xsim - @cd ${WRKSRC} && make install-data + @${LN} -s ${DATADIR}/bin/xsim ${PREFIX}/bin/xsim + @${MKDIR} ${DATADIR}/dat + @${CP} -R ${WRKDIR}/usr/local/xsim/dat/* ${DATADIR}/dat @${SED} -e 's,%%X11BASE%%,${X11BASE},g' < ${PKGMESSAGE} .include <bsd.port.mk> |