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

- Stage support

This commit is contained in:
Martin Wilke 2014-02-26 09:45:18 +00:00
parent 6ee424413e
commit bcdb860e30
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346176
2 changed files with 8 additions and 12 deletions

View File

@ -9,21 +9,16 @@ MASTER_SITES= http://FreeBSD.czest.pl/~wkoszek/ports/
MAINTAINER= wkoszek@FreeBSD.org
COMMENT= Firmware download to EZ-USB devices
MAN8= fxload.8
USE_GMAKE= yes
USES= gmake
SUB_FILES= pkg-message
NO_STAGE= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fxload ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/fxload.8 ${PREFIX}/man/man8
${MKDIR} ${DATADIR}
${MKDIR} ${PREFIX}/etc/devd
${INSTALL_DATA} ${WRKSRC}/a3load.hex ${DATADIR}
${INSTALL_DATA} ${FILESDIR}/xilinx.conf ${PREFIX}/etc/devd
post-install:
@${CAT} ${PKGMESSAGE}
${INSTALL_PROGRAM} ${WRKSRC}/fxload ${STAGEDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/fxload.8 ${STAGEDIR}${PREFIX}/man/man8
${MKDIR} ${STAGEDIR}${DATADIR}
${MKDIR} ${STAGEDIR}${PREFIX}/etc/devd
${INSTALL_DATA} ${WRKSRC}/a3load.hex ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${FILESDIR}/xilinx.conf ${STAGEDIR}${PREFIX}/etc/devd
.include <bsd.port.pre.mk>

View File

@ -1,4 +1,5 @@
etc/devd/xilinx.conf
sbin/fxload
man/man8/fxload.8.gz
%%DATADIR%%/a3load.hex
@dirrm %%DATADIR%%