# $NetBSD: Makefile,v 1.2 2003/01/02 09:45:48 agc Exp $ # DISTNAME= mousetar-20021217 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"