summaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2006-02-22 17:01:03 +0000
committerRenato Botelho <garga@FreeBSD.org>2006-02-22 17:01:03 +0000
commitc95736650b283462a446d0154cb5098b3d4ab2ce (patch)
tree8620b44ec2a0e10e96340e0964d721ae615bccb6 /x11-fonts
parentGrounation is a simple and stylish set of cursors. (diff)
- Add more MASTER_SITES
- Rework Makefile PR: ports/93063 Submitted by: maintainer
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/farsifonts/Makefile7
-rw-r--r--x11-fonts/farsifonts/pkg-plist24
2 files changed, 17 insertions, 14 deletions
diff --git a/x11-fonts/farsifonts/Makefile b/x11-fonts/farsifonts/Makefile
index d266a4e3233e..a6f65146b1cb 100644
--- a/x11-fonts/farsifonts/Makefile
+++ b/x11-fonts/farsifonts/Makefile
@@ -8,7 +8,8 @@
PORTNAME= farsifonts
PORTVERSION= 0.4
CATEGORIES= x11-fonts
-MASTER_SITES= http://www.farsiweb.info/font/
+MASTER_SITES= http://www.farsiweb.info/font/ \
+ http://www.unixified.net/distfiles/
MAINTAINER= babak@farrokhi.net
COMMENT= Standard set of Unicode Persian fonts
@@ -17,6 +18,8 @@ BUILD_DEPENDS= ttmkfdir:${PORTSDIR}/x11-fonts/ttmkfdir
USE_X_PREFIX= yes
USE_ZIP= yes
+PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
+FONTSDIR?= ${PREFIX}/lib/X11/fonts/${PORTNAME}
do-build:
@ttmkfdir -c -d ${WRKSRC} > ${WRKSRC}/fonts.dir
@@ -24,6 +27,6 @@ do-build:
do-install:
@${MKDIR} ${PREFIX}/lib/X11/fonts/farsifonts
@${INSTALL_DATA} ${WRKSRC}/*.ttf ${PREFIX}/lib/X11/fonts/farsifonts
- @${INSTALL_DATA} ${WRKSRC}/*.dir ${PREFIX}/lib/X11/fonts/farsifonts
+ @${INSTALL_DATA} ${WRKSRC}/fonts.dir ${PREFIX}/lib/X11/fonts/farsifonts
.include <bsd.port.mk>
diff --git a/x11-fonts/farsifonts/pkg-plist b/x11-fonts/farsifonts/pkg-plist
index b240904b5b8c..7ad65ddab728 100644
--- a/x11-fonts/farsifonts/pkg-plist
+++ b/x11-fonts/farsifonts/pkg-plist
@@ -1,12 +1,12 @@
-lib/X11/fonts/farsifonts/elham.ttf
-lib/X11/fonts/farsifonts/fonts.dir
-lib/X11/fonts/farsifonts/homa.ttf
-lib/X11/fonts/farsifonts/koodak.ttf
-lib/X11/fonts/farsifonts/nazli.ttf
-lib/X11/fonts/farsifonts/nazlib.ttf
-lib/X11/fonts/farsifonts/roya.ttf
-lib/X11/fonts/farsifonts/royab.ttf
-lib/X11/fonts/farsifonts/terafik.ttf
-lib/X11/fonts/farsifonts/terafikb.ttf
-lib/X11/fonts/farsifonts/titr.ttf
-@dirrm lib/X11/fonts/farsifonts
+%%FONTSDIR%%/elham.ttf
+%%FONTSDIR%%/fonts.dir
+%%FONTSDIR%%/homa.ttf
+%%FONTSDIR%%/koodak.ttf
+%%FONTSDIR%%/nazli.ttf
+%%FONTSDIR%%/nazlib.ttf
+%%FONTSDIR%%/roya.ttf
+%%FONTSDIR%%/royab.ttf
+%%FONTSDIR%%/terafik.ttf
+%%FONTSDIR%%/terafikb.ttf
+%%FONTSDIR%%/titr.ttf
+@dirrm %%FONTSDIR%%