Lines 7-12
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= xsim |
8 |
PORTNAME= xsim |
9 |
PORTVERSION= 0.3.9.4 |
9 |
PORTVERSION= 0.3.9.4 |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= chinese |
11 |
CATEGORIES= chinese |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
Lines 16-28
Link Here
|
16 |
MAINTAINER= ports@FreeBSD.org |
17 |
MAINTAINER= ports@FreeBSD.org |
17 |
COMMENT= A simple and fast GBK Chinese XIM server |
18 |
COMMENT= A simple and fast GBK Chinese XIM server |
18 |
|
19 |
|
19 |
LIB_DEPENDS= db4:${PORTSDIR}/databases/db4 |
|
|
20 |
|
21 |
USE_XLIB= yes |
22 |
GNU_CONFIGURE= yes |
23 |
CONFIGURE_ARGS= --with-cn-locale=eucCN |
20 |
CONFIGURE_ARGS= --with-cn-locale=eucCN |
|
|
21 |
GNU_CONFIGURE= yes |
24 |
PKGMESSAGE= ${WRKDIR}/pkg-message |
22 |
PKGMESSAGE= ${WRKDIR}/pkg-message |
25 |
SUB_FILES= pkg-message xsim.sh |
23 |
SUB_FILES= pkg-message xsim.sh |
|
|
24 |
USE_BDB= 40+ |
25 |
USE_XLIB= yes |
26 |
|
26 |
|
27 |
.include <bsd.port.pre.mk> |
27 |
.include <bsd.port.pre.mk> |
28 |
|
28 |
|
Lines 40-46
Link Here
|
40 |
@${REINPLACE_CMD} "s/-O2/${CFLAGS}/g" ${WRKSRC}/configure |
40 |
@${REINPLACE_CMD} "s/-O2/${CFLAGS}/g" ${WRKSRC}/configure |
41 |
|
41 |
|
42 |
post-install: |
42 |
post-install: |
43 |
${INSTALL_DATA} ${WRKDIR}/xsim.sh ${PREFIX}/bin/xsim |
43 |
${INSTALL_DATA} ${WRKDIR}/xsim.sh ${TARGETDIR}/bin/xsim |
44 |
@${MKDIR} ${DATADIR}/dat |
44 |
@${MKDIR} ${DATADIR}/dat |
45 |
@${CP} -R ${WRKDIR}/usr/local/xsim/dat/* ${DATADIR}/dat |
45 |
@${CP} -R ${WRKDIR}/usr/local/xsim/dat/* ${DATADIR}/dat |
46 |
@${CAT} ${PKGMESSAGE} |
46 |
@${CAT} ${PKGMESSAGE} |