- Change MASTER_SITES to my LOCAL to avoid implicit change of non-versioned

dist files
- Set DIST_SUBDIR: move dist files to DISTDIR/hyphen
- Set WRKSRC
- Use DATADIR
- Use PLIST_DIRSTRY for DATADIR
- Cosmetic change
- Bump PORTREVISION for PLIST change
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2011-10-30 15:10:00 +00:00
parent 0e5d917761
commit e21ac54168
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=284723
2 changed files with 11 additions and 8 deletions

View File

@ -7,10 +7,12 @@
PORTNAME= hyphen
PORTVERSION= 2004.04.15
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/
MASTER_SITES= LOCAL/sunpoet/${PORTNAME}/
PKGNAMEPREFIX= is-
DISTNAME= hyph_is_IS
DISTNAME= hyph_is_IS-${PORTVERSION:C/\.//g}
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= office@FreeBSD.org
COMMENT= Icelandic hyphenation rules
@ -19,12 +21,13 @@ LICENSE= LGPL21
USE_ZIP= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
PLIST_FILES= share/hyphen/hyph_is_IS.dic
PLIST_DIRS= share/hyphen
PLIST_FILES= %%DATADIR%%/hyph_is_IS.dic
PLIST_DIRSTRY= %%DATADIR%%
do-install:
@${MKDIR} ${PREFIX}/share/hyphen
@${INSTALL_DATA} ${WRKDIR}/hyph_is_IS.dic ${PREFIX}/share/hyphen
${MKDIR} ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/hyph_is_IS.dic ${DATADIR}/
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (hyph_is_IS.zip) = 9ad8d1c3ab427508766eadc3f60902b79ddac3325a5c6ece8f3d82d6dc539c2f
SIZE (hyph_is_IS.zip) = 14246
SHA256 (hyphen/hyph_is_IS-20040415.zip) = 9ad8d1c3ab427508766eadc3f60902b79ddac3325a5c6ece8f3d82d6dc539c2f
SIZE (hyphen/hyph_is_IS-20040415.zip) = 14246