diff options
author | bapt <bapt@FreeBSD.org> | 2015-03-20 01:44:05 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-03-20 01:44:05 +0800 |
commit | 7c7ae8a2d892d255799d4cbb9e09ed603795cf4e (patch) | |
tree | 6e15852fa04bee8b9787ec30bac0c42dbc08a6fa /x11-fonts | |
parent | 17780398624e749e3b8281412674377a2fac0c5c (diff) | |
download | freebsd-ports-gnome-7c7ae8a2d892d255799d4cbb9e09ed603795cf4e.tar.gz freebsd-ports-gnome-7c7ae8a2d892d255799d4cbb9e09ed603795cf4e.tar.zst freebsd-ports-gnome-7c7ae8a2d892d255799d4cbb9e09ed603795cf4e.zip |
Convert to USES=fonts
Various cleanup
Diffstat (limited to 'x11-fonts')
-rw-r--r-- | x11-fonts/cyberbit-ttfonts/Makefile | 26 | ||||
-rw-r--r-- | x11-fonts/cyberbit-ttfonts/pkg-plist | 6 |
2 files changed, 7 insertions, 25 deletions
diff --git a/x11-fonts/cyberbit-ttfonts/Makefile b/x11-fonts/cyberbit-ttfonts/Makefile index a912c18d04d1..8db7b12bf4af 100644 --- a/x11-fonts/cyberbit-ttfonts/Makefile +++ b/x11-fonts/cyberbit-ttfonts/Makefile @@ -3,7 +3,7 @@ PORTNAME= cyberbit-ttfonts PORTVERSION= 2.0.20050220 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11-fonts MASTER_SITES= http://ftp.netscape.com/pub/communicator/extras/fonts/windows/ \ http://aol-4.vo.llnwd.net/pub/communicator/extras/fonts/windows/ \ @@ -17,19 +17,13 @@ EXTRACT_ONLY= Cyberbit.ZIP MAINTAINER= freebsd@skysmurf.nl COMMENT= Bitstream Cyberbit is a TrueType font that covers Unicode 2.0 -BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \ - mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale - RESTRICTED= Redistribution not permitted; single user license only. -USES= zip +USES= fonts zip -FONTDIR= lib/X11/fonts/Cyberbit -PLIST_SUB= FONTDIR="${FONTDIR:S|${PREFIX}/||}" +FONTSDIR= lib/X11/fonts/Cyberbit SUB_FILES= pkg-message -PKGMESSAGE= ${WRKDIR}/pkg-message -SUB_LIST= FONTDIR=${PREFIX}/${FONTDIR} WRKSRC= ${WRKDIR} @@ -37,19 +31,11 @@ PORTDOCS= 97CyberBase.Doc 97CyberBit.Doc 97CyberCJK.Doc \ CYBERBIT.DOC CYBERCJK.DOC READMEfirst.txt ReadMe.htm OPTIONS_DEFINE= DOCS - -.include <bsd.port.options.mk> - -MKFONTSCALE= ${LOCALBASE}/bin/mkfontscale -MKFONTDIR= ${LOCALBASE}/bin/mkfontdir - -do-build: - cd ${WRKSRC} && ${MKFONTSCALE} && ${MKFONTDIR} +NO_BUILD= yes do-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/${FONTDIR} - ${INSTALL_DATA} ${WRKSRC}/Cyberbit.ttf ${STAGEDIR}${PREFIX}/${FONTDIR} - ${INSTALL_DATA} ${WRKSRC}/fonts.* ${STAGEDIR}${PREFIX}/${FONTDIR} + @${MKDIR} ${STAGEDIR}${PREFIX}/${FONTSDIR} + ${INSTALL_DATA} ${WRKSRC}/Cyberbit.ttf ${STAGEDIR}${PREFIX}/${FONTSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in ${PORTDOCS} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${doc} ${STAGEDIR}${DOCSDIR} diff --git a/x11-fonts/cyberbit-ttfonts/pkg-plist b/x11-fonts/cyberbit-ttfonts/pkg-plist index daef1dd0cc8f..8a2bb70b3f8a 100644 --- a/x11-fonts/cyberbit-ttfonts/pkg-plist +++ b/x11-fonts/cyberbit-ttfonts/pkg-plist @@ -1,5 +1 @@ -%%FONTDIR%%/Cyberbit.ttf -%%FONTDIR%%/fonts.dir -%%FONTDIR%%/fonts.scale -@unexec rm %D/%%FONTDIR%%/fonts.cache-1 2>/dev/null || /usr/bin/true -@dirrm %%FONTDIR%% +%%FONTSDIR%%/Cyberbit.ttf |