summaryrefslogtreecommitdiff
path: root/net/wmwlmon/Makefile
blob: 204441684a2e344c21910858b6148735c7a844cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# New ports collection makefile for:	wmwlmon
# Date created:				04 May 2006
# Whom:					Marcus Glocker <marcus@nazgul.ch>
#
# $FreeBSD$
#

PORTNAME=	wmwlmon
PORTVERSION=	0.9
PORTREVISION=	3
CATEGORIES=	net windowmaker
MASTER_SITES=	http://www.nazgul.ch/dev/ \
		http://dougbarton.us/Downloads/
DISTNAME=	wmwlmon-${PORTVERSION}

MAINTAINER=	marcus@nazgul.ch
COMMENT=	DockApp showing the state of a wireless network device

USE_XORG=	x11 xpm

MAN1=		wmwlmon.1
PLIST_FILES=	bin/wmwlmon

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 600100
BROKEN=	Needs WLAN infrastructure from 6.0-RELEASE or newer
.elif ${OSVERSION} >= 700042
BROKEN=		Does not compile with GCC 4.2
.endif

post-patch:
	${CP} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.presed
	${SED} -e 's#/usr/X11R6#${LOCALBASE}#g' \
	    -e 's#/usr/local#${LOCALBASE}#g' \
	    ${WRKSRC}/Makefile.presed > ${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/wmwlmon ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/wmwlmon.1 ${MANPREFIX}/man/man1

.include <bsd.port.post.mk>