diff options
author | minskim <minskim> | 2009-03-04 16:54:26 +0000 |
---|---|---|
committer | minskim <minskim> | 2009-03-04 16:54:26 +0000 |
commit | d9f7410dfa1aee3d8d84196aaac13da70487f165 (patch) | |
tree | 92d95282c92efb79a7b90bd5fe2433fb2e3b9ffe /devel/sgb | |
parent | c9985e91b489e924a28f696e370830c2a4395ccd (diff) | |
download | pkgsrc-d9f7410dfa1aee3d8d84196aaac13da70487f165.tar.gz |
Add PKG_DESTDIR_SUPPORT.
Diffstat (limited to 'devel/sgb')
-rw-r--r-- | devel/sgb/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/devel/sgb/Makefile b/devel/sgb/Makefile index bc602d64633..f27027fc88d 100644 --- a/devel/sgb/Makefile +++ b/devel/sgb/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2009/01/04 23:14:00 dbj Exp $ +# $NetBSD: Makefile,v 1.3 2009/03/04 16:54:26 minskim Exp $ DISTNAME= sgb-2007-03.28 PKGNAME= sgb-20070328 @@ -11,6 +11,8 @@ COMMENT= The Stanford GraphBase DEPENDS+= teTeX-bin-[0-9]*:../../print/teTeX3-bin +PKG_DESTDIR_SUPPORT= user-destdir + USE_LIBTOOL= yes WRKSRC= ${WRKDIR} @@ -21,12 +23,12 @@ SUBST_CLASSES+= paths SUBST_MESSAGE.paths= Fixing hardcoded paths. SUBST_STAGE.paths= pre-configure SUBST_FILES.paths= Makefile -SUBST_SED.paths= -e 's,@PREFIX@,${PREFIX},g' +SUBST_SED.paths= -e 's,@PREFIX@,$${DESTDIR}${PREFIX},g' post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sgb + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/sgb .for f in abstract.dvi README ERRATA - ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/sgb + ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/doc/sgb .endfor .include "../../mk/bsd.pkg.mk" |