diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
commit | ba171a91fab519f587b027c1a2888cb6e3fce049 (patch) | |
tree | c12b9c282e2706cb6bac87456615dfdf2b256e55 /x11/Xaw-Xpm | |
parent | 3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff) | |
download | pkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'x11/Xaw-Xpm')
-rw-r--r-- | x11/Xaw-Xpm/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/x11/Xaw-Xpm/Makefile b/x11/Xaw-Xpm/Makefile index 2b40ebf3831..9f226ed407f 100644 --- a/x11/Xaw-Xpm/Makefile +++ b/x11/Xaw-Xpm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2008/01/19 09:16:26 wiz Exp $ +# $NetBSD: Makefile,v 1.27 2008/06/12 02:14:56 joerg Exp $ # DISTNAME= Xaw-XPM-1.1 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.zip.com.au/~bb/XawXpm/ COMMENT= Enhanced 3-D widgets based on the Athena Widget set and Xaw3d +PKG_DESTDIR_SUPPORT= user-destdir + CONFLICTS= Xaw3d-[0-9]* WRKSRC= ${WRKDIR}/XawXpm @@ -18,14 +20,14 @@ USE_DIRS+= xdg-1.1 USE_IMAKE= YES PLIST_SRC= ${WRKDIR}/.PLIST_SRC +INSTALLATION_DIRS= share/doc/Xaw-Xpm share/pixmaps + post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/Xaw-Xpm - ${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps - ${INSTALL_DATA} ${WRKSRC}/README-XPM ${PREFIX}/share/doc/Xaw-Xpm - ${INSTALL_DATA} ${WRKSRC}/defaults-XawXpm ${PREFIX}/share/doc/Xaw-Xpm - ${INSTALL_DATA} ${WRKSRC}/pixmaps/*.xpm ${PREFIX}/share/pixmaps + ${INSTALL_DATA} ${WRKSRC}/README-XPM ${DESTDIR}${PREFIX}/share/doc/Xaw-Xpm + ${INSTALL_DATA} ${WRKSRC}/defaults-XawXpm ${DESTDIR}${PREFIX}/share/doc/Xaw-Xpm + ${INSTALL_DATA} ${WRKSRC}/pixmaps/*.xpm ${DESTDIR}${PREFIX}/share/pixmaps ${CP} ${PKGDIR}/PLIST ${PLIST_SRC} - cd ${PREFIX} && ${LS} lib/libXaw3d* >> ${PLIST_SRC} + cd ${DESTDIR}${PREFIX} && ${LS} lib/libXaw3d* >> ${PLIST_SRC} .include "../../x11/libXext/buildlink3.mk" .include "../../x11/libXmu/buildlink3.mk" |