pkgsrc/sysutils/xenvstat/Makefile

34 lines
773 B
Makefile

# $NetBSD: Makefile,v 1.8 2007/02/15 23:21:06 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
ONLY_FOR_PLATFORM= NetBSD-*-*
NO_CONFIGURE= yes
NO_CHECKSUM= 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 ${PREFIX}/bin/xenvstat
${INSTALL_DATA} ${WRKSRC}/Xenvstat ${PREFIX}/lib/X11/app-defaults
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"