Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Aug 2006 17:56:37 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org
Subject:   ports/101906: [PATCH] chinese/xsim: Respect DESTDIR, use USE_BDB
Message-ID:  <20060812095637.3F7913AD@netnews.NCTU.edu.tw>
Resent-Message-ID: <200608121000.k7CA0aJ6097823@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         101906
>Category:       ports
>Synopsis:       [PATCH] chinese/xsim: Respect DESTDIR, use USE_BDB
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 12 10:00:36 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006
>Description:
- Respect DESTDIR
- Use USE_BDB

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- xsim-0.3.9.4_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/chinese/xsim/Makefile /home/staff/gslin/work/ports/xsim/Makefile
--- /usr/ports/chinese/xsim/Makefile	Thu May  4 07:38:34 2006
+++ /home/staff/gslin/work/ports/xsim/Makefile	Sat Aug 12 17:55:10 2006
@@ -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 @@
 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
+GNU_CONFIGURE=	yes
 PKGMESSAGE=	${WRKDIR}/pkg-message
 SUB_FILES=	pkg-message xsim.sh
+USE_BDB=	40+
+USE_XLIB=	yes
 
 .include <bsd.port.pre.mk>
 
@@ -40,7 +40,7 @@
 	@${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}
diff -ruN --exclude=CVS /usr/ports/chinese/xsim/pkg-plist /home/staff/gslin/work/ports/xsim/pkg-plist
--- /usr/ports/chinese/xsim/pkg-plist	Thu Mar 27 09:39:53 2003
+++ /home/staff/gslin/work/ports/xsim/pkg-plist	Sat Aug 12 17:55:16 2006
@@ -1,3 +1,4 @@
+@comment $FreeBSD$
 bin/xsim
 etc/xsimrc
 %%DATADIR%%/plugins/jianpin.so
--- xsim-0.3.9.4_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060812095637.3F7913AD>