diff options
author | joerg <joerg> | 2010-02-11 20:41:53 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-02-11 20:41:53 +0000 |
commit | 5bb0dceba3b5f32f2bc9e414def52840f6a3a164 (patch) | |
tree | 33785618ae6ecebfac800c7511aaf4f46428a31a | |
parent | 0d2bf6e55985c05f7a4b504a86dda2e23914f8ba (diff) | |
download | pkgsrc-5bb0dceba3b5f32f2bc9e414def52840f6a3a164.tar.gz |
DESTDIR support
-rw-r--r-- | net/dcsharp/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/net/dcsharp/Makefile b/net/dcsharp/Makefile index 6ef160dbe2a..55dc54abbf2 100644 --- a/net/dcsharp/Makefile +++ b/net/dcsharp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2010/01/18 09:59:19 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2010/02/11 20:41:53 joerg Exp $ DISTNAME= dcsharp-0.11.1 PKGREVISION= 8 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://code.google.com/p/dcsharp/ COMMENT= File sharing client for the Direct Connect protocol +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= pkg-config msgfmt USE_LANGUAGES= c++ NO_CONFIGURE= yes @@ -17,11 +19,13 @@ NO_CONFIGURE= yes BUILD_DEPENDS+= scons>=0.96.1:../../devel/scons DEPENDS+= notification-daemon>=0.3.7:../../sysutils/notification-daemon +INSTALLATION_DIRS+= bin lib share + do-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/scons PREFIX=${PREFIX} do-install: - cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/scons PREFIX=${PREFIX} install + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/scons PREFIX=${DESTDIR}${PREFIX} install .include "../../lang/mono/buildlink3.mk" .include "../../x11/gtk-sharp/buildlink3.mk" |