mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +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.
37 lines
834 B
Makefile
37 lines
834 B
Makefile
# Ports collection makefile for: snespp
|
|
# Date created: 16 April 2007
|
|
# Whom: Timothy Bourke <timbob@bigpond.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= snespp
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= emulators kld
|
|
MASTER_SITES= http://www.cse.unsw.edu.au/~tbourke/software/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= timbob@bigpond.com
|
|
COMMENT= Kernel module for SNES controllers on a parallel port
|
|
|
|
KMODDIR= /boot/modules
|
|
|
|
NO_PACKAGE= this port should be recompiled for a particular FreeBSD kernel
|
|
PLIST_SUB= KMODDIR="${KMODDIR}"
|
|
|
|
MAN4= snespp.4
|
|
MANCOMPRESSED= no
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 600000
|
|
IGNORE= versions of FreeBSD before 6.0 are not supported
|
|
.endif
|
|
|
|
do-install:
|
|
@${INSTALL_MAN} ${WRKSRC}/snespp.4 ${PREFIX}/man/man4
|
|
@${INSTALL_KLD} ${WRKSRC}/snespp.ko ${KMODDIR}
|
|
|
|
.include <bsd.port.post.mk>
|