diff options
author | abs <abs@pkgsrc.org> | 2009-12-17 22:34:37 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2009-12-17 22:34:37 +0000 |
commit | 789cf45d8117df7b5643a0e28c0bb91b701064d0 (patch) | |
tree | c32c726f6de57465e31652f501104e5b8c906779 /net/connect | |
parent | 1a29d8911e81f98c49ffe6c09ff252c08a21da07 (diff) | |
download | pkgsrc-789cf45d8117df7b5643a0e28c0bb91b701064d0.tar.gz |
PKG_DESTDIR_SUPPORT
Diffstat (limited to 'net/connect')
-rw-r--r-- | net/connect/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/connect/Makefile b/net/connect/Makefile index c6f91128a16..0d9c447dd96 100644 --- a/net/connect/Makefile +++ b/net/connect/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2008/05/25 14:45:17 tron Exp $ +# $NetBSD: Makefile,v 1.11 2009/12/17 22:34:37 abs Exp $ DISTNAME= connect PKGNAME= ${DISTNAME}-1.95 @@ -16,7 +16,8 @@ DIST_SUBDIR= ${PKGNAME_NOREV} LIBS.Darwin+= -lresolv LIBS.SunOS+= -lresolv -lsocket -lnsl -INSTALLATION_DIRS= bin +INSTALLATION_DIRS= bin share/doc/connect +PKG_DESTDIR_SUPPORT= user-destdir do-build: ${MKDIR} ${WRKSRC} @@ -25,8 +26,7 @@ do-build: ${CUT} -c 4- >${WRKSRC}/README do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/connect ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/connect - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/connect + ${INSTALL_PROGRAM} ${WRKSRC}/connect ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/connect .include "../../mk/bsd.pkg.mk" |