pkgsrc/devel/p4pr/Makefile
jlam 4c8382aec0 Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-03 17:45:33 +00:00

32 lines
692 B
Makefile

# $NetBSD: Makefile,v 1.9 2008/03/03 17:45:36 jlam Exp $
#
DISTNAME= p4pr
PKGNAME= ${DISTNAME}-20010504
CATEGORIES= devel scm
MASTER_SITES= ftp://ftp.perforce.com/pub/perforce/contrib/misc/
EXTRACT_SUFX= .perl
MAINTAINER= schmonz@NetBSD.org
COMMENT= Perforce file annotation with change, revision, and branch
DEPENDS+= p4-[0-9]*:../../devel/p4
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
EXTRACT_ONLY= # none
NO_BUILD= yes
USE_TOOLS+= perl:run
REPLACE_PERL= ${DISTFILES}
INSTALLATION_DIRS= bin
post-extract:
${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${DISTFILES} \
${DESTDIR}${PREFIX}/bin/${DISTNAME}
.include "../../mk/bsd.pkg.mk"