mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
Make sure the package respect SRC_BASE
Use the kmod framework Cleanup the plist Reported by: glebius
This commit is contained in:
parent
1287d3fec2
commit
f8065aa02c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369832
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= aoe
|
||||
PORTVERSION= 1.2.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net kld
|
||||
MASTER_SITES= http://www.son.org/download/
|
||||
DISTNAME= ${PORTNAME}-freebsd-${PORTVERSION}
|
||||
@ -10,22 +11,17 @@ DISTNAME= ${PORTNAME}-freebsd-${PORTVERSION}
|
||||
MAINTAINER= fjoe@FreeBSD.org
|
||||
COMMENT= FreeBSD driver for ATA over Ethernet (AoE)
|
||||
|
||||
NO_PACKAGE= Should be in sync with the kernel to work correctly
|
||||
SSP_UNSAFE= kernel module does not support ssp
|
||||
|
||||
USES= kmod
|
||||
|
||||
WRKSRC= ${WRKDIR}/dev/aoe
|
||||
KMODDIR= ${PREFIX}/lib/aoe
|
||||
|
||||
USE_RC_SUBR= aoe
|
||||
|
||||
pre-everything::
|
||||
@if [ ! -f /usr/src/sys/Makefile ]; then \
|
||||
${ECHO_MSG} ">> The AoE port needs FreeBSD kernel source code to compile."; \
|
||||
${ECHO_MSG} ">> Please install FreeBSD kernel source code in /usr/src/sys."; \
|
||||
${FALSE}; \
|
||||
fi
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/aoe
|
||||
${INSTALL_KLD} ${WRKSRC}/aoe.ko ${STAGEDIR}${PREFIX}/lib/aoe
|
||||
${INSTALL_MAN} ${WRKDIR}/aoe.4 ${STAGEDIR}${PREFIX}/man/man4
|
||||
${INSTALL_MAN} ${WRKDIR}/aoe.4 ${STAGEDIR}${PREFIX}/man/man4/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,2 @@
|
||||
lib/aoe/aoe.ko
|
||||
man/man4/aoe.4.gz
|
||||
@dirrm lib/aoe
|
||||
|
Loading…
Reference in New Issue
Block a user