diff options
author | bapt <bapt@FreeBSD.org> | 2015-03-21 02:05:49 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-03-21 02:05:49 +0800 |
commit | ce9ed4ba1b048116e1c650365aede3db65f2dfbc (patch) | |
tree | 354ae9615774c1384ba596b8492232c893ac87b3 /x11-fonts | |
parent | 9ac61517f45a5422b053d566f9d5901d2203f9bd (diff) | |
download | freebsd-ports-gnome-ce9ed4ba1b048116e1c650365aede3db65f2dfbc.tar.gz freebsd-ports-gnome-ce9ed4ba1b048116e1c650365aede3db65f2dfbc.tar.zst freebsd-ports-gnome-ce9ed4ba1b048116e1c650365aede3db65f2dfbc.zip |
Convert to USES=fonts
Diffstat (limited to 'x11-fonts')
-rw-r--r-- | x11-fonts/moveable-type-fonts/Makefile | 15 | ||||
-rw-r--r-- | x11-fonts/moveable-type-fonts/pkg-plist | 51 |
2 files changed, 30 insertions, 36 deletions
diff --git a/x11-fonts/moveable-type-fonts/Makefile b/x11-fonts/moveable-type-fonts/Makefile index c1c9d35e2475..2ca2ff34824c 100644 --- a/x11-fonts/moveable-type-fonts/Makefile +++ b/x11-fonts/moveable-type-fonts/Makefile @@ -2,6 +2,7 @@ PORTNAME= moveable-type-fonts PORTVERSION= 20100801 +PORTREVISION= 1 CATEGORIES= x11-fonts MASTER_SITES= http://s3.amazonaws.com/theleague-production/fonts/ DISTFILES= junction.zip \ @@ -18,21 +19,15 @@ DISTFILES= junction.zip \ MAINTAINER= olgeni@FreeBSD.org COMMENT= Collection of open source fonts -BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig -RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig - NO_BUILD= yes -USES= zip - -FONTDIR= ${PREFIX}/lib/X11/fonts/${PORTNAME} -PLIST_SUB= FONTDIR="${FONTDIR:S|${PREFIX}/||}" +USES= fonts zip post-extract: @${FIND} ${WRKDIR} -name __MACOSX | ${XARGS} ${RM} -r do-install: - @${MKDIR} ${STAGEDIR}${FONTDIR} - ${FIND} ${WRKDIR} -name \*.ttf -exec ${INSTALL_DATA} {} ${STAGEDIR}${FONTDIR} \; - ${FIND} ${WRKDIR} -name \*.otf -exec ${INSTALL_DATA} {} ${STAGEDIR}${FONTDIR} \; + @${MKDIR} ${STAGEDIR}${FONTSDIR} + ${FIND} ${WRKDIR} -name \*.ttf -exec ${INSTALL_DATA} {} ${STAGEDIR}${FONTSDIR} \; + ${FIND} ${WRKDIR} -name \*.otf -exec ${INSTALL_DATA} {} ${STAGEDIR}${FONTSDIR} \; .include <bsd.port.mk> diff --git a/x11-fonts/moveable-type-fonts/pkg-plist b/x11-fonts/moveable-type-fonts/pkg-plist index 815f564aa651..b3de78c946bb 100644 --- a/x11-fonts/moveable-type-fonts/pkg-plist +++ b/x11-fonts/moveable-type-fonts/pkg-plist @@ -1,26 +1,25 @@ -%%FONTDIR%%/Blackout-2am.ttf -%%FONTDIR%%/Blackout-Midnight.ttf -%%FONTDIR%%/Chunk.otf -%%FONTDIR%%/Chunk.ttf -%%FONTDIR%%/GoudyBookletter1911.otf -%%FONTDIR%%/Junction 02.otf -%%FONTDIR%%/Junction 02.ttf -%%FONTDIR%%/League Gothic.otf -%%FONTDIR%%/OFLGoudyStM-Italic.otf -%%FONTDIR%%/OFLGoudyStM.otf -%%FONTDIR%%/OFLGoudyStMTT-Italic.ttf -%%FONTDIR%%/OFLGoudyStMTT.ttf -%%FONTDIR%%/Prociono.otf -%%FONTDIR%%/ProcionoTT.ttf -%%FONTDIR%%/Sniglet.ttf -%%FONTDIR%%/orbitron-black.otf -%%FONTDIR%%/orbitron-black.ttf -%%FONTDIR%%/orbitron-bold.otf -%%FONTDIR%%/orbitron-bold.ttf -%%FONTDIR%%/orbitron-light.otf -%%FONTDIR%%/orbitron-light.ttf -%%FONTDIR%%/orbitron-medium.otf -%%FONTDIR%%/orbitron-medium.ttf -%%FONTDIR%%/raleway_thin.otf -%%FONTDIR%%/raleway_thin.ttf -@fc %%FONTDIR%% +%%FONTSDIR%%/Blackout-2am.ttf +%%FONTSDIR%%/Blackout-Midnight.ttf +%%FONTSDIR%%/Chunk.otf +%%FONTSDIR%%/Chunk.ttf +%%FONTSDIR%%/GoudyBookletter1911.otf +%%FONTSDIR%%/Junction 02.otf +%%FONTSDIR%%/Junction 02.ttf +%%FONTSDIR%%/League Gothic.otf +%%FONTSDIR%%/OFLGoudyStM-Italic.otf +%%FONTSDIR%%/OFLGoudyStM.otf +%%FONTSDIR%%/OFLGoudyStMTT-Italic.ttf +%%FONTSDIR%%/OFLGoudyStMTT.ttf +%%FONTSDIR%%/Prociono.otf +%%FONTSDIR%%/ProcionoTT.ttf +%%FONTSDIR%%/Sniglet.ttf +%%FONTSDIR%%/orbitron-black.otf +%%FONTSDIR%%/orbitron-black.ttf +%%FONTSDIR%%/orbitron-bold.otf +%%FONTSDIR%%/orbitron-bold.ttf +%%FONTSDIR%%/orbitron-light.otf +%%FONTSDIR%%/orbitron-light.ttf +%%FONTSDIR%%/orbitron-medium.otf +%%FONTSDIR%%/orbitron-medium.ttf +%%FONTSDIR%%/raleway_thin.otf +%%FONTSDIR%%/raleway_thin.ttf |