ports/115039: Maintainer update port:textproc/qstardict update to 0.5

Yinghong.Liu relaxbsd at gmail.com
Mon Jul 30 14:00:08 UTC 2007


>Number:         115039
>Category:       ports
>Synopsis:       Maintainer update port:textproc/qstardict update to 0.5
>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:   Mon Jul 30 14:00:07 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Yinghong.Liu
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD relaxbsd.org 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sun Jun 3 12:43:41 CST 2007 root at relaxbsd.org:/usr/src/sys/i386/compile/RELAXBSD i386


	
>Description:
*Update to 0.5
*Remove translation files(NLS) in pkg-plist(It's contained in the obj file).
	
>How-To-Repeat:
	
>Fix:

	

--- qstardict.diff begins here ---
diff -uNr qstardict.orig/Makefile qstardict/Makefile
--- qstardict.orig/Makefile	2007-07-30 21:26:32.000000000 +0800
+++ qstardict/Makefile	2007-07-30 21:36:43.000000000 +0800
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	qstardict
-PORTVERSION=	0.03
+PORTVERSION=	0.05
 CATEGORIES=	textproc
 MASTER_SITES=	http://qstardict.ylsoftware.com/files/ \
 		ftp://local-distfiles.freebsd.org.cn/pub/china-ports/hamigua/
@@ -22,12 +22,6 @@
 
 PORTDOCS=	AUTHORS COPYNG ChangeLog INSTALL README THANKS
 
-.if !defined(WITHOUT_NLS)
-PLIST_SUB+=	NLS=""
-.else
-PLIST_SUB+=	NLS="@comment "
-.endif
-
 post-patch:
 	@${REINPLACE_CMD} -e "s|/usr|${PREFIX}|g" \
 		${WRKSRC}/qstardict.pro
@@ -38,10 +32,6 @@
 	@cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${QMAKE}
 
 post-install:
-.if !defined(WITHOUT_NLS)
-	@${MKDIR} ${DATADIR}/translations
-	(cd ${WRKSRC}/translations/ && ${COPYTREE_SHARE} '*.qm' ${DATADIR}/translations)
-.endif
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
 .for doc in AUTHORS COPYNG ChangeLog INSTALL README THANKS
diff -uNr qstardict.orig/distinfo qstardict/distinfo
--- qstardict.orig/distinfo	2007-07-30 21:26:32.000000000 +0800
+++ qstardict/distinfo	2007-07-30 21:27:35.000000000 +0800
@@ -1,3 +1,3 @@
-MD5 (qstardict-0.03.tar.bz2) = 5e4ba2a3fcf712b4a30bd2d1cb4889fd
-SHA256 (qstardict-0.03.tar.bz2) = a710c4e3c9894a2243b44798f35782cdc27f8d92a1b4acf7bc83ffa13e98a9a0
-SIZE (qstardict-0.03.tar.bz2) = 179052
+MD5 (qstardict-0.05.tar.bz2) = 9ace1928edcc808f3c4b9a827e050a39
+SHA256 (qstardict-0.05.tar.bz2) = 9a54124ed97f01af780430f124937afe680509cfa5a02677fb98c0080b3f08ac
+SIZE (qstardict-0.05.tar.bz2) = 170500
diff -uNr qstardict.orig/pkg-plist qstardict/pkg-plist
--- qstardict.orig/pkg-plist	2007-07-30 21:26:32.000000000 +0800
+++ qstardict/pkg-plist	2007-07-30 21:37:00.000000000 +0800
@@ -1,8 +1,4 @@
 bin/qstardict
 share/applications/qstardict.desktop
 share/pixmaps/qstardict.png
-%%NLS%%%%DATADIR%%/translations/qstardict-ru_RU.qm
-%%NLS%%%%DATADIR%%/translations/qstardict-zh_TW.qm
-%%NLS%%@dirrm %%DATADIR%%/translations
-%%NLS%%@dirrm %%DATADIR%%
 @dirrmtry share/applications
--- qstardict.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list