aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/alef/Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-03-19 17:07:25 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-03-19 17:07:25 +0000
commita026356d99bf4ce36b27e8f90d212aba9927664e (patch)
treebe759f423296b1e83616a0cc7f06345c649a6246 /x11-fonts/alef/Makefile
parent149ff68acf23059bea839a662be8b02949d0487d (diff)
downloadports-a026356d99bf4ce36b27e8f90d212aba9927664e.tar.gz
ports-a026356d99bf4ce36b27e8f90d212aba9927664e.zip
Notes
Diffstat (limited to 'x11-fonts/alef/Makefile')
-rw-r--r--x11-fonts/alef/Makefile19
1 files changed, 5 insertions, 14 deletions
diff --git a/x11-fonts/alef/Makefile b/x11-fonts/alef/Makefile
index 04f466ea5a8a..26141295ab5f 100644
--- a/x11-fonts/alef/Makefile
+++ b/x11-fonts/alef/Makefile
@@ -2,7 +2,7 @@
PORTNAME= alef
PORTVERSION= 1.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11-fonts
MASTER_SITES= http://alef.hagilda.com/
DISTNAME= Alef
@@ -13,31 +13,22 @@ COMMENT= Free multi-lingual font designed for screens
LICENSE= OFL11
LICENSE_FILE= ${WRKSRC}/OFL-license.txt
-BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
- mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
-
-USES= zip
+USES= fonts zip
USE_XORG= x11
NO_WRKSUBDIR= yes
+NO_BUILD= yes
FONTSDIR= ${PREFIX}/lib/X11/fonts/${PORTNAME}
-
-PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
+PLIST_FILES= ${FONTSDIR}/Alef-Bold.ttf \
+ ${FONTSDIR}/Alef-Regular.ttf
PORTDOCS= COMING-SOON.txt readme.txt
-MKFONTSCL_CMD= ${LOCALBASE}/bin/mkfontscale
-MKFONTDIR_CMD= ${LOCALBASE}/bin/mkfontdir
-
OPTIONS_DEFINE= DOCS
post-extract:
${MV} ${WRKSRC}/--COMING-SOON--.txt ${WRKSRC}/COMING-SOON.txt
-do-build:
- ${MKFONTSCL_CMD} ${WRKSRC}/TTF
- ${MKFONTDIR_CMD} ${WRKSRC}/TTF
-
do-install:
@${MKDIR} ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/TTF/* ${STAGEDIR}${FONTSDIR}