summaryrefslogtreecommitdiff
path: root/www/transproxy
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1998-11-11 05:37:39 +0000
committerSatoshi Asami <asami@FreeBSD.org>1998-11-11 05:37:39 +0000
commitdbc8aa6cc1cb1abadce30cfe133c7a5c2ed2f34b (patch)
treedeebef625a152490a0bbcb7e5602d05a59b1c010 /www/transproxy
parentMake bsd.port.mk includable in two phases. bsd.port.pre.mk defines only (diff)
Use bsd.port.{pre,post}.mk. Either use them to avoid having to define
something already there (PORTOBJFORMAT, OSVERSION) or move stuff from after .include <bsd.port.mk> to before. (This is not by any means the complete list but just the ones I've noticed recently.)
Notes
Notes: svn path=/head/; revision=14465
Diffstat (limited to 'www/transproxy')
-rw-r--r--www/transproxy/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/transproxy/Makefile b/www/transproxy/Makefile
index 146859f4adbc..be1ad1953bed 100644
--- a/www/transproxy/Makefile
+++ b/www/transproxy/Makefile
@@ -15,10 +15,11 @@ MAINTAINER= peter@FreeBSD.ORG
ALL_TARGET= tproxy
+.include <bsd.port.pre.mk>
+
# This has only been tested with -current, although it might work if you
# can get the ipfilter package to build on a 2.2.x system. YMMV.
# ftp://cheops.anu.edu.au/pub/net/firewall/ip-filter/
-OSVERSION!= sysctl -n kern.osreldate
.if ${OSVERSION} < 300000
BROKEN= "transproxy requires ipfilter, available in 3.0 or later"
.endif
@@ -26,4 +27,4 @@ BROKEN= "transproxy requires ipfilter, available in 3.0 or later"
do-install:
cd ${WRKSRC}; ${INSTALL_PROGRAM} ${WRKSRC}/tproxy ${PREFIX}/sbin
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>