pkgsrc/sysutils/xenvstat/Makefile
tv 049d18c583 Don't "cp -p" for *source* files. Builds are usually done as an unprivileged
user, so it's not nice to try to use an option that will try to chown if
the repository isn't owned by the builder.

(Some OS's do in fact cause an error when the chown in "cp -p" fails.)
2005-01-06 05:32:29 +00:00

32 lines
714 B
Makefile

# $NetBSD: Makefile,v 1.2 2005/01/06 05:38:56 tv Exp $
DISTNAME= xenvstat-20041127
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
USE_X11= yes
USE_BUILDLINK3= yes
LIBS= -lXmu -lXext -lXt -lX11 -lm
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 "../../mk/bsd.pkg.mk"