DESTDIR support
This commit is contained in:
parent
59e42a5d78
commit
4b9dc9abcd
1 changed files with 8 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.10 2009/03/22 04:53:39 manu Exp $
|
# $NetBSD: Makefile,v 1.11 2010/02/11 20:25:12 joerg Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
DISTNAME= bounce-0.0
|
DISTNAME= bounce-0.0
|
||||||
|
@ -8,6 +8,8 @@ MASTER_SITES= ${MASTER_SITE_LOCAL}
|
||||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||||
COMMENT= Tool to forward TCP connection from one IP to another
|
COMMENT= Tool to forward TCP connection from one IP to another
|
||||||
|
|
||||||
|
PKG_DESTDIR_SUPPORT= user-destdir
|
||||||
|
|
||||||
CONFLICTS+= majordomo-*
|
CONFLICTS+= majordomo-*
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/bounce
|
WRKSRC= ${WRKDIR}/bounce
|
||||||
|
@ -16,7 +18,10 @@ CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
|
||||||
|
|
||||||
BUILD_TARGET= bounce
|
BUILD_TARGET= bounce
|
||||||
|
|
||||||
post-install:
|
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
|
||||||
strip ${PREFIX}/bin/bounce
|
|
||||||
|
do-install:
|
||||||
|
${INSTALL_PROGRAM} ${WRKSRC}/bounce ${DESTDIR}${PREFIX}/bin
|
||||||
|
${INSTALL_MAN} ${WRKSRC}/bounce.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
||||||
|
|
||||||
.include "../../mk/bsd.pkg.mk"
|
.include "../../mk/bsd.pkg.mk"
|
||||||
|
|
Loading…
Reference in a new issue