aboutsummaryrefslogtreecommitdiff
path: root/biology/gperiodic
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2019-08-23 15:26:55 +0000
committerKurt Jaeger <pi@FreeBSD.org>2019-08-23 15:26:55 +0000
commitbc7e4c2f4af5d007b3299baf5b3bed56ed8e94d2 (patch)
treeb3a38d3873e9cef65a5bc260cf5f4a3920da7516 /biology/gperiodic
parent3717c1c97dda85602023e25b4790a0c6d28699b1 (diff)
Notes
Diffstat (limited to 'biology/gperiodic')
-rw-r--r--biology/gperiodic/Makefile12
-rw-r--r--biology/gperiodic/pkg-plist40
2 files changed, 22 insertions, 30 deletions
diff --git a/biology/gperiodic/Makefile b/biology/gperiodic/Makefile
index 4b689f08ac3b..2919ca920acb 100644
--- a/biology/gperiodic/Makefile
+++ b/biology/gperiodic/Makefile
@@ -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}
diff --git a/biology/gperiodic/pkg-plist b/biology/gperiodic/pkg-plist
index b5d4271ba217..43219154f154 100644
--- a/biology/gperiodic/pkg-plist
+++ b/biology/gperiodic/pkg-plist
@@ -1,25 +1,21 @@
-@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