aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ro-hyphen
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/ro-hyphen
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/ro-hyphen')
-rw-r--r--textproc/ro-hyphen/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/textproc/ro-hyphen/Makefile b/textproc/ro-hyphen/Makefile
index 6cf4991e0d3b..88c68731c974 100644
--- a/textproc/ro-hyphen/Makefile
+++ b/textproc/ro-hyphen/Makefile
@@ -5,10 +5,12 @@
# $FreeBSD$
#
-PORTNAME= ro-hyphen
+PORTNAME= hyphen
PORTVERSION= 3.3.6
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= SF/rospell/Romanian%20dictionaries/dict-${PORTVERSION}/
+PKGNAMEPREFIX= ro-
DISTNAME= hyph_ro_RO.${PORTVERSION}
MAINTAINER= office@FreeBSD.org
@@ -20,11 +22,11 @@ LICENSE_COMB= dual
USE_ZIP= yes
NO_BUILD= yes
-PLIST_FILES= share/hyphen/hyph_ro_RO.dic
-PLIST_DIRS= share/hyphen
+PLIST_FILES= %%DATADIR%%/hyph_ro_RO.dic
+PLIST_DIRSTRY= %%DATADIR%%
do-install:
- @${MKDIR} ${PREFIX}/share/hyphen
- @${INSTALL_DATA} ${WRKDIR}/hyph_ro_RO.* ${PREFIX}/share/hyphen
+ ${MKDIR} ${DATADIR}/
+ ${INSTALL_DATA} ${WRKDIR}/hyph_ro_RO.dic ${DATADIR}/
.include <bsd.port.mk>