fc9253dd71
shipped standard.
37 lines
903 B
Makefile
37 lines
903 B
Makefile
# $NetBSD: Makefile,v 1.5 2005/01/18 22:32:00 tv Exp $
|
|
|
|
DISTNAME= pkgclean-20050118
|
|
CATEGORIES= pkgtools
|
|
MASTER_SITES= # empty
|
|
DISTFILES= # empty
|
|
|
|
MAINTAINER= peter@pointless.nl
|
|
COMMENT= Quickly clean up all work directories in pkgsrc
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
NO_BUILDLINK= yes
|
|
NO_CONFIGURE= yes
|
|
NO_CHECKSUM= yes
|
|
|
|
INSTALLATION_DIRS= bin man/man1
|
|
|
|
NROFF= nroff -mandoc
|
|
|
|
do-extract:
|
|
@${CP} -R ${FILESDIR} ${WRKSRC}
|
|
|
|
do-build:
|
|
${CC} ${CFLAGS} -o ${WRKSRC}/pkgclean ${WRKSRC}/pkgclean.c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pkgclean ${PREFIX}/bin/pkgclean
|
|
${INSTALL_MAN} ${WRKSRC}/pkgclean.1 ${PREFIX}/man/man1/pkgclean.1
|
|
|
|
SUBST_CLASSES= path
|
|
SUBST_STAGE.path= post-patch
|
|
SUBST_FILES.path= pkgclean.c pkgclean.1
|
|
SUBST_SED.path= -e "s,@PKGSRCDIR@,${PKGSRCDIR},g"
|
|
SUBST_MESSAGE.path= "Adjusting pkgsrc directory."
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|