sthen e0d70f789d - change some sysutils/firmware/* PERMIT_* from Yes to "firmware" - these
shouldn't end up in normal package mirrors. add a check to Makefile.inc so
this doesn't get added to others.

- add an extra printed warning at the end of ulpt "fake" stage; as pointed
out by stsp after discussion with bentley@ the license for this says "you
may not put the software onto any public network"
2017-07-12 09:02:28 +00:00

24 lines
866 B
Makefile

# $OpenBSD: Makefile,v 1.6 2017/07/12 09:02:28 sthen Exp $
FW_DRIVER= athn
FW_VER= 1.1
REVISION= 2
EXTRACT_SUFX= .tgz
WRKDIST= ${WRKDIR}
# can be redistributed, but shouldn't be in normal packages directory as
# this is only meant for use with fw_update.
PERMIT_PACKAGE_CDROM= firmware
PERMIT_PACKAGE_FTP= firmware
PERMIT_DISTFILES_FTP= Yes
do-install:
${INSTALL_DATA} ${WRKSRC}/LICENCE.atheros_firmware ${PREFIX}/firmware/athn-license
echo "\nThe following files are under this license:\n\nathn-7010 athn-7010-11 athn-9271\n\nThese files are needed by various models of athn(4) devices." >> ${PREFIX}/firmware/athn-license
${INSTALL_DATA} ${WRKSRC}/ar7010.fw ${PREFIX}/firmware/athn-ar7010
${INSTALL_DATA} ${WRKSRC}/ar7010_1_1.fw ${PREFIX}/firmware/athn-ar7010-11
${INSTALL_DATA} ${WRKSRC}/ar9271.fw ${PREFIX}/firmware/athn-ar9271
.include <bsd.port.mk>