summaryrefslogtreecommitdiff
path: root/time/xtu/Makefile
blob: 093f218a65cd0172f519a371adf4391966186d18 (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
# $NetBSD: Makefile,v 1.13 2012/10/23 10:24:12 wiz Exp $
#

DISTNAME=	xtu-1.3
CATEGORIES=	time
MASTER_SITES=	http://coto.marsrakete.de/projects/xtu/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://coto.marsrakete.de/projects/xtu/
COMMENT=	Small configurable X11 analog clock

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1

do-build:
	cd ${WRKSRC} && ${CC} -DUSE_XPM *.c -o xtu -I${X11BASE}/include ${X11_LDFLAGS} -lXpm -lX11 -lXext

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/xtu ${DESTDIR}${PREFIX}/bin/
	${INSTALL_MAN} ${WRKSRC}/xtu.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1

.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"