blob: a5be13e3ace372624e4dc983a4cdbe2945b3c7b6 (
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
|
# $NetBSD: Makefile,v 1.10 2010/01/27 20:46:37 joerg Exp $
DISTNAME= xenvstat-20041127
PKGREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= rxg@NetBSD.org
HOMEPAGE= http://www.NetBSD.org/
COMMENT= X11-based display environmental sensor readings
PKG_DESTDIR_SUPPORT= user-destdir
ONLY_FOR_PLATFORM= NetBSD-*-*
NO_CONFIGURE= yes
LIBS+= -lXt -lX11 -lm
INSTALLATION_DIRS= bin lib/X11/app-defaults
do-extract:
@${CP} -R ${FILESDIR} ${WRKSRC}
do-build:
${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/xenvstat \
${WRKSRC}/xenvstat.c ${LIBS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xenvstat ${DESTDIR}${PREFIX}/bin/xenvstat
${INSTALL_DATA} ${WRKSRC}/Xenvstat ${DESTDIR}${PREFIX}/lib/X11/app-defaults
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|