blob: 2e741794cc7a1e2f0e2e2e9d0583b23c456aef99 (
plain) (
blame)
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
43
44
|
# New ports collection makefile for: wmwave
# Date created: 27 December 2001
# Whom: Bruce M Simpson <bms@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= wmwave
PORTVERSION= 0.4
PORTREVISION= 5
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION:S/./-/}
EXTRACT_SUFX= .tgz
MAINTAINER= benjsc@FreeBSD.org
COMMENT= Display 802.11 status in the WindowMaker Dock
USE_XORG= xpm
MAN1= wmwave.1
PLIST_FILES= bin/wmwave
WRKSRC= ${WRKDIR}/${PORTNAME}
CFLAGS+= -DWICACHE -I${PREFIX}/include
LDFLAGS+= -L${PREFIX}/lib -lX11 -lXpm -lXext -lm
do-build:
${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/${PORTNAME}.c ${WRKSRC}/wmgeneral.c \
-o ${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600007
IGNORE= needs API available in FreeBSD 6.X and later
.endif
.include <bsd.port.post.mk>
|