diff options
author | bapt <bapt@FreeBSD.org> | 2015-03-20 01:07:25 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-03-20 01:07:25 +0800 |
commit | d75ef6bc92089a3abe63a3bc57bdca1d8a05990d (patch) | |
tree | be759f423296b1e83616a0cc7f06345c649a6246 /x11-fonts | |
parent | 65addcc2124c59bce3c0a338c8eb0dd9110f0014 (diff) | |
download | freebsd-ports-graphics-d75ef6bc92089a3abe63a3bc57bdca1d8a05990d.tar.gz freebsd-ports-graphics-d75ef6bc92089a3abe63a3bc57bdca1d8a05990d.tar.zst freebsd-ports-graphics-d75ef6bc92089a3abe63a3bc57bdca1d8a05990d.zip |
Convert to USES=fonts
Convert to PLIST_FILES
Diffstat (limited to 'x11-fonts')
-rw-r--r-- | x11-fonts/alef/Makefile | 19 | ||||
-rw-r--r-- | x11-fonts/alef/pkg-plist | 4 |
2 files changed, 5 insertions, 18 deletions
diff --git a/x11-fonts/alef/Makefile b/x11-fonts/alef/Makefile index 04f466ea5a8..26141295ab5 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} diff --git a/x11-fonts/alef/pkg-plist b/x11-fonts/alef/pkg-plist deleted file mode 100644 index 884c5433220..00000000000 --- a/x11-fonts/alef/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -%%FONTSDIR%%/Alef-Bold.ttf -%%FONTSDIR%%/Alef-Regular.ttf -%%FONTSDIR%%/fonts.dir -%%FONTSDIR%%/fonts.scale |