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 | c976d3c67177d15528ca5a691b0c4dd7c1497c12 (patch) | |
tree | d6b0dd7caecc116eb3f0db71e3b7f6697b562dc5 /chat/aim | |
parent | 5753f9c2b63115435536b637ca133db28ccf54d4 (diff) | |
download | pkgsrc-c976d3c67177d15528ca5a691b0c4dd7c1497c12.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 |