aboutsummaryrefslogtreecommitdiff
path: root/converters/pdf2djvu
diff options
context:
space:
mode:
Diffstat (limited to 'converters/pdf2djvu')
-rw-r--r--converters/pdf2djvu/Makefile5
-rw-r--r--converters/pdf2djvu/pkg-plist12
2 files changed, 14 insertions, 3 deletions
diff --git a/converters/pdf2djvu/Makefile b/converters/pdf2djvu/Makefile
index cb1008cce9f1..e717269d6dc1 100644
--- a/converters/pdf2djvu/Makefile
+++ b/converters/pdf2djvu/Makefile
@@ -2,7 +2,7 @@
PORTNAME= pdf2djvu
PORTVERSION= 0.9.12
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= converters
MASTER_SITES= https://github.com/jwilk/${PORTNAME}/releases/download/${PORTVERSION}/
@@ -20,10 +20,10 @@ USES= autoreconf:build compiler:c++11-lang gettext-tools \
USE_CXXSTD= c++11
GNU_CONFIGURE= yes
-PLIST_FILES= bin/pdf2djvu
OPTIONS_DEFINE= COLOR_QUANTIZATION DOCS NLS MULTITHREADING XMP
OPTIONS_DEFAULT=COLOR_QUANTIZATION MULTITHREADING XMP
+OPTIONS_SUB= yes
COLOR_QUANTIZATION_DESC=Color quantization via GraphicsMagick++
DOCS= Generate the man page
@@ -38,7 +38,6 @@ COLOR_QUANTIZATION_LIB_DEPENDS= \
DOCS_BUILD_DEPENDS= docbook-xsl>0:textproc/docbook-xsl \
xsltproc:textproc/libxslt
-DOCS_PLIST_FILES= man/man1/pdf2djvu.1.gz
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext-runtime
diff --git a/converters/pdf2djvu/pkg-plist b/converters/pdf2djvu/pkg-plist
new file mode 100644
index 000000000000..a6c166866fc3
--- /dev/null
+++ b/converters/pdf2djvu/pkg-plist
@@ -0,0 +1,12 @@
+bin/pdf2djvu
+%%DOCS%%%%NLS%%man/de/man1/pdf2djvu.1.gz
+%%DOCS%%%%NLS%%man/fr/man1/pdf2djvu.1.gz
+%%DOCS%%man/man1/pdf2djvu.1.gz
+%%DOCS%%%%NLS%%man/pl/man1/pdf2djvu.1.gz
+%%DOCS%%%%NLS%%man/pt/man1/pdf2djvu.1.gz
+%%DOCS%%%%NLS%%man/ru/man1/pdf2djvu.1.gz
+%%NLS%%share/locale/de/LC_MESSAGES/pdf2djvu.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/pdf2djvu.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/pdf2djvu.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/pdf2djvu.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/pdf2djvu.mo