aboutsummaryrefslogtreecommitdiffstats
path: root/polish/mythes/Makefile
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2011-07-29 21:13:17 +0800
committersunpoet <sunpoet@FreeBSD.org>2011-07-29 21:13:17 +0800
commite7533864e7a7574c2d1b20a6b10f81c0561e4621 (patch)
tree709c0318625f1fe2eca8e12b791e969926c96e91 /polish/mythes/Makefile
parent3bc9ecccbd8279e4254d8eade21cc1a1837decfb (diff)
downloadfreebsd-ports-gnome-e7533864e7a7574c2d1b20a6b10f81c0561e4621.tar.gz
freebsd-ports-gnome-e7533864e7a7574c2d1b20a6b10f81c0561e4621.tar.zst
freebsd-ports-gnome-e7533864e7a7574c2d1b20a6b10f81c0561e4621.zip
- Move language prefix to PKGNAMEPREFIX
- Use DATADIR - Use PLIST_DIRSTRY for DATADIR - Explicitly list installing filenames - Bump PORTREVISION for PORTNAME and PLIST change - Sort PLIST - Cosmetic change
Diffstat (limited to 'polish/mythes/Makefile')
-rw-r--r--polish/mythes/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/polish/mythes/Makefile b/polish/mythes/Makefile
index 64f931fcf1f4..5cbd53f21869 100644
--- a/polish/mythes/Makefile
+++ b/polish/mythes/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mythes
PORTVERSION= 1.5
+PORTREVISION= 1
CATEGORIES= polish textproc
MASTER_SITES= SF/synonimy/synonimy/${PORTVERSION}/
DISTNAME= OOo2-Thesaurus-${PORTVERSION}
@@ -18,14 +19,14 @@ LICENSE= LGPL21
USE_ZIP= yes
NO_BUILD= yes
+NO_WRKSUBDIR= yes
-PLIST_FILES= share/mythes/th_pl_PL_v2.dat \
- share/mythes/th_pl_PL_v2.idx
-
-PLIST_DIRS= share/mythes
+PLIST_FILES= %%DATADIR%%/th_pl_PL_v2.dat \
+ %%DATADIR%%/th_pl_PL_v2.idx
+PLIST_DIRSTRY= %%DATADIR%%
do-install:
- @${MKDIR} ${PREFIX}/share/mythes
- @${INSTALL_DATA} ${WRKDIR}/th_pl_PL_v2.* ${PREFIX}/share/mythes
+ ${MKDIR} ${DATADIR}/
+ ${INSTALL_DATA} ${WRKSRC}/th_pl_PL_v2.dat ${WRKSRC}/th_pl_PL_v2.idx ${DATADIR}/
.include <bsd.port.mk>