1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/sysutils/arcconf/Makefile
Mathieu Arnold 597afc47ba Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:25:16 +00:00

58 lines
1.3 KiB
Makefile

# Created by: michael@fuckner.net
# $FreeBSD$
PORTNAME= arcconf
DISTVERSION= v1_8_21375
PORTEPOCH= 1
CATEGORIES= sysutils
MASTER_SITES= http://download.adaptec.com/raid/storage_manager/
DISTNAME= arcconf_${DISTVERSION}
MAINTAINER= michael@fuckner.net
COMMENT= Adaptec SCSI/SAS RAID administration tool
ONLY_FOR_ARCHS= i386 amd64
USES= zip
PERIODICSCRIPT= 410.status-aac-raid
SUB_FILES+= ${PERIODICSCRIPT}
RESTRICTED= May not be redistributed in binary form
NO_CDROM= May not be redistributed in binary form
.include <bsd.port.pre.mk>
.if ${OPSYS} != FreeBSD
IGNORE= installs incompatible binaries for FreeBSD
.elif ${OSVERSION} < 1000000
DIST_OSVER= 9
.else
DIST_OSVER= 10
.endif
.if ${OPSYS} != FreeBSD
IGNORE= installs incompatible binaries for FreeBSD
.endif
.if ${ARCH} == amd64
DIST_EXT= _x64
.elif ${ARCH} == i386
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000
# use the 9 i386 version for 10 i386
DIST_OSVER= 9
RUN_DEPENDS+= ${LOCALBASE}/lib/compat/libstdc++.so.6:misc/compat9x
.endif
.endif
NO_BUILD= yes
NO_WRKSUBDIR= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/freebsd${DIST_OSVER}${DIST_EXT}/cmdline/arcconf ${STAGEDIR}${PREFIX}/sbin
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily
${INSTALL_SCRIPT} ${WRKDIR}/${PERIODICSCRIPT} ${STAGEDIR}${PREFIX}/etc/periodic/daily
.include <bsd.port.post.mk>