diff options
author | garga <garga@FreeBSD.org> | 2006-02-23 01:01:03 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2006-02-23 01:01:03 +0800 |
commit | 2aad1b5d1a9ac74231a816700be8933c21c7eb0a (patch) | |
tree | b399e59161b836567d3d2eeaef854bb9e8de4b77 /x11-fonts/farsifonts/Makefile | |
parent | 5a570e3a9549acb08eb19475c334816d0b83c844 (diff) | |
download | freebsd-ports-gnome-2aad1b5d1a9ac74231a816700be8933c21c7eb0a.tar.gz freebsd-ports-gnome-2aad1b5d1a9ac74231a816700be8933c21c7eb0a.tar.zst freebsd-ports-gnome-2aad1b5d1a9ac74231a816700be8933c21c7eb0a.zip |
- Add more MASTER_SITES
- Rework Makefile
PR: ports/93063
Submitted by: maintainer
Diffstat (limited to 'x11-fonts/farsifonts/Makefile')
-rw-r--r-- | x11-fonts/farsifonts/Makefile | 7 |
1 files changed, 5 insertions, 2 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> |