freebsd-ports/sysutils/arcconf/Makefile
Mathieu Arnold 0438143249 Remove OSVERSION checks that do not make sense any more.
For example (${OSVERSION} >= 900000 && ${OSVERSION} < 900021) is always true,
as is (${OSVERSION} > 900002 || ${OSVERSION} < 900000 && ${OSVERSION} > 800107).

Regarding patches, when an EXTRA_PATCHES is no longer needed, I remove it, when
it is always needed, I renamed it, in one case, I merged two patches.

Differential Revision:	https://reviews.freebsd.org/D2209
2015-04-03 11:26:48 +00:00

53 lines
1.2 KiB
Makefile

# Created by: michael@fuckner.net
# $FreeBSD$
PORTNAME= arcconf
DISTVERSION= v1_7_21229
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
.endif
.if ${OSVERSION} >= 900000
DIST_OSVER= 9
.else
DIST_OSVER= 8
.endif
.if ${ARCH} == amd64
DIST_EXT= _x64
.endif
.if ! exists(/usr/lib/libstdc++.so.6)
RUN_DEPENDS+= ${LOCALBASE}/lib/compat/libstdc++.so.6:${PORTSDIR}/misc/compat9x
.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>