summaryrefslogtreecommitdiff
path: root/x11-clocks/wmtz/Makefile
blob: bb14c6d375fcbd1bf64e013b361cb9022201ebe3 (plain)
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
# New ports collection makefile for:	wmtz
# Date created:			24 Apr 1999
# Whom:				Jim Mock <jim@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	wmtz
PORTVERSION=	0.7
PORTREVISION=	3
CATEGORIES=	x11-clocks windowmaker afterstep
MASTER_SITES=	http://www.geocities.com/jl1n/wmtz/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Dockapp that displays the time in different time zones

USE_GMAKE=	yes
MAKE_ARGS=	CC="${CC}" FLAGS="${CFLAGS} -I${LOCALBASE}/include" \
		LIBDIR="-L${LOCALBASE}/lib"
WRKSRC=		${WRKDIR}/${DISTNAME}/wmtz
USE_XORG=	xpm x11
MAN1=		wmtz.1
PLIST_FILES=	bin/wmtz \
		etc/wmtzrc.default

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/wmtz ${PREFIX}/bin/wmtz
	@${INSTALL_MAN} ${WRKSRC}/wmtz.1 ${PREFIX}/man/man1/
	@${ECHO} "===>   Installing wmtzrc.default in ${PREFIX}/etc."
	@${ECHO} "===>   Copy it to ~/.wmtzrc or ${PREFIX}/etc/wmtzrc and modify it."
	@${INSTALL_DATA} ${WRKSRC}/wmtzrc ${PREFIX}/etc/wmtzrc.default
	@${ECHO} "===>   Run wmtz --help for usage instructions"

.include <bsd.port.mk>