aboutsummaryrefslogtreecommitdiffstats
path: root/portuguese/mythes
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-07-29 21:13:17 +0800
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-07-29 21:13:17 +0800
commit72c08ec487edbe98662f3278bee17f8726ee4ce4 (patch)
treea3c6d7d2a4a492c3e55a418f3fa370e951b5ccc7 /portuguese/mythes
parenta600d4522cadfa512ce465f98566cee7b9bec843 (diff)
downloadfreebsd-ports-gnome-72c08ec487edbe98662f3278bee17f8726ee4ce4.tar.gz
freebsd-ports-gnome-72c08ec487edbe98662f3278bee17f8726ee4ce4.tar.zst
freebsd-ports-gnome-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
Diffstat (limited to 'portuguese/mythes')
-rw-r--r--portuguese/mythes/Makefile21
1 files changed, 11 insertions, 10 deletions
diff --git a/portuguese/mythes/Makefile b/portuguese/mythes/Makefile
index de2f6717535a..2045c6582d7d 100644
--- a/portuguese/mythes/Makefile
+++ b/portuguese/mythes/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mythes
PORTVERSION= 2006.08.17
+PORTREVISION= 1
CATEGORIES= portuguese textproc
MASTER_SITES= http://openthesaurus.caixamagica.pt/download/
DISTNAME= thes_pt_PT_v2
@@ -18,18 +19,18 @@ LICENSE= GPLv2
USE_ZIP= yes
NO_BUILD= yes
+NO_WRKSUBDIR= yes
-PLIST_FILES= share/mythes/th_pt_PT_v2.dat \
- share/mythes/th_pt_PT_v2.idx \
- share/mythes/th_pt_BR_v2.dat \
- share/mythes/th_pt_BR_v2.idx
-PLIST_DIRS= share/mythes
+PLIST_FILES= %%DATADIR%%/th_pt_BR_v2.dat \
+ %%DATADIR%%/th_pt_BR_v2.idx \
+ %%DATADIR%%/th_pt_PT_v2.dat \
+ %%DATADIR%%/th_pt_PT_v2.idx
+PLIST_DIRSTRY= %%DATADIR%%
do-install:
- @${MKDIR} ${PREFIX}/share/mythes
- @${INSTALL_DATA} ${WRKDIR}/th_pt_PT_v2.* ${PREFIX}/share/mythes
- @cd ${PREFIX}/share/mythes; \
- ${LN} -s th_pt_PT_v2.dat th_pt_BR_v2.dat ; \
- ${LN} -s th_pt_PT_v2.idx th_pt_BR_v2.idx
+ ${MKDIR} ${DATADIR}/
+ ${INSTALL_DATA} ${WRKDIR}/th_pt_PT_v2.dat ${WRKSRC}/th_pt_PT_v2.idx ${DATADIR}/
+ ${LN} -s th_pt_PT_v2.dat ${DATADIR}/th_pt_BR_v2.dat
+ ${LN} -s th_pt_PT_v2.idx ${DATADIR}/th_pt_BR_v2.idx
.include <bsd.port.mk>