diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 00:51:43 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 00:51:43 +0000 |
commit | 075003a60c727330726570ab7674a2ee12c5654f (patch) | |
tree | cdb67462b5541a6566af441ea620d49ad326d24e /biology/arka | |
parent | bd579f3497266e46fb3a16428bf69c529a427d58 (diff) | |
download | pkgsrc-075003a60c727330726570ab7674a2ee12c5654f.tar.gz |
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'biology/arka')
-rw-r--r-- | biology/arka/Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/biology/arka/Makefile b/biology/arka/Makefile index 940aed6fe9f..95d44e455c5 100644 --- a/biology/arka/Makefile +++ b/biology/arka/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2007/02/22 19:26:09 wiz Exp $ +# $NetBSD: Makefile,v 1.8 2008/03/03 01:10:05 jlam Exp $ # DISTNAME= arka-0.11 @@ -13,6 +13,8 @@ COMMENT= Graphic interface for the programs from the GP package DEPENDS+= gp-[0-9]*:../../biology/gp +PKG_DESTDIR_SUPPORT= user-destdir + USE_DIRS+= xdg-1.1 CONF_FILES= ${PREFIX}/share/examples/arka/arkarc ${PKG_SYSCONFDIR}/arkarc @@ -26,17 +28,17 @@ post-build: cd ${WRKSRC} && ${GUNZIP_CMD} arka.1.gz do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/arka ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/arka.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/arka ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/arka.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .for f in arka_16x16.xpm arka_32x32.xpm - ${INSTALL_DATA} ${WRKSRC}/icons/${f} ${PREFIX}/share/pixmaps + ${INSTALL_DATA} ${WRKSRC}/icons/${f} ${DESTDIR}${PREFIX}/share/pixmaps .endfor - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/arka + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/arka .for f in CHANGES.TXT INSTALL.TXT LICENSE.TXT README.TXT TODO.TXT - ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/arka + ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/doc/arka .endfor - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/arka - ${INSTALL_DATA} ${WRKSRC}/arkarc ${PREFIX}/share/examples/arka + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/arka + ${INSTALL_DATA} ${WRKSRC}/arkarc ${DESTDIR}${PREFIX}/share/examples/arka .include "../../x11/gtk/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |