aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2019-10-09 18:39:03 +0000
committerJason Helfman <jgh@FreeBSD.org>2019-10-09 18:39:03 +0000
commit4973202bc0347927f547bf21b74a09a1dff69c81 (patch)
tree1972ce098f8bf4c3778c27caf6db2796fb475b34 /deskutils
parent4638854edef32fe8cad3fc2cd1edbcc2c4cf726f (diff)
downloadports-4973202bc0347927f547bf21b74a09a1dff69c81.tar.gz
ports-4973202bc0347927f547bf21b74a09a1dff69c81.zip
Notes
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/xpad3/Makefile32
-rw-r--r--deskutils/xpad3/pkg-plist26
2 files changed, 31 insertions, 27 deletions
diff --git a/deskutils/xpad3/Makefile b/deskutils/xpad3/Makefile
index 92b4dc23ec7e..6871f41cfc8f 100644
--- a/deskutils/xpad3/Makefile
+++ b/deskutils/xpad3/Makefile
@@ -16,12 +16,13 @@ LICENSE= GPLv3
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
+USES= pkgconfig gmake tar:bzip2 xorg gnome
+
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
CONFLICTS_INSTALL= xpad-[0-9]*
-USES= pkgconfig gmake tar:bzip2
USE_XORG= x11 sm ice
USE_GNOME= gtk20 intltool cairo
INSTALLS_ICONS= yes
@@ -31,6 +32,35 @@ NLS_USES= gettext
NLS_CPPFLAGS= ${CXXFLAGS} -I${LOCALBASE}/include
NLS_LDFLAGS= -L${LOCALBASE}/lib
NLS_CONFIGURE_ENABLE= nls
+NLS_PLIST_FILES= \
+share/locale/af/LC_MESSAGES/xpad.mo \
+share/locale/bg/LC_MESSAGES/xpad.mo \
+share/locale/cs/LC_MESSAGES/xpad.mo \
+share/locale/da/LC_MESSAGES/xpad.mo \
+share/locale/en_GB/LC_MESSAGES/xpad.mo \
+share/locale/es/LC_MESSAGES/xpad.mo \
+share/locale/fi/LC_MESSAGES/xpad.mo \
+share/locale/fr/LC_MESSAGES/xpad.mo \
+share/locale/ga/LC_MESSAGES/xpad.mo \
+share/locale/hu/LC_MESSAGES/xpad.mo \
+share/locale/it/LC_MESSAGES/xpad.mo \
+share/locale/ja/LC_MESSAGES/xpad.mo \
+share/locale/ko/LC_MESSAGES/xpad.mo \
+share/locale/lv/LC_MESSAGES/xpad.mo \
+share/locale/nl/LC_MESSAGES/xpad.mo \
+share/locale/ro/LC_MESSAGES/xpad.mo \
+share/locale/ru/LC_MESSAGES/xpad.mo \
+share/locale/rw/LC_MESSAGES/xpad.mo \
+share/locale/sv/LC_MESSAGES/xpad.mo \
+share/locale/vi/LC_MESSAGES/xpad.mo \
+share/locale/zh_CN/LC_MESSAGES/xpad.mo \
+share/locale/zh_TW/LC_MESSAGES/xpad.mo
+
+PLIST_FILES= \
+bin/xpad \
+man/man1/xpad.1.gz \
+share/applications/xpad.desktop \
+share/icons/hicolor/scalable/apps/xpad.svg
.include <bsd.port.options.mk>
diff --git a/deskutils/xpad3/pkg-plist b/deskutils/xpad3/pkg-plist
deleted file mode 100644
index 01f3ab30bf06..000000000000
--- a/deskutils/xpad3/pkg-plist
+++ /dev/null
@@ -1,26 +0,0 @@
-bin/xpad
-man/man1/xpad.1.gz
-share/applications/xpad.desktop
-share/icons/hicolor/scalable/apps/xpad.svg
-%%NLS%%share/locale/af/LC_MESSAGES/xpad.mo
-%%NLS%%share/locale/bg/LC_MESSAGES/xpad.mo
-%%NLS%%share/locale/cs/LC_MESSAGES/xpad.mo
-%%NLS%%share/locale/da/LC_MESSAGES/xpad.mo
-%%NLS%%share/locale/en_GB/LC_MESSAGES/xpad.mo
-%%NLS%%share/locale/es/LC_MESSAGES/xpad.mo
-%%NLS%%share/locale/fi/LC_MESSAGES/xpad.mo
-%%NLS%%share/locale/fr/LC_MESSAGES/xpad.mo
-%%NLS%%share/locale/ga/LC_MESSAGES/xpad.mo
-%%NLS%%share/locale/hu/LC_MESSAGES/xpad.mo
-%%NLS%%share/locale/it/LC_MESSAGES/xpad.mo
-%%NLS%%share/locale/ja/LC_MESSAGES/xpad.mo
-%%NLS%%share/locale/ko/LC_MESSAGES/xpad.mo
-%%NLS%%share/locale/lv/LC_MESSAGES/xpad.mo
-%%NLS%%share/locale/nl/LC_MESSAGES/xpad.mo
-%%NLS%%share/locale/ro/LC_MESSAGES/xpad.mo
-%%NLS%%share/locale/ru/LC_MESSAGES/xpad.mo
-%%NLS%%share/locale/rw/LC_MESSAGES/xpad.mo
-%%NLS%%share/locale/sv/LC_MESSAGES/xpad.mo
-%%NLS%%share/locale/vi/LC_MESSAGES/xpad.mo
-%%NLS%%share/locale/zh_CN/LC_MESSAGES/xpad.mo
-%%NLS%%share/locale/zh_TW/LC_MESSAGES/xpad.mo