DESTDIR support
This commit is contained in:
parent
73fdebd839
commit
5f957cbaba
12 changed files with 55 additions and 35 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.9 2007/02/22 19:26:53 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.10 2010/02/11 22:04:14 joerg Exp $
|
||||
#
|
||||
|
||||
DISTNAME= latd-1.18
|
||||
|
@ -9,6 +9,8 @@ MAINTAINER= fredette@theory.lcs.mit.edu
|
|||
HOMEPAGE= http://theory.lcs.mit.edu/~fredette/latd/index.html
|
||||
COMMENT= The linux-decnet project's LAT protocol suite
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
NOT_FOR_PLATFORM= Interix-*-* # no direct ethernet support
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
$NetBSD: distinfo,v 1.5 2007/01/27 10:33:25 wiz Exp $
|
||||
$NetBSD: distinfo,v 1.6 2010/02/11 22:04:14 joerg Exp $
|
||||
|
||||
SHA1 (latd-1.18.tar.gz) = a7cecdb97507f485e726ea4c2fef0a59ad3adbae
|
||||
RMD160 (latd-1.18.tar.gz) = a0be3bd71b76c6a07c47fc2ad863526303d365bf
|
||||
Size (latd-1.18.tar.gz) = 233882 bytes
|
||||
SHA1 (patch-aa) = 70e2a543f471c9a818bfbe138137920d605d5aa9
|
||||
SHA1 (patch-ab) = 8729c74907ac9ea077e9ddf1131cc4af6ecedcc7
|
||||
SHA1 (patch-ac) = adbe7b78bce30b6fbf540a18922ddb073cfccf0c
|
||||
SHA1 (patch-ac) = c078151ba47ef878937e9cf818a3d0ad6dd3be7b
|
||||
SHA1 (patch-ad) = f606a87bf3dff0571db3ededc6889e31f2012397
|
||||
SHA1 (patch-ae) = 931842733d2166c0fd29b5f0d0772c44f1d79fd3
|
||||
SHA1 (patch-af) = 3b2f723ec163d925dee42b7d6597f8219ebe22df
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: patch-ac,v 1.1 2003/10/21 20:55:42 xtraeme Exp $
|
||||
$NetBSD: patch-ac,v 1.2 2010/02/11 22:04:14 joerg Exp $
|
||||
|
||||
--- Makefile.in.orig 2003-10-20 19:18:37.000000000 +0200
|
||||
+++ Makefile.in 2003-10-20 19:20:20.000000000 +0200
|
||||
|
@ -7,14 +7,14 @@ $NetBSD: patch-ac,v 1.1 2003/10/21 20:55:42 xtraeme Exp $
|
|||
install-sysconfDATA: $(sysconf_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
- $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
|
||||
+ $(mkinstalldirs) $(PREFIX)/share/examples/latd
|
||||
+ $(mkinstalldirs) ${DESTDIR}$(PREFIX)/share/examples/latd
|
||||
@list='$(sysconf_DATA)'; for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
||||
- echo " $(sysconfDATA_INSTALL) $$d$$p $(DESTDIR)$(sysconfdir)/$$f"; \
|
||||
- $(sysconfDATA_INSTALL) $$d$$p $(DESTDIR)$(sysconfdir)/$$f; \
|
||||
+ echo " $(sysconfDATA_INSTALL) $$d$$p $(PREFIX)/share/examples/latd/$$f"; \
|
||||
+ $(sysconfDATA_INSTALL) $$d$$p $(PREFIX)/share/examples/latd/$$f; \
|
||||
+ $(sysconfDATA_INSTALL) $$d$$p ${DESTDIR}$(PREFIX)/share/examples/latd/$$f; \
|
||||
done
|
||||
|
||||
uninstall-sysconfDATA:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.6 2006/10/04 21:53:17 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.7 2010/02/11 22:04:09 joerg Exp $
|
||||
#
|
||||
|
||||
DISTNAME= lft-2.2
|
||||
|
@ -9,8 +9,16 @@ MAINTAINER= pkgsrc-users@NetBSD.org
|
|||
HOMEPAGE= http://www.mainnerve.com/lft/
|
||||
COMMENT= Layer four traceroute capable of tracing protocol paths
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
USE_PKGLOCALEDIR= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man8
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/lft ${DESTDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/lft.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
|
||||
|
||||
.include "../../net/libpcap/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.2 2009/07/17 18:00:22 adrianp Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2010/02/11 22:06:14 joerg Exp $
|
||||
#
|
||||
|
||||
DISTNAME= libnipper-0.12.1
|
||||
|
@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
|
|||
HOMEPAGE= http://nipper.sourceforge.net/
|
||||
COMMENT= Performs security audits of network device configuration
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
USE_LANGUAGES= c++
|
||||
USE_CMAKE= yes
|
||||
|
||||
|
@ -24,10 +26,11 @@ SUBST_SED.config+= -e "s|@@PKGMANDIR@@|${PKGMANDIR}|g"
|
|||
SUBST_SED.config+= -e "s|/etc|${PKG_SYSONFDIR}|g"
|
||||
SUBST_MESSAGE.config= Fixing configuration files.
|
||||
|
||||
INSTALLATION_DIRS+= share/examples
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples
|
||||
${INSTALL_DATA} ${WRKSRC}/nipper.conf \
|
||||
${PREFIX}/share/examples/nipper.conf
|
||||
${DESTDIR}${PREFIX}/share/examples/nipper.conf
|
||||
|
||||
.include "../../devel/cmake/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.11 2007/02/22 19:26:55 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.12 2010/02/11 22:05:00 joerg Exp $
|
||||
#
|
||||
|
||||
DISTNAME= llnlxdir2_1_2
|
||||
|
@ -12,13 +12,15 @@ MAINTAINER= tor@stormwall.org
|
|||
HOMEPAGE= http://www.llnl.gov/icc/sdd/img/xdir.html
|
||||
COMMENT= Advanced graphical FTP client
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
USE_IMAKE= yes
|
||||
WRKSRC= ${WRKDIR}/llnlxdir2_1_2/sources
|
||||
INSTALLATION_DIRS= bin lib/X11/app-defaults
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/xdir ${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/XDir.ad ${PREFIX}/lib/X11/app-defaults/XDir
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/xdir ${DESTDIR}${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/XDir.ad ${DESTDIR}${PREFIX}/lib/X11/app-defaults/XDir
|
||||
|
||||
.include "../../x11/libXpm/buildlink3.mk"
|
||||
.include "../../mk/motif.buildlink3.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.10 2007/02/22 19:26:55 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.11 2010/02/11 22:05:43 joerg Exp $
|
||||
#
|
||||
|
||||
DISTNAME= llnlxftp2.1
|
||||
|
@ -12,13 +12,15 @@ MAINTAINER= tor@stormwall.org
|
|||
HOMEPAGE= http://www.llnl.gov/icc/sdd/img/xftp.html
|
||||
COMMENT= Motif FTP client
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
USE_IMAKE= yes
|
||||
WRKSRC= ${WRKDIR}/llnlxftp2.1/sources
|
||||
INSTALLATION_DIRS= bin lib/X11/app-defaults
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/xftp ${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/XFtp.ad ${PREFIX}/lib/X11/app-defaults/XFtp
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/xftp ${DESTDIR}${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/XFtp.ad ${DESTDIR}${PREFIX}/lib/X11/app-defaults/XFtp
|
||||
|
||||
.include "../../x11/libXpm/buildlink3.mk"
|
||||
.include "../../mk/motif.buildlink3.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.4 2009/06/30 00:07:21 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2010/02/11 22:07:18 joerg Exp $
|
||||
|
||||
DISTNAME= mcast-tools-20061214
|
||||
PKGREVISION= 1
|
||||
|
@ -8,18 +8,18 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mcast-tools/}
|
|||
MAINTAINER= is@NetBSD.org
|
||||
COMMENT= IPv6 multicast routing daemons and tools
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
MAKE_JOBS_SAFE= no
|
||||
|
||||
CONFLICTS= pim6sd-[0-9]* pim6dd-[0-9]*
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
INSTALLATION_DIRS= share/examples
|
||||
INSTALLATION_DIRS= share/examples/mcast-tools
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mcast-tools
|
||||
${INSTALL_DATA} ${WRKSRC}/pim6sd/pim6sd.conf.sample ${PREFIX}/share/examples/mcast-tools
|
||||
${INSTALL_DATA} ${FILESDIR}/pim6dd.conf.sample ${PREFIX}/share/examples/mcast-tools
|
||||
${INSTALL_DATA} ${WRKSRC}/mfc/mfc.conf.sample ${PREFIX}/share/examples/mcast-tools
|
||||
${INSTALL_DATA} ${WRKSRC}/pim6sd/pim6sd.conf.sample ${DESTDIR}${PREFIX}/share/examples/mcast-tools
|
||||
${INSTALL_DATA} ${FILESDIR}/pim6dd.conf.sample ${DESTDIR}${PREFIX}/share/examples/mcast-tools
|
||||
${INSTALL_DATA} ${WRKSRC}/mfc/mfc.conf.sample ${DESTDIR}${PREFIX}/share/examples/mcast-tools
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.32 2007/03/01 19:33:39 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.33 2010/02/11 22:08:58 joerg Exp $
|
||||
|
||||
DISTNAME= mirror-2.9
|
||||
PKGREVISION= 2
|
||||
|
@ -9,10 +9,11 @@ MAINTAINER= pkgsrc-users@NetBSD.org
|
|||
HOMEPAGE= http://www.sunsite.org.uk/packages/mirror/
|
||||
COMMENT= Mirror packages on remote sites
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
WRKSRC= ${WRKDIR}
|
||||
MAKE_FILE= makefile
|
||||
MAKE_FLAGS+= GRP=${BINGRP}
|
||||
MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}/man1
|
||||
|
||||
USE_TOOLS+= perl:run
|
||||
REPLACE_PERL= do_unlinks.pl mirror.pl mm.pl pkgs_to_mmin.pl
|
||||
|
@ -26,7 +27,6 @@ SUBST_FILES.prefix= mirror.pl mm.pl
|
|||
SUBST_MESSAGE.prefix= Fixing hardcoded installation prefix.
|
||||
SUBST_STAGE.prefix= pre-configure
|
||||
|
||||
pre-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/lib/mirror
|
||||
INSTALLATION_DIRS+= bin lib/mirror ${PKGMANDIR}/man1
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
$NetBSD: distinfo,v 1.4 2005/02/24 12:13:52 agc Exp $
|
||||
$NetBSD: distinfo,v 1.5 2010/02/11 22:08:58 joerg Exp $
|
||||
|
||||
SHA1 (mirror-2.9.tar.gz) = 7a4f7a395cfff06be04a449a050b32e2c055e6c4
|
||||
RMD160 (mirror-2.9.tar.gz) = 2896ba289e182a8be09c50b7d1de8510d9caf188
|
||||
Size (mirror-2.9.tar.gz) = 123194 bytes
|
||||
SHA1 (patch-aa) = 5b88f78a7bfa3b4e9f0905efcac2e813ac0eeae2
|
||||
SHA1 (patch-aa) = 04ba59e036a946eeff5c1a8cea08465c21a92dd8
|
||||
SHA1 (patch-ab) = 09045d218a86890f95e381f355fa61c3dfc34ef0
|
||||
SHA1 (patch-ac) = 5dd115284903102cf1f83de57d2aacdf9addf2f7
|
||||
SHA1 (patch-ad) = 24b9dd4124756d2c058309e306da0ca022719ac6
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: patch-aa,v 1.6 2004/01/27 14:06:46 grant Exp $
|
||||
$NetBSD: patch-aa,v 1.7 2010/02/11 22:08:58 joerg Exp $
|
||||
|
||||
--- makefile.orig 1998-06-02 04:28:47.000000000 +1000
|
||||
+++ makefile
|
||||
|
@ -19,13 +19,13 @@ $NetBSD: patch-aa,v 1.6 2004/01/27 14:06:46 grant Exp $
|
|||
+GRP = bin
|
||||
# directory to install .pl (perl library) files
|
||||
-PLDIR = /usr/local/perl5/lib/perl5
|
||||
+PLDIR = ${PREFIX}/lib/mirror
|
||||
+PLDIR = ${DESTDIR}${PREFIX}/lib/mirror
|
||||
# directory to install public executables
|
||||
-BINDIR = /usr/local/sbin
|
||||
+BINDIR = ${PREFIX}/bin
|
||||
+BINDIR = ${DESTDIR}${PREFIX}/bin
|
||||
# directory to install man pages
|
||||
-MANDIR = /usr/local/man/man1
|
||||
+MANDIR = ${PREFIX}/man/man1
|
||||
+MANDIR = ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
||||
|
||||
install:
|
||||
- install -m $(PLMODE) -g $(GRP) lchat.pl $(PLDIR)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.2 2009/03/18 13:29:32 jmcneill Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2010/02/11 22:10:59 joerg Exp $
|
||||
|
||||
DISTNAME= mtftpd-20080229
|
||||
CATEGORIES= net
|
||||
|
@ -7,6 +7,8 @@ MASTER_SITES= http://www.invisible.ca/~jmcneill/netbsd/
|
|||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
COMMENT= Open-loop multicast TFTP server
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
WRKSRC= ${WRKDIR}/mtftpd
|
||||
|
||||
USE_BSD_MAKEFILE= yes
|
||||
|
@ -15,8 +17,9 @@ USE_BSD_MAKEFILE= yes
|
|||
|
||||
CFLAGS+= -DPKG_SYSCONFDIR=\"${PKG_SYSCONFDIR}\"
|
||||
|
||||
INSTALLATION_DIRS+= bin share/examples/mtftpd
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mtftpd
|
||||
${INSTALL_DATA} ${WRKSRC}/mtftpd.plist ${PREFIX}/share/examples/mtftpd
|
||||
${INSTALL_DATA} ${WRKSRC}/mtftpd.plist ${DESTDIR}${PREFIX}/share/examples/mtftpd
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
Loading…
Reference in a new issue