aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-08-14 15:07:07 +0800
committerclsung <clsung@FreeBSD.org>2006-08-14 15:07:07 +0800
commit4b890bba6ea071fc9b05d2e93d4a064c694415c2 (patch)
tree07fe58c58101a625f696e68313c733af3a612116
parente6465687420cfc54246ebb12f0fe00e9c25e052e (diff)
downloadfreebsd-ports-gnome-4b890bba6ea071fc9b05d2e93d4a064c694415c2.tar.gz
freebsd-ports-gnome-4b890bba6ea071fc9b05d2e93d4a064c694415c2.tar.zst
freebsd-ports-gnome-4b890bba6ea071fc9b05d2e93d4a064c694415c2.zip
- Respect DESTDIR
- Use USE_BDB PR: ports/101906 Submitted by: Gea-Suan Lin <gslin_AT_gslin dot org>
-rw-r--r--chinese/xsim/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/chinese/xsim/Makefile b/chinese/xsim/Makefile
index b116ed2fd2e7..1d59e84486ad 100644
--- a/chinese/xsim/Makefile
+++ b/chinese/xsim/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xsim
PORTVERSION= 0.3.9.4
+PORTREVISION= 1
CATEGORIES= chinese
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -16,13 +17,12 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz \
MAINTAINER= ports@FreeBSD.org
COMMENT= A simple and fast GBK Chinese XIM server
-LIB_DEPENDS= db4:${PORTSDIR}/databases/db4
-
USE_XLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-cn-locale=eucCN
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message xsim.sh
+USE_BDB= 40+
.include <bsd.port.pre.mk>
@@ -40,7 +40,7 @@ post-patch:
@${REINPLACE_CMD} "s/-O2/${CFLAGS}/g" ${WRKSRC}/configure
post-install:
- ${INSTALL_DATA} ${WRKDIR}/xsim.sh ${PREFIX}/bin/xsim
+ ${INSTALL_DATA} ${WRKDIR}/xsim.sh ${TARGETDIR}/bin/xsim
@${MKDIR} ${DATADIR}/dat
@${CP} -R ${WRKDIR}/usr/local/xsim/dat/* ${DATADIR}/dat
@${CAT} ${PKGMESSAGE}