diff options
Diffstat (limited to 'chat')
-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 |