1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Support staging

- Convert USE_BZIP2=yes to USES=tar:bzip2
This commit is contained in:
Emanuel Haupt 2014-03-18 15:10:20 +00:00
parent 923ce0c141
commit 84c94c7326
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348572
3 changed files with 8 additions and 14 deletions

View File

@ -16,24 +16,20 @@ COMMENT= Russian Artwiz fonts
BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
USE_BZIP2= yes
USES= tar:bzip2
NO_BUILD= yes
WRKSRC= ${WRKDIR}/fonts
PKGMESSAGE= ${WRKDIR}/pkg-message
FONTDIR= ${LOCALBASE}/lib/X11/fonts/${PORTNAME}
FONTDIR= ${PREFIX}/lib/X11/fonts/${PORTNAME}
NO_STAGE= yes
post-patch:
@${SED} -e 's,LOCALBASE,${LOCALBASE},g' ${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
@${SED} -e 's,LOCALBASE,${LOCALBASE},g' \
${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
do-install:
${MKDIR} ${FONTDIR}
for f in ${WRKSRC}/*; do \
${INSTALL_DATA} $$f ${FONTDIR}; \
done
post-install:
@${CAT} ${PKGMESSAGE}
@${MKDIR} ${STAGEDIR}${FONTDIR}
${INSTALL_DATA} ${WRKSRC}/*.pcf ${STAGEDIR}${FONTDIR}
.include <bsd.port.mk>

View File

@ -2,4 +2,4 @@ Russian version of the artwiz fonts.
Supported encodings: ISO10646-1, KOI8-R and CP1251
WWW: http://dev.gentoo.org/~sergey/artwiz.html
WWW: http://dev.gentoo.org/~sergey/artwiz.html

View File

@ -4,8 +4,6 @@ lib/X11/fonts/artwiz-ru/anorexia.pcf
lib/X11/fonts/artwiz-ru/cure-koi8-r.pcf
lib/X11/fonts/artwiz-ru/cure-microsoft-cp1251.pcf
lib/X11/fonts/artwiz-ru/cure.pcf
lib/X11/fonts/artwiz-ru/fonts.alias
lib/X11/fonts/artwiz-ru/fonts.dir
lib/X11/fonts/artwiz-ru/gelly-koi8-r.pcf
lib/X11/fonts/artwiz-ru/gelly-microsoft-cp1251.pcf
lib/X11/fonts/artwiz-ru/gelly.pcf