aboutsummaryrefslogtreecommitdiff
path: root/misc/wmweather+/Makefile
blob: 43dd83af428ef001090986e9c1b17d4e185437b9 (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
45
46
47
48
49
50
51
52
# New ports collection makefile for:	wmweather+-2.4
# Date created:				11 April 2003
# Whom:				Harald Wille <harald.wille@students.jku.at>
#
# $FreeBSD$

PORTNAME=	wmweather+
PORTVERSION=	2.9
PORTREVISION=	4
CATEGORIES=	misc windowmaker geography
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	wmweatherplus

MAINTAINER=	harald.wille@students.jku.at
COMMENT=	Think wmweather with forecasts, weather map, and a sky cond. display

LIB_DEPENDS=	xmlparse:${PORTSDIR}/www/libwww \
		wraster:${PORTSDIR}/x11-wm/windowmaker \
		pcre:${PORTSDIR}/devel/pcre \
		tiff:${PORTSDIR}/graphics/tiff \
		Hermes:${PORTSDIR}/graphics/Hermes \
		png:${PORTSDIR}/graphics/png \
		jpeg:${PORTSDIR}/graphics/jpeg \
		ungif:${PORTSDIR}/graphics/libungif

GNU_CONFIGURE=	yes
USE_ICONV=	yes
USE_XORG=	xpm

CONFIGURE_ARGS+=	--with-libwraster=${LOCALBASE}

MAN1=		wmweather+.1

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/wmweather+ ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/wmweather+.1 ${PREFIX}/man/man1

post-install:
	${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/example.conf ${EXAMPLESDIR}/example.conf

	@${ECHO} ""
	@${ECHO} "================================================="
	@${ECHO} "Sample configuration file has been copied to"
	@${ECHO} "${EXAMPLESDIR}/example.conf"
	@${ECHO} ""
	@${ECHO} "Please copy it to your homedir into .wmweather+"
	@${ECHO} "as conf and adjust it to your needs!"
	@${ECHO} "================================================="
	@${ECHO} ""

.include <bsd.port.mk>