freebsd-ports/sysutils/linux-acu/Makefile
Boris Samorodov 0263b9d868 Welcome to the new linux ports infrastructure which allows using
both current (fc4) and future linux (f8) distributions at one
ports tree.

The patch contains full changes to ports/Mk files and all ports involved.
But only infrastructure is changed. The resulting packages are the same as
before. Hence no need to bump PORTREVISIONs.

The idea was taken from bsd.gnome.mk and others.

More than 130 ports are switched to follow a new linux infrastructure
introduced by changes to bsd.port.mk, bsd.linux-rpm.mk and a new
bsd.linux-apps.mk.

Thanks for all who was involved and helped me with this work.
And help from Alexander Leidinger was incredible.

Other changes are coming. Stay tuned!

PR:		ports/132510
Submitted by:	bsam (me)
Exp-run by:	portmgr (pav)
2009-03-19 17:28:51 +00:00

63 lines
1.8 KiB
Makefile

# New ports collection makefile for: linux-acu
# Date created: Tue Jun 25 02:24:41 GMT 2002
# Whom: Matt Peterson <matt@peterson.org>
#
# $FreeBSD$
#
PORTNAME= acu
PORTVERSION= 2.0
PORTREVISION= 2
CATEGORIES= sysutils linux
MASTER_SITES= # fetch manually
PKGNAMEPREFIX= linux-
DISTNAME= Linux-ACU-Driver-v${PORTVERSION}
MAINTAINER= matt@peterson.org
COMMENT= Aironet Cisco Utilities for 802.11 wireless NIC's
.include <bsd.port.pre.mk>
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE= may not be automatically fetched due to licensing\
restrictions. You MUST manually fetch the tarball after\
reading and agreeing to the license at:\
http://www.cisco.com/pcgi-bin/tablebuild.pl/aironet-utils-linux\
- once '${DISTNAME}${EXTRACT_SUFX}' has been downloaded, move it to\
${DISTDIR} and then restart this build.
.endif
ONLY_FOR_ARCHS= i386
USE_LINUX= yes
USE_LINUX_APPS= gtk xorglibs
NO_WRKSUBDIR= yes
RESTRICTED= "Redistribution not allowed"
LINPROCFS!= /sbin/mount | ${GREP} linprocfs | ${AWK} '{print $1}'
post-extract:
.if ${LINPROCFS}
@${ECHO}
@${ECHO} "linprocfs is mounted, please umount this filesystem"
@${ECHO} "becauce acu needs to read ${LINUXBASE}/proc/aironet"
@${FALSE}
.endif
do-build:
@${BRANDELF} -t Linux ${WRKSRC}/utilities/acu
do-install:
@${MKDIR} ${PREFIX}/bin
@${MKDIR} ${LINUXBASE}/proc/aironet
@${INSTALL} ${WRKSRC}/utilities/acu ${PREFIX}/bin
post-install:
@${ECHO} "acu installed under ${PREFIX}/bin"
@${ECHO} "notes: acu will only run from the root super-user account"
@${ECHO} " to allow root access to your X session,"
@${ECHO} " run 'xhost localhost' or use sudo."
@${ECHO} " acu annoyingly creates"
@${ECHO} " /compat/linux/etc/eth?.cfg"
@${ECHO} " and will use that over the current card's settings."
.include <bsd.port.post.mk>