Add staging support
This commit is contained in:
parent
b2f3132dad
commit
959a22f33b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355830
1 changed files with 6 additions and 8 deletions
|
@ -19,12 +19,11 @@ RUN_DEPENDS= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf \
|
|||
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
FONTS= hgm10 hgm12 hgm14 hgm16 hgm18 hgm20 \
|
||||
hmm10 hmm12 hmm14 hmm16 hmm18 hmm20
|
||||
|
||||
NO_STAGE= yes
|
||||
do-build:
|
||||
@cd ${WRKSRC}; \
|
||||
for fn in ${FONTS}; do \
|
||||
|
@ -33,11 +32,10 @@ do-build:
|
|||
done; \
|
||||
|
||||
do-install:
|
||||
-${MKDIR} ${PREFIX}/lib/X11/fonts/local
|
||||
@cd ${WRKSRC}; \
|
||||
for f in ${FONTS}; do \
|
||||
${INSTALL_DATA} "$$f".pcf.gz ${PREFIX}/lib/X11/fonts/local; \
|
||||
done; \
|
||||
mkfontdir ${PREFIX}/lib/X11/fonts/local
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/fonts/local
|
||||
.for f in ${FONTS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f}.pcf.gz \
|
||||
${STAGEDIR}${PREFIX}/lib/X11/fonts/local
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue