summaryrefslogtreecommitdiff
path: root/misc/easymenu
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-04 19:21:10 +0000
committerjlam <jlam@pkgsrc.org>2008-03-04 19:21:10 +0000
commit39843c2c61acd3e8f1b7d0fa6eb0f76884067d10 (patch)
tree49bcc2e4ee778e69c05972f13c0e319fdf272a66 /misc/easymenu
parent0523c1825d9b781d6f10c2ef70daf0a164e0f142 (diff)
downloadpkgsrc-39843c2c61acd3e8f1b7d0fa6eb0f76884067d10.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'misc/easymenu')
-rw-r--r--misc/easymenu/Makefile38
1 files changed, 20 insertions, 18 deletions
diff --git a/misc/easymenu/Makefile b/misc/easymenu/Makefile
index 30f8b0a213d..bc552ee2e56 100644
--- a/misc/easymenu/Makefile
+++ b/misc/easymenu/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2007/03/25 05:47:34 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2008/03/04 19:21:11 jlam Exp $
#
DISTNAME= easymenu-0.7.2
@@ -9,40 +9,42 @@ MAINTAINER= ola@mrEriksson.net
HOMEPAGE= http://www.mreriksson.net/dev/easymenu/
COMMENT= Software used to generate menu systems
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_BUILD= yes
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/easymenu ${PREFIX}/bin/
- ${INSTALL_DATA_DIR} ${PREFIX}/share/easymenu
- ${INSTALL_DATA_DIR} ${PREFIX}/share/easymenu/etc
- ${INSTALL_DATA_DIR} ${PREFIX}/share/easymenu/etc/menus-sample
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/easymenu ${DESTDIR}${PREFIX}/bin/
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/easymenu
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/easymenu/etc
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/easymenu/etc/menus-sample
${INSTALL_SCRIPT} ${WRKSRC}/easymenu-demo.sh \
- ${PREFIX}/share/easymenu/
+ ${DESTDIR}${PREFIX}/share/easymenu/
${INSTALL_SCRIPT} ${WRKSRC}/easymenu-demo-bash.sh \
- ${PREFIX}/share/easymenu/
+ ${DESTDIR}${PREFIX}/share/easymenu/
${INSTALL_DATA} ${WRKSRC}/README \
- ${PREFIX}/share/easymenu/
+ ${DESTDIR}${PREFIX}/share/easymenu/
${INSTALL_DATA} ${WRKSRC}/CHANGES \
- ${PREFIX}/share/easymenu/
+ ${DESTDIR}${PREFIX}/share/easymenu/
${INSTALL_DATA} ${WRKSRC}/etc/easymenu.conf-minimode \
- ${PREFIX}/share/easymenu/etc/
+ ${DESTDIR}${PREFIX}/share/easymenu/etc/
${INSTALL_DATA} ${WRKSRC}/etc/easymenu.conf-sample \
- ${PREFIX}/share/easymenu/etc/
+ ${DESTDIR}${PREFIX}/share/easymenu/etc/
${INSTALL_DATA} ${WRKSRC}/etc/menus-sample/demo \
- ${PREFIX}/share/easymenu/etc/menus-sample/
+ ${DESTDIR}${PREFIX}/share/easymenu/etc/menus-sample/
${INSTALL_DATA} ${WRKSRC}/etc/menus-sample/demo.1 \
- ${PREFIX}/share/easymenu/etc/menus-sample/
+ ${DESTDIR}${PREFIX}/share/easymenu/etc/menus-sample/
${INSTALL_DATA} ${WRKSRC}/etc/menus-sample/demo.2 \
- ${PREFIX}/share/easymenu/etc/menus-sample/
+ ${DESTDIR}${PREFIX}/share/easymenu/etc/menus-sample/
${INSTALL_DATA} ${WRKSRC}/etc/menus-sample/demo.3 \
- ${PREFIX}/share/easymenu/etc/menus-sample/
+ ${DESTDIR}${PREFIX}/share/easymenu/etc/menus-sample/
${INSTALL_DATA} ${WRKSRC}/etc/menus-sample/main \
- ${PREFIX}/share/easymenu/etc/menus-sample/
+ ${DESTDIR}${PREFIX}/share/easymenu/etc/menus-sample/
${INSTALL_DATA} ${WRKSRC}/etc/menus-sample/post-demo \
- ${PREFIX}/share/easymenu/etc/menus-sample/
+ ${DESTDIR}${PREFIX}/share/easymenu/etc/menus-sample/
${INSTALL_DATA} ${WRKSRC}/etc/menus-sample/pre-demo \
- ${PREFIX}/share/easymenu/etc/menus-sample/
+ ${DESTDIR}${PREFIX}/share/easymenu/etc/menus-sample/
.include "../../mk/bsd.pkg.mk"