mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Add stage support
PR: ports/190801 Submitted by: Carlos Jacobo Puga Medina <cjpugmed@gmail.com>
This commit is contained in:
parent
2faeedfcc9
commit
a63bcd1855
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357075
@ -16,13 +16,12 @@ USES= zip
|
||||
PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
|
||||
FONTSDIR?= ${PREFIX}/lib/X11/fonts/${PORTNAME}
|
||||
|
||||
NO_STAGE= yes
|
||||
do-build:
|
||||
@ttmkfdir -c -d ${WRKSRC} -o ${WRKSRC}/fonts.dir
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PREFIX}/lib/X11/fonts/farsifonts
|
||||
@${INSTALL_DATA} ${WRKSRC}/*.ttf ${PREFIX}/lib/X11/fonts/farsifonts
|
||||
@${INSTALL_DATA} ${WRKSRC}/fonts.dir ${PREFIX}/lib/X11/fonts/farsifonts
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/fonts/farsifonts
|
||||
@${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${PREFIX}/lib/X11/fonts/farsifonts
|
||||
@${INSTALL_DATA} ${WRKSRC}/fonts.dir ${STAGEDIR}${PREFIX}/lib/X11/fonts/farsifonts
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user