1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Support staging

- Don't install to LOCALBASE, use PREFIX
This commit is contained in:
Emanuel Haupt 2014-02-07 15:40:16 +00:00
parent d44edd4247
commit 7b10871538
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343267

View File

@ -3,7 +3,7 @@
PORTNAME= c64bdf
PORTVERSION= 1.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= x11-fonts
MASTER_SITES= http://beej.us/c64bdf/
DISTNAME= ${PORTNAME}
@ -20,11 +20,8 @@ FILES= ${FONTS:S,$,.bdf,} fonts.dir
PLIST_FILES= ${FILES:S,^,${FONTDIR}/,}
PLIST_DIRS= ${FONTDIR}
NO_STAGE= yes
.include <bsd.port.pre.mk>
do-install:
@${MKDIR} ${LOCALBASE}/${FONTDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${FILES} ${LOCALBASE}/${FONTDIR}
${MKDIR} ${STAGEDIR}${PREFIX}/${FONTDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${FILES} ${STAGEDIR}${PREFIX}/${FONTDIR}
.include <bsd.port.post.mk>
.include <bsd.port.mk>