2006-06-04 04:50:36 +00:00
|
|
|
# New ports collection makefile for: wmwlmon
|
|
|
|
# Date created: 04 May 2006
|
|
|
|
# Whom: Marcus Glocker <marcus@nazgul.ch>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= wmwlmon
|
2008-05-16 19:15:45 +00:00
|
|
|
PORTVERSION= 1.0
|
2006-06-04 04:50:36 +00:00
|
|
|
CATEGORIES= net windowmaker
|
|
|
|
MASTER_SITES= http://www.nazgul.ch/dev/ \
|
|
|
|
http://dougbarton.us/Downloads/
|
|
|
|
DISTNAME= wmwlmon-${PORTVERSION}
|
|
|
|
|
2008-05-11 21:25:16 +00:00
|
|
|
MAINTAINER= LukeD@pobox.com
|
2006-06-04 04:50:36 +00:00
|
|
|
COMMENT= DockApp showing the state of a wireless network device
|
|
|
|
|
2008-03-24 17:02:27 +00:00
|
|
|
USE_XORG= x11 xpm
|
2006-06-04 04:50:36 +00:00
|
|
|
|
|
|
|
MAN1= wmwlmon.1
|
|
|
|
PLIST_FILES= bin/wmwlmon
|
|
|
|
|
2006-06-11 18:40:14 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2009-01-06 17:59:31 +00:00
|
|
|
.if ${OSVERSION} >= 700052
|
2008-05-10 09:00:09 +00:00
|
|
|
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-wl.c ${PATCHDIR}/extra-patch-wmwlmon.1
|
|
|
|
pre-everything::
|
2008-05-11 21:25:16 +00:00
|
|
|
@${ECHO_CMD} "==========================================================="
|
2008-05-16 19:15:45 +00:00
|
|
|
@${ECHO_CMD} "On FreeBSD > 700052 there is no wi(4) support in ${PORTNAME}"
|
2008-05-11 21:25:16 +00:00
|
|
|
@${ECHO_CMD} "==========================================================="
|
2006-06-11 18:40:14 +00:00
|
|
|
.endif
|
|
|
|
|
2006-11-26 00:14:17 +00:00
|
|
|
post-patch:
|
2008-05-10 09:00:09 +00:00
|
|
|
${REINPLACE_CMD} -e 's#/usr/X11R6#${LOCALBASE}#g' \
|
|
|
|
-e 's#/usr/local#${LOCALBASE}#g' ${WRKSRC}/Makefile
|
2006-11-26 00:14:17 +00:00
|
|
|
|
2006-06-04 04:50:36 +00:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/wmwlmon ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/wmwlmon.1 ${MANPREFIX}/man/man1
|
|
|
|
|
2006-06-11 18:40:14 +00:00
|
|
|
.include <bsd.port.post.mk>
|