View | Details | Raw Unified | Return to bug 50597
Collapse All | Expand All

(-)xsim/Makefile (-1 / +7 lines)
Lines 10-15 Link Here
10
CATEGORIES=	chinese
10
CATEGORIES=	chinese
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
13
DISTFILES=	${PORTNAME}-${PORTVERSION}.tar.gz \
14
		${PORTNAME}-data-freebsd-gb2312.tar.gz
13
15
14
MAINTAINER=	statue@freebsd.sinica.edu.tw
16
MAINTAINER=	statue@freebsd.sinica.edu.tw
15
COMMENT=	A simple and fast GBK Chinese XIM server
17
COMMENT=	A simple and fast GBK Chinese XIM server
Lines 28-37 Link Here
28
		${REINPLACE_CMD} -e 's,@prefix@/plugins,${DATADIR}/plugins,g' \
30
		${REINPLACE_CMD} -e 's,@prefix@/plugins,${DATADIR}/plugins,g' \
29
			-e 's,@prefix@/dat,${DATADIR}/dat,g' \
31
			-e 's,@prefix@/dat,${DATADIR}/dat,g' \
30
			-e 's,@prefix@/bin,${DATADIR}/bin,g'
32
			-e 's,@prefix@/bin,${DATADIR}/bin,g'
33
	@${REINPLACE_CMD} -e 's,@prefix@/dat,${DATADIR}/dat,g' \
34
		-e 's,@prefix@/plugins,${DATADIR}/plugins,g' \
35
		${WRKSRC}/etc/xsimrc.in
31
36
32
post-install:
37
post-install:
33
	@${LN} -s ${PREFIX}/share/xsim/bin/xsim ${PREFIX}/bin/xsim
38
	@${LN} -s ${PREFIX}/share/xsim/bin/xsim ${PREFIX}/bin/xsim
34
	@cd ${WRKSRC} && make install-data
39
	@${MKDIR} ${PREFIX}/share/xsim/dat
40
	@${CP} -R ${WRKDIR}/usr/local/xsim/dat/* ${PREFIX}/share/xsim/dat
35
	@${SED} -e 's,%%X11BASE%%,${X11BASE},g' < ${PKGMESSAGE}
41
	@${SED} -e 's,%%X11BASE%%,${X11BASE},g' < ${PKGMESSAGE}
36
42
37
.include <bsd.port.mk>
43
.include <bsd.port.mk>
(-)xsim/distinfo (+1 lines)
Line 1 Link Here
1
MD5 (xsim-0.3.9.4.tar.gz) = a0b430eeff8bf8beccedfe5f4f1668e7
1
MD5 (xsim-0.3.9.4.tar.gz) = a0b430eeff8bf8beccedfe5f4f1668e7
2
MD5 (xsim-data-freebsd-gb2312.tar.gz) = 191c6b697e134e6f4dbeceb9e8b2ccdd

Return to bug 50597