From owner-svn-ports-head@FreeBSD.ORG Sun Jan 26 15:13:04 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DCB808C5; Sun, 26 Jan 2014 15:13:04 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C99511F25; Sun, 26 Jan 2014 15:13:04 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0QFD4tw092610; Sun, 26 Jan 2014 15:13:04 GMT (envelope-from nox@svn.freebsd.org) Received: (from nox@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0QFD4q6092609; Sun, 26 Jan 2014 15:13:04 GMT (envelope-from nox@svn.freebsd.org) Message-Id: <201401261513.s0QFD4q6092609@svn.freebsd.org> From: Juergen Lock Date: Sun, 26 Jan 2014 15:13:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341215 - head/comms/uartlirc X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jan 2014 15:13:04 -0000 Author: nox Date: Sun Jan 26 15:13:04 2014 New Revision: 341215 URL: http://svnweb.freebsd.org/changeset/ports/341215 QAT: https://qat.redports.org/buildarchive/r341215/ Log: - Switch to USES= kmod. - Stagify. - Remove obsolete ${OSVERSION} < 800000 check. Modified: head/comms/uartlirc/Makefile Modified: head/comms/uartlirc/Makefile ============================================================================== --- head/comms/uartlirc/Makefile Sun Jan 26 15:13:02 2014 (r341214) +++ head/comms/uartlirc/Makefile Sun Jan 26 15:13:04 2014 (r341215) @@ -4,7 +4,7 @@ PORTNAME= uartlirc PORTVERSION= 0.3 PORTREVISION= 2 -CATEGORIES= comms kld +CATEGORIES= comms MASTER_SITES= LOCAL/nox \ http://people.freebsd.org/~nox/tmp/ DISTNAME= ${PORTNAME}-preliminary-003 @@ -14,44 +14,26 @@ MAINTAINER= nox@FreeBSD.org COMMENT= Driver for "homebrew" serial LIRC receivers SSP_UNSAFE= kernel module does not support ssp +USES= kmod WRKSRC= ${WRKDIR}/${PORTNAME} EXTRACT_CMD= ${SH} EXTRACT_BEFORE_ARGS= EXTRACT_AFTER_ARGS= -NO_STAGE= yes .include PLIST_FILES+= "@cwd /" PLIST_FILES+= ${KMODDIR:C,^/,,}/${PORTNAME}.ko -PLIST_FILES+= "@exec kldxref ${KMODDIR}" -PLIST_FILES+= "@unexec kldxref ${KMODDIR}" - -# install where x11/nvidia-driver does also: -KMODDIR= /boot/modules - -MAKE_ENV+= KMODDIR="${KMODDIR}" - -SYSDIR?= ${SRC_BASE}/sys -MAKE_ENV+= SYSDIR="${SYSDIR}" CFLAGS+= ${DEBUG_FLAGS} -.if ${OSVERSION} < 800000 -IGNORE= needs -.endif - -.if !exists(${SYSDIR}/Makefile) -IGNORE= requires kernel source to be installed -.endif - .if ${ARCH} == "powerpc" || ${ARCH} == "sparc64" BROKEN= Does not compile on powerpc or sparc64 .endif do-install: - ${INSTALL} ${WRKSRC}/${PORTNAME}.ko ${KMODDIR} + ${INSTALL} ${WRKSRC}/${PORTNAME}.ko ${STAGEDIR}${KMODDIR} kldxref ${KMODDIR} .include