2012-10-23 21:50:50 +02:00
|
|
|
# $NetBSD: Makefile,v 1.11 2012/10/23 19:51:37 asau Exp $
|
2004-12-28 01:01:07 +01:00
|
|
|
|
|
|
|
DISTNAME= xenvstat-20041127
|
2007-02-16 00:21:06 +01:00
|
|
|
PKGREVISION= 2
|
2004-12-28 01:01:07 +01:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= # empty
|
|
|
|
DISTFILES= # empty
|
|
|
|
|
|
|
|
MAINTAINER= rxg@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.NetBSD.org/
|
|
|
|
COMMENT= X11-based display environmental sensor readings
|
|
|
|
|
|
|
|
ONLY_FOR_PLATFORM= NetBSD-*-*
|
|
|
|
|
|
|
|
NO_CONFIGURE= yes
|
|
|
|
|
2007-02-16 00:21:06 +01:00
|
|
|
LIBS+= -lXt -lX11 -lm
|
2004-12-28 01:01:07 +01:00
|
|
|
|
2005-06-17 05:50:19 +02:00
|
|
|
INSTALLATION_DIRS= bin lib/X11/app-defaults
|
|
|
|
|
2004-12-28 01:01:07 +01:00
|
|
|
do-extract:
|
2005-01-06 06:32:29 +01:00
|
|
|
@${CP} -R ${FILESDIR} ${WRKSRC}
|
2004-12-28 01:01:07 +01:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/xenvstat \
|
|
|
|
${WRKSRC}/xenvstat.c ${LIBS}
|
|
|
|
|
|
|
|
do-install:
|
2010-01-27 21:41:16 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xenvstat ${DESTDIR}${PREFIX}/bin/xenvstat
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Xenvstat ${DESTDIR}${PREFIX}/lib/X11/app-defaults
|
2004-12-28 01:01:07 +01:00
|
|
|
|
2007-02-16 00:21:06 +01:00
|
|
|
.include "../../x11/libXt/buildlink3.mk"
|
2004-12-28 01:01:07 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|