diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 19:21:37 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 19:21:37 +0000 |
commit | 0bb78c6c9d3855e92497417696475484322d451c (patch) | |
tree | c5e0c30c0b353fd2092305665ed106c2ef4ca346 /emulators/kenigma | |
parent | 9bd3464e7e916d97f1e733a71b79c48999897987 (diff) | |
download | pkgsrc-0bb78c6c9d3855e92497417696475484322d451c.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'emulators/kenigma')
-rw-r--r-- | emulators/kenigma/Makefile | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/emulators/kenigma/Makefile b/emulators/kenigma/Makefile index 6f65b72428b..565a9a0f7a8 100644 --- a/emulators/kenigma/Makefile +++ b/emulators/kenigma/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2008/01/18 05:06:32 tnn Exp $ +# $NetBSD: Makefile,v 1.6 2008/03/03 19:21:38 jlam Exp $ DISTNAME= 28107-kenigma-1.2.1 PKGNAME= kenigma-1.2.1 @@ -10,6 +10,8 @@ MAINTAINER= markd@NetBSD.org HOMEPAGE= http://www.kde-apps.org/content/show.php?content=28107 COMMENT= Replica of the German enigma code machine used in WW2 +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/kenigma NO_CONFIGURE= yes @@ -17,18 +19,21 @@ USE_LANGUAGES= # none APPDIR= ${KDEDIR}/share/kde/apps/kenigma +INSTALLATION_DIRS= bin ${KDEDIR}/share/applications/kde + do-build: (cd ${WRKSRC}; \ ${ECHO} "#!/bin/sh"; \ ${ECHO} "cd ${APPDIR} && ${RUBY} main.rb") > ${WRKSRC}/kenigma do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/kenigma ${KDEDIR}/bin - ${INSTALL_DATA} ${WRKSRC}/kenigma.desktop ${KDEDIR}/share/applications/kde - ${INSTALL_DATA_DIR} ${APPDIR} - ${INSTALL_DATA} ${WRKSRC}/*.rb ${APPDIR} - ${INSTALL_DATA} ${WRKSRC}/kenigma.dtd ${APPDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${APPDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/kenigma ${DESTDIR}${KDEDIR}/bin + ${INSTALL_DATA} ${WRKSRC}/kenigma.desktop \ + ${DESTDIR}${KDEDIR}/share/applications/kde + ${INSTALL_DATA_DIR} ${DESTDIR}${APPDIR} + ${INSTALL_DATA} ${WRKSRC}/*.rb ${DESTDIR}${APPDIR} + ${INSTALL_DATA} ${WRKSRC}/kenigma.dtd ${DESTDIR}${APPDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${APPDIR} .include "../../meta-pkgs/kde3/kde3.mk" |