aboutsummaryrefslogtreecommitdiff
path: root/misc/fxload
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-02-26 09:45:18 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-02-26 09:45:18 +0000
commitbcdb860e308e2745d5503a51c611d591422fc855 (patch)
treee947b0dd93da552af31ba20df989e0802ddb5238 /misc/fxload
parent6ee424413ebc815e1134bce139a9a745c926a2a3 (diff)
downloadports-bcdb860e308e2745d5503a51c611d591422fc855.tar.gz
ports-bcdb860e308e2745d5503a51c611d591422fc855.zip
- Stage support
Notes
Notes: svn path=/head/; revision=346176
Diffstat (limited to 'misc/fxload')
-rw-r--r--misc/fxload/Makefile19
-rw-r--r--misc/fxload/pkg-plist1
2 files changed, 8 insertions, 12 deletions
diff --git a/misc/fxload/Makefile b/misc/fxload/Makefile
index f94cbefe6833..0f52647791f5 100644
--- a/misc/fxload/Makefile
+++ b/misc/fxload/Makefile
@@ -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>
diff --git a/misc/fxload/pkg-plist b/misc/fxload/pkg-plist
index 9c4e3ca04360..f33a8f8145b1 100644
--- a/misc/fxload/pkg-plist
+++ b/misc/fxload/pkg-plist
@@ -1,4 +1,5 @@
etc/devd/xilinx.conf
sbin/fxload
+man/man8/fxload.8.gz
%%DATADIR%%/a3load.hex
@dirrm %%DATADIR%%