# $NetBSD: Makefile,v 1.1.1.1 2002/10/28 12:41:55 agc Exp $ # DISTNAME= mousetar-20020202 CATEGORIES= sysutils MASTER_SITES= ftp://ftp.netbsd.org/pub/NetBSD/misc/mouse/tar/ DISTFILES= tar.c tar.man MAINTAINER= packages@netbsd.org #HOMEPAGE= none COMMENT= der Mouse's version of tar program WRKSRC= ${WRKDIR} do-extract: for f in ${DISTFILES}; do \ ${CP} ${DISTDIR}/$$f ${WRKDIR}; \ done do-build: cd ${WRKSRC}; ${CC} ${CFLAGS} tar.c -o mousetar do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mousetar ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/tar.man ${PREFIX}/man/man1/mousetar.1 .include "../../mk/bsd.pkg.mk"