diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-27 20:09:09 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-27 20:09:09 +0000 |
commit | 9dd6ba758eeb9d583568032b5a52345af721c0c6 (patch) | |
tree | bf4c691058d613ae9421a5ffadbd95b335228b41 /sysutils/sredird | |
parent | 13400828d62b2f71ae0fe334aa60df6bebbd68f1 (diff) | |
download | pkgsrc-9dd6ba758eeb9d583568032b5a52345af721c0c6.tar.gz |
DESTDIR support
Diffstat (limited to 'sysutils/sredird')
-rw-r--r-- | sysutils/sredird/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sysutils/sredird/Makefile b/sysutils/sredird/Makefile index d89a2e5ce4f..3eb075f7cbc 100644 --- a/sysutils/sredird/Makefile +++ b/sysutils/sredird/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2007/03/19 16:40:28 tv Exp $ +# $NetBSD: Makefile,v 1.8 2010/01/27 20:09:09 joerg Exp $ # DISTNAME= sredird-2.0.0 @@ -9,13 +9,14 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.pcmicro.com/sredird/ COMMENT= RFC2217 compliant serial port redirector +PKG_DESTDIR_SUPPORT= user-destdir MAKE_FLAGS+= CC=${CC:Q} CFLAGS=${CFLAGS:M*:Q} BUILD_TARGET= sredird INSTALLATION_DIRS= libexec share/doc do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/sredird ${PREFIX}/libexec/sredird - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/sredird.README + ${INSTALL_PROGRAM} ${WRKSRC}/sredird ${DESTDIR}${PREFIX}/libexec/sredird + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/sredird.README .include "../../mk/bsd.pkg.mk" |