aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-03-20 16:54:27 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-03-20 16:54:27 +0000
commitd3e5775f45461dba409e516275a108b106a39c3a (patch)
treecc7c16b27cbc30af929f25d49d3c03f777724da4 /x11-fonts
parent3f1d8b884e969260588b7131d9055452e0f5d7a5 (diff)
downloadports-d3e5775f45461dba409e516275a108b106a39c3a.tar.gz
ports-d3e5775f45461dba409e516275a108b106a39c3a.zip
Notes
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/kaputa/Makefile14
-rw-r--r--x11-fonts/kaputa/pkg-plist2
2 files changed, 3 insertions, 13 deletions
diff --git a/x11-fonts/kaputa/Makefile b/x11-fonts/kaputa/Makefile
index 48914c7a2ae7..a26c92845570 100644
--- a/x11-fonts/kaputa/Makefile
+++ b/x11-fonts/kaputa/Makefile
@@ -3,6 +3,7 @@
PORTNAME= kaputa
PORTVERSION= 1.000
+PORTREVISION= 1
CATEGORIES= x11-fonts
MASTER_SITES= http://www.kaputa.com/slword/
DISTNAME= ${PORTNAME}unicode
@@ -11,23 +12,14 @@ DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Free Unicode font for Sinhala script
-BUILD_DEPENDS= mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale \
- mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
- fc-cache:${PORTSDIR}/x11-fonts/fontconfig
-
-USES= zip
-PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
-FONTNAME= ${PORTNAME}
-FONTSDIR?= ${PREFIX}/lib/X11/fonts/${FONTNAME}
+USES= fonts zip
NO_BUILD= yes
+PLIST_FILES= ${FONTSDIR}/kaputa.ttf
post-extract:
@${MKDIR} ${WRKSRC}/
@${MV} ${WRKDIR}/kaputaunicode.ttf ${WRKSRC}/kaputa.ttf
-do-build:
- @cd ${WRKSRC}/ && ${MKFONTSCL_CMD} && ${MKFONTDIR_CMD}
-
do-install:
@${INSTALL} -d ${STAGEDIR}${FONTSDIR}/
@${INSTALL_DATA} ${WRKSRC}/* ${STAGEDIR}${FONTSDIR}/
diff --git a/x11-fonts/kaputa/pkg-plist b/x11-fonts/kaputa/pkg-plist
deleted file mode 100644
index 185ecf604146..000000000000
--- a/x11-fonts/kaputa/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-%%FONTSDIR%%/kaputa.ttf
-@fcfontsdir %%FONTSDIR%%