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

PORTNAME=	wmtz
PORTVERSION=	0.7
PORTREVISION=	1
CATEGORIES=	x11-clocks windowmaker afterstep
MASTER_SITES=	http://www.geocities.com/jl1n/wmtz/ \
		http://soupnazi.org/FreeBSD/ports/distfiles/

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

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

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/wmtz ${X11BASE}/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>
OpenPOWER on IntegriCloud