3ed49e6414
While we are at it: - define LICENSE - switch to USES=localbase - add missing include for errx() PR: 267588 MFH: 2023Q1 Approved by: build fix blanket, maintainer timeout Approved by: flo (mentor) Differential Revision: https://reviews.freebsd.org/D38511
31 lines
804 B
Makefile
31 lines
804 B
Makefile
PORTNAME= wmwave
|
|
DISTVERSION= 0-4
|
|
PORTREVISION= 7
|
|
CATEGORIES= net
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= benjsc@FreeBSD.org
|
|
COMMENT= Display 802.11 status in the WindowMaker Dock
|
|
WWW= https://sourceforge.net/projects/wmwave/
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= localbase:ldflags xorg
|
|
USE_XORG= x11 xext xpm
|
|
|
|
PLIST_FILES= bin/wmwave man/man1/wmwave.1.gz
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
CFLAGS+= -DWICACHE
|
|
LDFLAGS+= -lX11 -lXpm -lXext -lm
|
|
|
|
do-build:
|
|
${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/${PORTNAME}.c ${WRKSRC}/wmgeneral.c \
|
|
-o ${WRKSRC}/${PORTNAME}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/wmwave.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|