mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
4c97fac781
hacks to install kernel loadable modules correctly on amd64 platforms with the new INSTALL_KLD command. All PORTREVISIONS have been bumped to show when the new version of installing became available.
32 lines
718 B
Makefile
32 lines
718 B
Makefile
# New ports collection makefile for: kix-kmod
|
|
# Date created: 4 January 2003
|
|
# Whom: Jonathan Belson <jon@witchspace.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= kix
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics kld
|
|
MASTER_SITES= http://www.witchspace.com/files/
|
|
PKGNAMESUFFIX= -kmod
|
|
|
|
MAINTAINER= jon@witchspace.com
|
|
COMMENT= A graphical screensaver kernel module
|
|
|
|
SYSDIR?= ${SRC_BASE}/sys
|
|
.if !exists(${SYSDIR}/dev/syscons/syscons.h)
|
|
IGNORE= requires kernel source (/usr/src/sys) to build
|
|
.endif
|
|
MAKE_ENV+= WERROR=
|
|
PLIST_FILES= lib/kix_saver.ko
|
|
|
|
do-install:
|
|
${INSTALL_KLD} ${WRKSRC}/kix_saver.ko ${PREFIX}/lib
|
|
|
|
post-install:
|
|
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|