mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
0438143249
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
42 lines
999 B
Makefile
42 lines
999 B
Makefile
# Created by: Xin LI <delphij@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= iet
|
|
PORTVERSION= 1.4.20.2
|
|
PORTREVISION= 10
|
|
CATEGORIES= net kld
|
|
MASTER_SITES= SF/iscsitarget/iscsitarget/${PORTVERSION}/
|
|
DISTNAME= iscsitarget-${PORTVERSION}
|
|
|
|
PATCH_SITES= ${MASTER_SITE_LOCAL}
|
|
PATCH_SITE_SUBDIR= delphij
|
|
PATCHFILES= ${PORTNAME}-${PORTVERSION}.diff.bz2
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
MAINTAINER= delphij@FreeBSD.org
|
|
COMMENT= The iSCSI Enterprise Target
|
|
|
|
LICENSE= GPLv2
|
|
|
|
SSP_UNSAFE= kernel module does not support ssp
|
|
BUILD_WRKSRC= ${WRKSRC}/freebsd
|
|
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
|
|
|
USE_RC_SUBR= ietd
|
|
USES= kmod uidfix
|
|
|
|
KMODDIR= ${PREFIX}/modules
|
|
PLIST_SUB+= KMODDIR=${KMODDIR}
|
|
MAKE_ENV+= KMODDIR=${KMODDIR} DATADIR=${DATADIR} SYSDIR="${SRC_BASE}/sys"
|
|
|
|
IET_CONF_FILES= ietd.conf initiators.allow initiators.deny targets.allow
|
|
|
|
.if !exists(${SRC_BASE}/sys/Makefile)
|
|
IGNORE= requires kernel sources to build
|
|
.endif
|
|
|
|
pre-install:
|
|
${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${KMODDIR} ${STAGEDIR}${ETCDIR}
|
|
|
|
.include <bsd.port.mk>
|