aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/sv-mythes
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 /textproc/sv-mythes
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 'textproc/sv-mythes')
-rw-r--r--textproc/sv-mythes/Makefile24
1 files changed, 13 insertions, 11 deletions
diff --git a/textproc/sv-mythes/Makefile b/textproc/sv-mythes/Makefile
index d40f12902ed2..dbe0023bd357 100644
--- a/textproc/sv-mythes/Makefile
+++ b/textproc/sv-mythes/Makefile
@@ -5,10 +5,12 @@
# $FreeBSD$
#
-PORTNAME= sv-mythes
+PORTNAME= mythes
PORTVERSION= 2008.06.10
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/
+PKGNAMEPREFIX= sv-
DISTNAME= thes_sv_SE_v2
MAINTAINER= office@FreeBSD.org
@@ -18,18 +20,18 @@ LICENSE= MIT
USE_ZIP= yes
NO_BUILD= yes
+NO_WRKSUBDIR= yes
-PLIST_FILES= share/mythes/th_sv_SE.dat \
- share/mythes/th_sv_SE.idx \
- share/mythes/th_sv_FI.dat \
- share/mythes/th_sv_FI.idx
-PLIST_DIRS= share/mythes
+PLIST_FILES= %%DATADIR%%/th_sv_SE.dat \
+ %%DATADIR%%/th_sv_SE.idx \
+ %%DATADIR%%/th_sv_FI.dat \
+ %%DATADIR%%/th_sv_FI.idx
+PLIST_DIRSTRY= %%DATADIR%%
do-install:
- @${MKDIR} ${PREFIX}/share/mythes
- @${INSTALL_DATA} ${WRKDIR}/th_sv_SE.* ${PREFIX}/share/mythes
- @cd ${PREFIX}/share/mythes; \
- ${LN} -s th_sv_SE.dat th_sv_FI.dat; \
- ${LN} -s th_sv_SE.idx th_sv_FI.idx
+ ${MKDIR} ${DATADIR}/
+ ${INSTALL_DATA} ${WRKSRC}/th_sv_SE.dat ${WRKSRC}/th_sv_SE.idx ${DATADIR}/
+ ${LN} -s th_sv_SE.dat ${DATADIR}/th_sv_FI.dat
+ ${LN} -s th_sv_SE.idx ${DATADIR}/th_sv_FI.idx
.include <bsd.port.mk>