svn commit: r509652 - head/biology/gperiodic

Kurt Jaeger pi at FreeBSD.org
Fri Aug 23 15:26:56 UTC 2019


Author: pi
Date: Fri Aug 23 15:26:55 2019
New Revision: 509652
URL: https://svnweb.freebsd.org/changeset/ports/509652

Log:
  biology/gperiodic: fix NLS and other rough edges
  
  PR:		239642
  Submitted by:	Walter Schwarzenfeld <w.schwarzenfeld at utanet.at>
  Reported by:	bapt

Modified:
  head/biology/gperiodic/Makefile
  head/biology/gperiodic/pkg-plist

Modified: head/biology/gperiodic/Makefile
==============================================================================
--- head/biology/gperiodic/Makefile	Fri Aug 23 15:23:43 2019	(r509651)
+++ head/biology/gperiodic/Makefile	Fri Aug 23 15:26:55 2019	(r509652)
@@ -13,8 +13,11 @@ COMMENT=	Displays a periodic table of the elements
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/gpl.txt
 
+LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig\
+		libfreetype.so:print/freetype2
+
 USES=		pkgconfig
-USE_GNOME=	gtk20
+USE_GNOME=	cairo gdkpixbuf2 gtk20
 
 PORTDOCS=	AUTHORS ChangeLog README
 
@@ -45,13 +48,6 @@ do-install-NLS-on:
 	${INSTALL_DATA} ${WRKSRC}/po/${lang}.mo \
 		${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/${PORTNAME}.mo
 .endfor
-	${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/gperiodic
-	${INSTALL_DATA} ${WRKSRC}/table_data.h \
-		${STAGEDIR}${PREFIX}/share/locale/gperiodic
-	${INSTALL_DATA} ${WRKSRC}/po/gperiodic.pot \
-		${STAGEDIR}${PREFIX}/share/locale/gperiodic
-	${INSTALL_DATA} ${WRKSRC}/po/README \
-		${STAGEDIR}/${PREFIX}/share/locale/gperiodic	
 
 do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}

Modified: head/biology/gperiodic/pkg-plist
==============================================================================
--- head/biology/gperiodic/pkg-plist	Fri Aug 23 15:23:43 2019	(r509651)
+++ head/biology/gperiodic/pkg-plist	Fri Aug 23 15:26:55 2019	(r509652)
@@ -1,25 +1,21 @@
- at postexec chmod -R 770 /usr/local/share/locale/gperiodic
 bin/gperiodic
-share/locale/be/LC_MESSAGES/gperiodic.mo
-share/locale/cs/LC_MESSAGES/gperiodic.mo
-share/locale/da/LC_MESSAGES/gperiodic.mo
-share/locale/de/LC_MESSAGES/gperiodic.mo
-share/locale/es/LC_MESSAGES/gperiodic.mo
-share/locale/fi/LC_MESSAGES/gperiodic.mo
-share/locale/fr/LC_MESSAGES/gperiodic.mo
-share/locale/gl/LC_MESSAGES/gperiodic.mo
-share/locale/gperiodic/README
-share/locale/gperiodic/gperiodic.pot
-share/locale/gperiodic/table_data.h
-share/locale/is/LC_MESSAGES/gperiodic.mo
-share/locale/it/LC_MESSAGES/gperiodic.mo
-share/locale/ms/LC_MESSAGES/gperiodic.mo
-share/locale/pl/LC_MESSAGES/gperiodic.mo
-share/locale/pt/LC_MESSAGES/gperiodic.mo
-share/locale/ru/LC_MESSAGES/gperiodic.mo
-share/locale/sv/LC_MESSAGES/gperiodic.mo
-share/locale/tr/LC_MESSAGES/gperiodic.mo
-share/locale/uk/LC_MESSAGES/gperiodic.mo
-share/locale/zh_CN/LC_MESSAGES/gperiodic.mo
+%%NLS%%share/locale/be/LC_MESSAGES/gperiodic.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/gperiodic.mo
+%%NLS%%share/locale/da/LC_MESSAGES/gperiodic.mo
+%%NLS%%share/locale/de/LC_MESSAGES/gperiodic.mo
+%%NLS%%share/locale/es/LC_MESSAGES/gperiodic.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/gperiodic.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/gperiodic.mo
+%%NLS%%share/locale/gl/LC_MESSAGES/gperiodic.mo
+%%NLS%%share/locale/is/LC_MESSAGES/gperiodic.mo
+%%NLS%%share/locale/it/LC_MESSAGES/gperiodic.mo
+%%NLS%%share/locale/ms/LC_MESSAGES/gperiodic.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/gperiodic.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/gperiodic.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/gperiodic.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/gperiodic.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/gperiodic.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/gperiodic.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/gperiodic.mo
 share/pixmaps/gperiodic-crystal.png
 share/pixmaps/gperiodic.png


More information about the svn-ports-all mailing list