summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/aria/Makefile4
-rw-r--r--www/aria/pkg-plist6
2 files changed, 6 insertions, 4 deletions
diff --git a/www/aria/Makefile b/www/aria/Makefile
index 02c288bad8cc..a994bafe9a95 100644
--- a/www/aria/Makefile
+++ b/www/aria/Makefile
@@ -45,8 +45,10 @@ post-patch:
${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e 's|"getopt.h"|<getopt.h>|g' \
${WRKSRC}/src/main.cc
+
+pre-build:
.for file in src/AppOption.cc src/HistoryWindow.cc src/RetrieveHTTP.cc \
- src/RetrieveHTTP2.cc src/gui_file_open_and_save.cc
+ src/RetrieveHTTP2.cc src/gui_file_open_and_save.cc
@cd ${WRKSRC} && ${MV} ${file} ${file}.pre_iconv \
&& iconv -c -t ascii ${file}.pre_iconv > ${file} || ${TRUE}
.endfor
diff --git a/www/aria/pkg-plist b/www/aria/pkg-plist
index 07463186351b..8a584188da9c 100644
--- a/www/aria/pkg-plist
+++ b/www/aria/pkg-plist
@@ -6,8 +6,8 @@ share/aria/server.aria
share/aria/server.aria.template.euc.gz
share/aria/server.aria.template.gz
share/aria/useragent.aria
-%%PORTDOCS%%share/doc/aria/README
-%%PORTDOCS%%share/doc/aria/README.euc
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/README.euc
share/locale/cs/LC_MESSAGES/aria.mo
share/locale/de/LC_MESSAGES/aria.mo
share/locale/es/LC_MESSAGES/aria.mo
@@ -18,5 +18,5 @@ share/locale/ja/LC_MESSAGES/aria.mo
share/locale/pl/LC_MESSAGES/aria.mo
share/locale/ru/LC_MESSAGES/aria.mo
share/locale/zh_TW/LC_MESSAGES/aria.mo
-%%PORTDOCS%%@dirrm share/doc/aria
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm share/aria