mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
. Support STAGE
. Simplify Makefile . Move pkg-message to files/pkg-message.in and use SUB_FILES
This commit is contained in:
parent
9e94552a66
commit
2ce672b66b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332332
@ -20,18 +20,14 @@ WRKSRC= ${WRKDIR}/fluxbox-${PORTNAME}
|
||||
FONTS= anorexia aqui cure cursor drift edges gelly glisp-bold \
|
||||
glisp lime mints-mild mints-strong nu snap
|
||||
FONTDIR= ${LOCALBASE}/lib/X11/fonts/${PORTNAME}/
|
||||
FILES= ${FONTS:S,$,.pcf.gz,} ${FILESDIR}/fonts.dir
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${FONTDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${FILES} ${FONTDIR}
|
||||
@${MKDIR} ${STAGEDIR}${FONTDIR}
|
||||
.for f in ${FONTS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f}.pcf.gz ${STAGEDIR}${FONTDIR}
|
||||
.endfor
|
||||
${INSTALL_DATA} ${FILESDIR}/fonts.dir ${STAGEDIR}${FONTDIR}
|
||||
|
||||
post-install:
|
||||
@${SED} 's|$${LOCALBASE}|${LOCALBASE}|g' \
|
||||
${PKGDIR}/pkg-message >${PKGMESSAGE}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -6,6 +6,6 @@
|
||||
|
||||
Add the following line to the "Files" section and restart XFree86.
|
||||
|
||||
FontPath "${LOCALBASE}/lib/X11/fonts/artwiz-fonts"
|
||||
FontPath "%%LOCALBASE%%/lib/X11/fonts/artwiz-fonts"
|
||||
|
||||
------------------------------------------------------------------
|
Loading…
Reference in New Issue
Block a user