ports/99946: [MAINTAINER] textproc/sdcv: Add instruction for using sdcv
chinsan
chinsan.tw at gmail.com
Sun Jul 9 00:00:35 UTC 2006
>Number: 99946
>Category: ports
>Synopsis: [MAINTAINER] textproc/sdcv: Add instruction for using sdcv
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun Jul 09 00:00:33 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: chinsan
>Release: FreeBSD 6.1-STABLE i386
>Organization:
Taiwan
>Environment:
System: FreeBSD BSD6.giga.hgc.com.tw 6.1-STABLE FreeBSD 6.1-STABLE #4: Fri Jun 9 14:02:41 CST
>Description:
- Add instruction for using sdcv
Added file(s):
- files/pkg-message.in
Removed file(s):
- files/patch-configure
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- sdcv-0.4.2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/textproc/sdcv/Makefile /usr/home/chinsan/project/sdcv/Makefile
--- /usr/ports/textproc/sdcv/Makefile Thu Jul 6 03:29:51 2006
+++ /usr/home/chinsan/project/sdcv/Makefile Sun Jul 9 07:43:51 2006
@@ -20,6 +20,8 @@
USE_AUTOTOOLS= libtool:15
USE_GNOME= glib20
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+PKGMESSAGE= ${WRKDIR}/pkg-message
+SUB_FILES= pkg-message
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
@@ -61,5 +63,8 @@
@${REINPLACE_CMD} -e 's, getopt.h,,g; s, at USE_NLS@,yes,g' \
${WRKSRC}/src/Makefile.in
.endif
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/textproc/sdcv/files/patch-configure /usr/home/chinsan/project/sdcv/files/patch-configure
--- /usr/ports/textproc/sdcv/files/patch-configure Thu Jul 6 03:29:51 2006
+++ /usr/home/chinsan/project/sdcv/files/patch-configure Thu Jan 1 08:00:00 1970
@@ -1,11 +0,0 @@
---- configure.orig Mon Apr 24 18:57:24 2006
-+++ configure Fri May 5 17:24:17 2006
-@@ -5745,6 +5745,8 @@
-
- cat >>confdefs.h <<\_ACEOF
- #define HAVE_GETTEXT 1
-+USE_NLS=yes
-+#define ENABLE_NLS 1
- _ACEOF
-
-
diff -ruN --exclude=CVS /usr/ports/textproc/sdcv/files/pkg-message.in /usr/home/chinsan/project/sdcv/files/pkg-message.in
--- /usr/ports/textproc/sdcv/files/pkg-message.in Thu Jan 1 08:00:00 1970
+++ /usr/home/chinsan/project/sdcv/files/pkg-message.in Sun Jul 9 07:38:46 2006
@@ -0,0 +1,14 @@
+**************************************************************************
+sdcv is now installed.
+you have to fetch the dictionaries to make it work correctly.
+
+1. Make directory for dictionaries files :
+
+ # mkdir -p %%PREFIX%%/share/stardict/dict
+
+
+2. Please put your dictionary file at :
+
+ %%PREFIX%%/share/stardict/dict/
+
+**************************************************************************
--- sdcv-0.4.2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list