aboutsummaryrefslogtreecommitdiff
path: root/portuguese/hyphen/Makefile
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 /portuguese/hyphen/Makefile
parenta600d4522cadfa512ce465f98566cee7b9bec843 (diff)
- 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 'portuguese/hyphen/Makefile')
-rw-r--r--portuguese/hyphen/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/portuguese/hyphen/Makefile b/portuguese/hyphen/Makefile
index d32551a583ec..b0348de72e34 100644
--- a/portuguese/hyphen/Makefile
+++ b/portuguese/hyphen/Makefile
@@ -7,6 +7,7 @@
PORTNAME= hyphen
PORTVERSION= 2004.04.15
+PORTREVISION= 1
CATEGORIES= portuguese textproc
MASTER_SITES= http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/
DISTNAME= hyph_pt_PT
@@ -19,13 +20,13 @@ LICENSE= LGPL21
USE_ZIP= yes
NO_BUILD= yes
-PLIST_FILES= share/hyphen/hyph_pt_PT.dic \
- share/hyphen/hyph_pt_BR.dic
-PLIST_DIRS= share/hyphen
+PLIST_FILES= %%DATADIR%%/hyph_pt_BR.dic \
+ %%DATADIR%%/hyph_pt_PT.dic
+PLIST_DIRSTRY= %%DATADIR%%
do-install:
- @${MKDIR} ${PREFIX}/share/hyphen
- @${INSTALL_DATA} ${WRKDIR}/hyph_pt_PT.dic ${PREFIX}/share/hyphen
- @cd ${PREFIX}/share/hyphen; ${LN} -s hyph_pt_PT.dic hyph_pt_BR.dic
+ ${MKDIR} ${DATADIR}/
+ ${INSTALL_DATA} ${WRKDIR}/hyph_pt_PT.dic ${DATADIR}/
+ ${LN} -s hyph_pt_PT.dic ${DATADIR}/hyph_pt_BR.dic
.include <bsd.port.mk>