diff options
author | jlam <jlam> | 2008-03-03 19:21:37 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 19:21:37 +0000 |
commit | 4bec39ccba022dfbd2daa6f6d25f7e86d987b4b7 (patch) | |
tree | c5e0c30c0b353fd2092305665ed106c2ef4ca346 /emulators/kenigma | |
parent | 9bb1fb4eb3cd00b14bf35efc1f775513b341c2e6 (diff) | |
download | pkgsrc-4bec39ccba022dfbd2daa6f6d25f7e86d987b4b7.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" |