diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-10-02 15:45:42 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-10-02 15:45:42 +0000 |
commit | f8065aa02c13325fd84ad6cf964e53e9ef9acfef (patch) | |
tree | d1992afb0ac4f57c43b3ac3822f493079d7ed64f /net/aoe | |
parent | 1287d3fec2c54dc7d1550c5ace2000f9d82ca6ba (diff) | |
download | ports-f8065aa02c13325fd84ad6cf964e53e9ef9acfef.tar.gz ports-f8065aa02c13325fd84ad6cf964e53e9ef9acfef.zip |
Notes
Diffstat (limited to 'net/aoe')
-rw-r--r-- | net/aoe/Makefile | 16 | ||||
-rw-r--r-- | net/aoe/pkg-plist | 1 |
2 files changed, 6 insertions, 11 deletions
diff --git a/net/aoe/Makefile b/net/aoe/Makefile index d7a64bee99a3..0f881b84a406 100644 --- a/net/aoe/Makefile +++ b/net/aoe/Makefile @@ -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 -USE_RC_SUBR= aoe +KMODDIR= ${PREFIX}/lib/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 +USE_RC_SUBR= aoe 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> diff --git a/net/aoe/pkg-plist b/net/aoe/pkg-plist index 15d0f2a370a7..ba1e9b40aa4e 100644 --- a/net/aoe/pkg-plist +++ b/net/aoe/pkg-plist @@ -1,3 +1,2 @@ lib/aoe/aoe.ko man/man4/aoe.4.gz -@dirrm lib/aoe |