blob: 30f290f903164916dad26fd430d44efef6c030c1 (
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
|
# 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
PORTREVISION= 2
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.4:${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>
|