DESTDIR support
This commit is contained in:
parent
fd7f52ccb1
commit
2898ec35f6
5 changed files with 31 additions and 22 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.21 2008/12/15 20:59:28 smb Exp $
|
||||
# $NetBSD: Makefile,v 1.22 2010/01/27 21:38:37 joerg Exp $
|
||||
|
||||
DISTNAME= mcrypt-2.6.8
|
||||
CATEGORIES= security devel
|
||||
|
@ -8,6 +8,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
|
|||
HOMEPAGE= http://mcrypt.sourceforge.net/
|
||||
COMMENT= Replacement to crypt(1), supports many crypto algorithms
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
USE_LIBTOOL= yes
|
||||
USE_PKGLOCALEDIR= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.18 2007/02/22 19:27:08 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.19 2010/01/27 21:37:03 joerg Exp $
|
||||
|
||||
DISTNAME= nfsshell-1.0
|
||||
PKGREVISION= 1
|
||||
|
@ -10,6 +10,8 @@ DISTFILES= nfsBugFerret.tgz \
|
|||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
COMMENT= NFS security verification suite
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
EXTRACT_ONLY= nfsBugFerret.tgz
|
||||
WRKSRC= ${WRKDIR}/nfsbug
|
||||
|
||||
|
@ -20,7 +22,7 @@ post-extract:
|
|||
${CP} ${DISTDIR}/nfsShell.c ${WRKSRC}/nfsshell.c
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/nfsbug ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/nfsshell ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/nfsbug ${DESTDIR}${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/nfsshell ${DESTDIR}${PREFIX}/bin
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.24 2009/07/17 18:00:23 adrianp Exp $
|
||||
# $NetBSD: Makefile,v 1.25 2010/01/27 21:35:44 joerg Exp $
|
||||
#
|
||||
|
||||
DISTNAME= p0f-2.0.8
|
||||
|
@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
|
|||
HOMEPAGE= http://lcamtuf.coredump.cx/p0f.shtml
|
||||
COMMENT= Passive OS fingerprinting tool
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
WRKSRC= ${WRKDIR}/p0f
|
||||
|
||||
PKG_SYSCONFSUBDIR= p0f
|
||||
|
@ -30,13 +32,13 @@ post-patch:
|
|||
${LN} -s NetBSD ${WRKSRC}/mk/DragonFly
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/p0f ${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/README ${PREFIX}/share/doc/p0f/p0f.README
|
||||
${INSTALL_DATA} ${WRKSRC}/p0frep ${PREFIX}/share/doc/p0f/p0frep
|
||||
${INSTALL_DATA} ${WRKSRC}/p0f.fp ${PREFIX}/share/examples/p0f
|
||||
${INSTALL_DATA} ${WRKSRC}/p0fa.fp ${PREFIX}/share/examples/p0f
|
||||
${INSTALL_DATA} ${WRKSRC}/p0fr.fp ${PREFIX}/share/examples/p0f
|
||||
${INSTALL_MAN} ${WRKSRC}/p0f.1 ${PREFIX}/${PKGMANDIR}/man1
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/p0f ${DESTDIR}${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/README ${DESTDIR}${PREFIX}/share/doc/p0f/p0f.README
|
||||
${INSTALL_DATA} ${WRKSRC}/p0frep ${DESTDIR}${PREFIX}/share/doc/p0f/p0frep
|
||||
${INSTALL_DATA} ${WRKSRC}/p0f.fp ${DESTDIR}${PREFIX}/share/examples/p0f
|
||||
${INSTALL_DATA} ${WRKSRC}/p0fa.fp ${DESTDIR}${PREFIX}/share/examples/p0f
|
||||
${INSTALL_DATA} ${WRKSRC}/p0fr.fp ${DESTDIR}${PREFIX}/share/examples/p0f
|
||||
${INSTALL_MAN} ${WRKSRC}/p0f.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
||||
|
||||
.include "../../net/libpcap/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.19 2008/05/26 02:13:23 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.20 2010/01/27 21:32:58 joerg Exp $
|
||||
#
|
||||
|
||||
DISTNAME= rc5-mlg-004
|
||||
|
@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
|
|||
HOMEPAGE= http://www.distributed.net/rc5/
|
||||
COMMENT= Binaries for taking part in the rc5des challenge
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
EMUL_PLATFORMS= netbsd-alpha netbsd-arm netbsd-i386
|
||||
EMUL_MODULES.netbsd= base
|
||||
|
||||
|
@ -42,8 +44,9 @@ do-build:
|
|||
#do-build:
|
||||
# cd ${WRKSRC}; ${RM} -f master.ini.orig master.ini.in rc5.sh.orig
|
||||
|
||||
INSTALLATION_DIRS+= RC5
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/RC5
|
||||
cd ${WRKSRC} && pax -rw . ${PREFIX}/RC5
|
||||
cd ${WRKSRC} && pax -rw . ${DESTDIR}${PREFIX}/RC5
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.12 2009/06/30 00:07:22 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.13 2010/01/27 21:34:09 joerg Exp $
|
||||
#
|
||||
|
||||
DISTNAME= rid-1.11
|
||||
|
@ -11,13 +11,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org
|
|||
HOMEPAGE= http://www.theorygroup.com/Software/RID/
|
||||
COMMENT= Remote Intrusion Detection to track down compromised hosts
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
MAKE_JOBS_SAFE= no
|
||||
|
||||
GNU_CONFIGURE= YES
|
||||
|
||||
CONF_FILES= ${PREFIX}/share/examples/rid/rid.conf ${PKG_SYSCONFDIR}/rid.conf
|
||||
|
||||
INSTALLATION_DIRS= sbin
|
||||
INSTALLATION_DIRS= sbin share/doc/rid share/examples/rid
|
||||
|
||||
post-configure:
|
||||
@echo "#undef DEFAULT_YYIN" >> ${WRKSRC}/netconfig.h
|
||||
|
@ -25,13 +27,11 @@ post-configure:
|
|||
${WRKSRC}/netconfig.h
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/rid ${PREFIX}/sbin
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rid
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/rid ${DESTDIR}${PREFIX}/sbin
|
||||
${INSTALL_DATA} ${WRKSRC}/BUGS ${WRKSRC}/CHANGES \
|
||||
${WRKSRC}/COPYRIGHT ${WRKSRC}/CREDITS ${WRKSRC}/README \
|
||||
${PREFIX}/share/doc/rid
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/rid
|
||||
${INSTALL_DATA} ${WRKSRC}/rid.conf ${PREFIX}/share/examples/rid
|
||||
${DESTDIR}${PREFIX}/share/doc/rid
|
||||
${INSTALL_DATA} ${WRKSRC}/rid.conf ${DESTDIR}${PREFIX}/share/examples/rid
|
||||
|
||||
.include "../../net/libpcap/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
Loading…
Reference in a new issue