diff options
author | joerg <joerg@pkgsrc.org> | 2010-06-25 21:05:57 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-06-25 21:05:57 +0000 |
commit | 27edc572252a8a9131224f3eac0e0b1998553c96 (patch) | |
tree | d6b0dd7caecc116eb3f0db71e3b7f6697b562dc5 /chat/aim | |
parent | 47f4e039ab761a90ea4c4b91d74e3dea74a6254f (diff) | |
download | pkgsrc-27edc572252a8a9131224f3eac0e0b1998553c96.tar.gz |
DESTDIR support
Diffstat (limited to 'chat/aim')
-rw-r--r-- | chat/aim/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/chat/aim/Makefile b/chat/aim/Makefile index a4f92c270d1..27e26ea4ea7 100644 --- a/chat/aim/Makefile +++ b/chat/aim/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2007/12/12 20:42:28 wiz Exp $ +# $NetBSD: Makefile,v 1.19 2010/06/25 21:11:42 joerg Exp $ DISTNAME= aim-1.5.286-1.i386 PKGNAME= aim-1.5.286 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.aim.com/ COMMENT= AOL Instant Messenger (SM) +PKG_DESTDIR_SUPPORT= user-destdir + EMUL_PLATFORMS= linux-i386 EMUL_MODULES.linux= base compat x11 gtk @@ -27,7 +29,7 @@ WRKSRC= ${WRKDIR} BUILD_DIRS= # empty EMUL_PKG_FMT= rpm -RPM2PKG_PREFIX= ${PREFIX} +RPM2PKG_PREFIX= ${DESTDIR}${PREFIX} RPM2PKG_SUBPREFIX= ${EMULSUBDIR} .if (${OPSYS} == "Linux") && (${LOCALBASE} == "/usr") RPM2PKG_STRIP= 1 @@ -40,7 +42,7 @@ INSTALLATION_DIRS= bin .if ${OPSYS} != "Linux" post-install: - ${LN} -fs ${EMULDIR}/usr/bin/aim ${PREFIX}/bin/aim + ${LN} -fs ${EMULDIR}/usr/bin/aim ${DESTDIR}${PREFIX}/bin/aim ${ECHO} "bin/aim" >> ${RPM2PKG_PLIST} .endif |