diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 17:45:33 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 17:45:33 +0000 |
commit | 4c8382aec039aefeebaf1aaac5cd7985337ed917 (patch) | |
tree | 620d08cc8bf79f9bacb7746632192670c7d6350d /devel/pvs | |
parent | 3a62565eb9471348d02d74145e302b5675905a43 (diff) | |
download | pkgsrc-4c8382aec039aefeebaf1aaac5cd7985337ed917.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'devel/pvs')
-rw-r--r-- | devel/pvs/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/devel/pvs/Makefile b/devel/pvs/Makefile index c6082d8b4e0..20494ad933f 100644 --- a/devel/pvs/Makefile +++ b/devel/pvs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.32 2007/08/22 17:28:09 jlam Exp $ +# $NetBSD: Makefile,v 1.33 2008/03/03 17:45:36 jlam Exp $ # DISTNAME= pvs-${VERSION} @@ -29,6 +29,8 @@ DEPENDS+= tk>=8.0:../../x11/tk EMUL_PLATFORMS+= linux-i386 solaris-sparc +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} VERSION= 3.2 INFO_FILES= # PLIST @@ -46,10 +48,10 @@ do-build: ${RM} -f ${WRKSRC}/doc/release-notes/pvs-release-notes.info.orig do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/pvs ${PREFIX}/bin/pvs - ${INSTALL_PROGRAM_DIR} ${PREFIX}/pvs - cd ${WRKSRC} && ${PAX} -s ,^./[.].*,, -rw . ${PREFIX}/pvs - ${CHMOD} 755 ${PREFIX}/pvs/pvs + ${INSTALL_SCRIPT} ${WRKSRC}/pvs ${DESTDIR}${PREFIX}/bin/pvs + ${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/pvs + cd ${WRKSRC} && ${PAX} -s ,^./[.].*,, -rw . ${DESTDIR}${PREFIX}/pvs + ${CHMOD} 755 ${DESTDIR}${PREFIX}/pvs/pvs .include "../../mk/tex.buildlink3.mk" .include "../../mk/emacs.mk" |