aboutsummaryrefslogtreecommitdiff
path: root/textproc/el-hyphen
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-07-29 13:13:17 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-07-29 13:13:17 +0000
commit72c08ec487edbe98662f3278bee17f8726ee4ce4 (patch)
treea3c6d7d2a4a492c3e55a418f3fa370e951b5ccc7 /textproc/el-hyphen
parenta600d4522cadfa512ce465f98566cee7b9bec843 (diff)
downloadports-72c08ec487edbe98662f3278bee17f8726ee4ce4.tar.gz
ports-72c08ec487edbe98662f3278bee17f8726ee4ce4.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
Notes
Notes: svn path=/head/; revision=278527
Diffstat (limited to 'textproc/el-hyphen')
-rw-r--r--textproc/el-hyphen/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/textproc/el-hyphen/Makefile b/textproc/el-hyphen/Makefile
index ca665e0ade62..6f2fb84bf1a9 100644
--- a/textproc/el-hyphen/Makefile
+++ b/textproc/el-hyphen/Makefile
@@ -5,10 +5,12 @@
# $FreeBSD$
#
-PORTNAME= el-hyphen
+PORTNAME= hyphen
PORTVERSION= 2005.10.17
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/
+PKGNAMEPREFIX= el-
DISTNAME= hyph_el_GR
MAINTAINER= office@FreeBSD.org
@@ -19,15 +21,13 @@ LICENSE= LGPL21
USE_ZIP= yes
NO_BUILD= yes
-PLIST_FILES= share/hyphen/hyph_el_GR.dic \
- share/hyphen/hyph_el_CY.dic
-
-PLIST_DIRS= share/hyphen
+PLIST_FILES= %%DATADIR%%/hyph_el_CY.dic \
+ %%DATADIR%%/hyph_el_GR.dic
+PLIST_DIRSTRY= %%DATADIR%%
do-install:
- @${MKDIR} ${PREFIX}/share/hyphen
- @${INSTALL_DATA} ${WRKDIR}/hyph_el_GR.dic ${PREFIX}/share/hyphen
- @cd ${PREFIX}/share/hyphen; \
- ${LN} -s hyph_el_GR.dic hyph_el_CY.dic
+ ${MKDIR} ${DATADIR}/
+ ${INSTALL_DATA} ${WRKDIR}/hyph_el_GR.dic ${DATADIR}/
+ ${LN} -s hyph_el_GR.dic ${DATADIR}/hyph_el_CY.dic
.include <bsd.port.mk>