aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/ubuntu-font
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-03-21 02:30:54 +0800
committerbapt <bapt@FreeBSD.org>2015-03-21 02:30:54 +0800
commitbe01afdf9a6ed3bbd86925c9dbc51c57abcf007f (patch)
tree1e1a77b45d761454659af0be9a77b833d44388a6 /x11-fonts/ubuntu-font
parent0221a31881ddcc380e667f7dddabccb1eb76d52a (diff)
downloadfreebsd-ports-gnome-be01afdf9a6ed3bbd86925c9dbc51c57abcf007f.tar.gz
freebsd-ports-gnome-be01afdf9a6ed3bbd86925c9dbc51c57abcf007f.tar.zst
freebsd-ports-gnome-be01afdf9a6ed3bbd86925c9dbc51c57abcf007f.zip
Convert to USES=fonts
While here fix license permission
Diffstat (limited to 'x11-fonts/ubuntu-font')
-rw-r--r--x11-fonts/ubuntu-font/Makefile11
-rw-r--r--x11-fonts/ubuntu-font/pkg-plist1
2 files changed, 2 insertions, 10 deletions
diff --git a/x11-fonts/ubuntu-font/Makefile b/x11-fonts/ubuntu-font/Makefile
index 7e559e628a50..2589a5906663 100644
--- a/x11-fonts/ubuntu-font/Makefile
+++ b/x11-fonts/ubuntu-font/Makefile
@@ -15,19 +15,12 @@ COMMENT= Ubuntu font family
LICENSE= UFL
LICENSE_FILE= ${WRKSRC}/LICENCE.txt
LICENSE_NAME= Ubuntu Font License (UFL)
-LICENSE_PERMS= auto-accept
+LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
-RUN_DEPENDS:= ${BUILD_DEPENDS}
-
-USES= zip
+USES= fonts zip
NO_BUILD= yes
-PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
-FONTSDIR= ${PREFIX}/lib/X11/fonts/${PORTNAME}
SUB_FILES= pkg-message
-SUB_LIST= FONTSDIR=${FONTSDIR}
-WRKSRC= ${WRKDIR}/${DISTNAME}
OPTIONS_DEFINE= DOCS
diff --git a/x11-fonts/ubuntu-font/pkg-plist b/x11-fonts/ubuntu-font/pkg-plist
index 45620a9325e5..35125ca34a89 100644
--- a/x11-fonts/ubuntu-font/pkg-plist
+++ b/x11-fonts/ubuntu-font/pkg-plist
@@ -18,4 +18,3 @@
%%PORTDOCS%%%%DOCSDIR%%/README.txt
%%PORTDOCS%%%%DOCSDIR%%/TRADEMARKS.txt
%%PORTDOCS%%%%DOCSDIR%%/copyright.txt
-@fc %%FONTSDIR%%