freebsd-ports/net/wmwlmon/Makefile
Mathieu Arnold 0438143249 Remove OSVERSION checks that do not make sense any more.
For example (${OSVERSION} >= 900000 && ${OSVERSION} < 900021) is always true,
as is (${OSVERSION} > 900002 || ${OSVERSION} < 900000 && ${OSVERSION} > 800107).

Regarding patches, when an EXTRA_PATCHES is no longer needed, I remove it, when
it is always needed, I renamed it, in one case, I merged two patches.

Differential Revision:	https://reviews.freebsd.org/D2209
2015-04-03 11:26:48 +00:00

25 lines
646 B
Makefile

# Created by: Marcus Glocker <marcus@nazgul.ch>
# $FreeBSD$
PORTNAME= wmwlmon
PORTVERSION= 1.0
CATEGORIES= net windowmaker
MASTER_SITES= http://www.nazgul.ch/dev/
DISTNAME= wmwlmon-${PORTVERSION}
MAINTAINER= LukeD@pobox.com
COMMENT= DockApp showing the state of a wireless network device
USE_XORG= x11 xpm
PLIST_FILES= bin/wmwlmon man/man1/wmwlmon.1.gz
post-patch:
${REINPLACE_CMD} -e 's#/usr/X11R6#${LOCALBASE}#g' \
-e 's#/usr/local#${LOCALBASE}#g' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wmwlmon ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/wmwlmon.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>