summaryrefslogtreecommitdiff
path: root/time/wmzcalock/Makefile
blob: d8c58882200ff1ec977924d1111b2853ab03285c (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
# $NetBSD: Makefile,v 1.6 2012/11/01 19:28:26 joerg Exp $
#

DISTNAME=		wmzcalock-0.1
PKGREVISION=		1
CATEGORIES=		time x11
MASTER_SITES=		http://zapatopi.net/zapatoware/

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://zapatopi.net/zapatoware/wmzcalock.html
COMMENT=		Dockapp calendar clock
LICENSE=		gnu-gpl-v2

EXTRACT_SUFX=		.tgz

USE_TOOLS+=		pax
INSTALLATION_DIRS=	bin share/wmzcalock/theme

.include "../../mk/bsd.prefs.mk"

do-build:
	cd ${WRKSRC} && ${CC} -c ${CFLAGS} wmzcalock.c && \
		${CC} -o wmzcalock wmzcalock.o -lc ${LIBS} ${X11_LDFLAGS} \
		    -lX11 -lXext -lm -lXpm

do-install:
	${INSTALL_PROGRAM} ${WRKSRC:Q}/wmzcalock ${DESTDIR}${PREFIX:Q}/bin
	cd ${WRKSRC}/theme; ${PAX} -rw . \
	    ${DESTDIR}${PREFIX}/share/wmzcalock/theme

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