aboutsummaryrefslogtreecommitdiff
path: root/net/wmwave/Makefile
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2008-02-27 10:39:43 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2008-02-27 10:39:43 +0000
commit3190dd0feeb42c2f65a17058dfab18c2f0461b96 (patch)
tree4ed4a3a3d0ac9c6f638da4a5e2efc3f4b29daa0d /net/wmwave/Makefile
parent0db71e21b3faaff20385cc35de9343889cd1d001 (diff)
downloadports-3190dd0feeb42c2f65a17058dfab18c2f0461b96.tar.gz
ports-3190dd0feeb42c2f65a17058dfab18c2f0461b96.zip
Notes
Diffstat (limited to 'net/wmwave/Makefile')
-rw-r--r--net/wmwave/Makefile26
1 files changed, 13 insertions, 13 deletions
diff --git a/net/wmwave/Makefile b/net/wmwave/Makefile
index daa177c82431..c28c0f018e4c 100644
--- a/net/wmwave/Makefile
+++ b/net/wmwave/Makefile
@@ -7,32 +7,32 @@
PORTNAME= wmwave
PORTVERSION= 0.4
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION:S/./-/}
EXTRACT_SUFX= .tgz
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= benjsc@FreeBSD.org
COMMENT= Display 802.11 status in the WindowMaker Dock
-MAKEFILE= ${FILESDIR}/Makefile
-WRKSRC= ${WRKDIR}/${PORTNAME}
USE_XPM= yes
-MAKE_ENV= MANPREFIX=${MANPREFIX}
MAN1= wmwave.1
-MANCOMPRESSED= yes
PLIST_FILES= bin/wmwave
-# configure is a no-op for this port.
-do-configure:
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+CFLAGS+= -DWICACHE -I${PREFIX}/include
+LDFLAGS+= -L${PREFIX}/lib -lX11 -lXpm -lXext -lm
-.include <bsd.port.pre.mk>
+do-build:
+ ${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/${PORTNAME}.c ${WRKSRC}/wmgeneral.c \
+ -o ${WRKSRC}/${PORTNAME}
-.if ${OSVERSION} >= 700042
-BROKEN= Does not compile with GCC 4.2
-.endif
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>