1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/misc/wmweather/Makefile
2005-04-23 23:01:56 +00:00

38 lines
1.1 KiB
Makefile

# New ports collection makefile for: wmWeather-1.28
# Date created: 26 January 1998
# Whom: Kris Kennaway <kkennawa@physics.adelaide.edu.au>
#
# $FreeBSD$
PORTNAME= wmweather
PORTVERSION= 2.4.3
CATEGORIES= misc windowmaker
MASTER_SITES= http://www.godisch.de/debian/wmweather/
MAINTAINER= kris@FreeBSD.org
COMMENT= A WMaker dockapp which displays meteorological data for your city
LIB_DEPENDS= curl.3:${PORTSDIR}/ftp/curl
BUILD_DEPENDS= xmessage:${X_CLIENTS_PORT}
RUN_DEPENDS= xmessage:${X_CLIENTS_PORT}
CFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include
GNU_CONFIGURE= yes
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
WRKSRC= ${WRKDIR}/${DISTNAME}/src
USE_GMAKE= yes
USE_GETOPT_LONG=yes
USE_X_PREFIX= yes
USE_XPM= yes
MAN1= wmweather.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wmweather ${PREFIX}/bin/
${LN} ${PREFIX}/bin/wmweather ${PREFIX}/bin/wmWeather
${INSTALL_MAN} ${WRKSRC}/wmweather.1 ${PREFIX}/man/man1/
${INSTALL_DATA} -m 644 ${WRKSRC}/wmweather.conf ${PREFIX}/etc/wmweather.conf.sample
test -f ${PREFIX}/etc/wmweather.conf || ${CP} ${PREFIX}/etc/wmweather.conf.sample ${PREFIX}/etc/wmweather.conf
.include <bsd.port.mk>