diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2011-10-30 23:10:00 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2011-10-30 23:10:00 +0800 |
commit | 83de5b3fc8eb4f37bebd1ac5ab0bb1b9fee65476 (patch) | |
tree | fda4fc160016e844045fa90d283abeef60e8c8d4 | |
parent | d0e87c2ecd9c4f01743156b9278c6cb956bfb5e1 (diff) | |
download | freebsd-ports-gnome-83de5b3fc8eb4f37bebd1ac5ab0bb1b9fee65476.tar.gz freebsd-ports-gnome-83de5b3fc8eb4f37bebd1ac5ab0bb1b9fee65476.tar.zst freebsd-ports-gnome-83de5b3fc8eb4f37bebd1ac5ab0bb1b9fee65476.zip |
- 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
-rw-r--r-- | textproc/is-hyphen/Makefile | 15 | ||||
-rw-r--r-- | textproc/is-hyphen/distinfo | 4 |
2 files changed, 11 insertions, 8 deletions
diff --git a/textproc/is-hyphen/Makefile b/textproc/is-hyphen/Makefile index f3e5568a94c7..175c2f9dcd41 100644 --- a/textproc/is-hyphen/Makefile +++ b/textproc/is-hyphen/Makefile @@ -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> diff --git a/textproc/is-hyphen/distinfo b/textproc/is-hyphen/distinfo index c2d9ed5dfd8a..73ba58dda137 100644 --- a/textproc/is-hyphen/distinfo +++ b/textproc/is-hyphen/distinfo @@ -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 |