Simplify plist

This commit is contained in:
Baptiste Daroussin 2014-09-22 09:24:44 +00:00
parent d2968b60e3
commit 5b8385ece2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=368831

View file

@ -20,13 +20,12 @@ EXTRACT_CMD= ${SH}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS=
.include <bsd.port.pre.mk>
PLIST_FILES+= "@cwd /"
PLIST_FILES+= ${KMODDIR:C,^/,,}/${PORTNAME}.ko
PLIST_FILES+= ${KMODDIR}/${PORTNAME}.ko
CFLAGS+= ${DEBUG_FLAGS}
.include <bsd.port.options.mk>
.if ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
BROKEN= Does not compile on powerpc or sparc64
.endif
@ -34,4 +33,4 @@ BROKEN= Does not compile on powerpc or sparc64
do-install:
${INSTALL} ${WRKSRC}/${PORTNAME}.ko ${STAGEDIR}${KMODDIR}
.include <bsd.port.post.mk>
.include <bsd.port.mk>