diff options
author | jlam <jlam> | 2008-03-03 17:45:33 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 17:45:33 +0000 |
commit | 7a1142123798f48c48fc2d1fe38690a6b94d1df7 (patch) | |
tree | 620d08cc8bf79f9bacb7746632192670c7d6350d /devel/ratfor | |
parent | e629efdae96bb93a089e74409a36149a86e10f81 (diff) | |
download | pkgsrc-7a1142123798f48c48fc2d1fe38690a6b94d1df7.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'devel/ratfor')
-rw-r--r-- | devel/ratfor/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/devel/ratfor/Makefile b/devel/ratfor/Makefile index 3a04106853d..c0514873486 100644 --- a/devel/ratfor/Makefile +++ b/devel/ratfor/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2007/11/18 10:39:58 wiz Exp $ +# $NetBSD: Makefile,v 1.14 2008/03/03 17:45:37 jlam Exp $ DISTNAME= ratfor77 PKGNAME= ratfor-1.0 @@ -10,12 +10,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://sepwww.stanford.edu/software/ratfor.html COMMENT= Preprocessor for the Ratfor dialect of Fortran +PKG_DESTDIR_SUPPORT= user-destdir + BUILD_TARGET= ratfor77 USE_TOOLS+= gmake INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/ratfor77 ${PREFIX}/bin/ratfor - ${INSTALL_MAN} ${WRKSRC}/ratfor.man ${PREFIX}/${PKGMANDIR}/man1/ratfor.1 + ${INSTALL_PROGRAM} ${WRKSRC}/ratfor77 ${DESTDIR}${PREFIX}/bin/ratfor + ${INSTALL_MAN} ${WRKSRC}/ratfor.man \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ratfor.1 .include "../../mk/bsd.pkg.mk" |