diff options
-rw-r--r-- | sysutils/pfstat/Makefile | 8 | ||||
-rw-r--r-- | sysutils/pftop/Makefile | 8 |
2 files changed, 14 insertions, 2 deletions
diff --git a/sysutils/pfstat/Makefile b/sysutils/pfstat/Makefile index 8eab6f31c4f..f5eef7b1aad 100644 --- a/sysutils/pfstat/Makefile +++ b/sysutils/pfstat/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2005/06/17 03:50:34 jlam Exp $ +# $NetBSD: Makefile,v 1.4 2005/12/07 12:50:53 peter Exp $ DISTNAME= pfstat-1.7 CATEGORIES= sysutils net @@ -12,6 +12,12 @@ NO_CONFIGURE= yes INSTALLATION_DIRS= bin man/man8 +SUBST_CLASSES+= path +SUBST_STAGE.path= post-patch +SUBST_FILES.path= pfstat.c +SUBST_SED.path= -e 's,net/pfvar.h,${H_PFLKM:S/\/usr\/include\///},g' +SUBST_MESSAGE.path= "Fixing include path." + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pfstat ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/pfstat.8 ${PREFIX}/man/man8 diff --git a/sysutils/pftop/Makefile b/sysutils/pftop/Makefile index d6c7c1212b1..91ba313a7f8 100644 --- a/sysutils/pftop/Makefile +++ b/sysutils/pftop/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2005/06/17 03:50:34 jlam Exp $ +# $NetBSD: Makefile,v 1.5 2005/12/07 12:50:30 peter Exp $ DISTNAME= pftop-0.4 CATEGORIES= sysutils net @@ -15,6 +15,12 @@ CFLAGS+= -I${PREFIX}/include INSTALLATION_DIRS= man/man8 sbin +SUBST_CLASSES+= path +SUBST_STAGE.path= post-patch +SUBST_FILES.path= cache.c pftop.c +SUBST_SED.path= -e 's,net/pfvar.h,${H_PFLKM:S/\/usr\/include\///},g' +SUBST_MESSAGE.path= "Fixing include path." + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pftop ${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/pftop.8 ${PREFIX}/man/man8 |