diff options
author | jlam <jlam> | 2008-03-04 14:44:05 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-04 14:44:05 +0000 |
commit | cff5ae096bdb338cbbad22fbcd0ad47e1e3344e8 (patch) | |
tree | a92e7f8eee54b9a8853da721181945e291a984d5 /geography/epsg-docs/Makefile | |
parent | eb494ec145ffdaf4f29a6340669a88a2cff65c81 (diff) | |
download | pkgsrc-cff5ae096bdb338cbbad22fbcd0ad47e1e3344e8.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'geography/epsg-docs/Makefile')
-rw-r--r-- | geography/epsg-docs/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/geography/epsg-docs/Makefile b/geography/epsg-docs/Makefile index 3262402b9e9..e94017a204c 100644 --- a/geography/epsg-docs/Makefile +++ b/geography/epsg-docs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2007/07/28 11:09:48 gdt Exp $ +# $NetBSD: Makefile,v 1.2 2008/03/04 14:44:05 jlam Exp $ # DISTNAME= G7-1 @@ -15,6 +15,8 @@ COMMENT= EPSG geodetic parameters database documentation LICENSE= epsg-license +PKG_DESTDIR_SUPPORT= user-destdir + # Docs were included in geography/epsg up to 6.11.2, but are released # separately and hence now packaged separately. CONFLICTS+= epsg<6.13 @@ -24,8 +26,8 @@ NO_BUILD= yes DOCDIR= ${PREFIX}/share/doc/epsg do-install: - ${INSTALL_DATA_DIR} ${DOCDIR} - ${INSTALL_DATA} ${WRKSRC}/G7-1.pdf ${DOCDIR:Q} - ${INSTALL_DATA} ${WRKSRC}/G7-2.pdf ${DOCDIR:Q} + ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/G7-1.pdf ${DESTDIR}${DOCDIR:Q} + ${INSTALL_DATA} ${WRKSRC}/G7-2.pdf ${DESTDIR}${DOCDIR:Q} .include "../../mk/bsd.pkg.mk" |