diff options
author | asami <asami@FreeBSD.org> | 1998-11-11 13:37:39 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1998-11-11 13:37:39 +0800 |
commit | 559e1bc28bd975c38b561de15be3918ba1f71b5e (patch) | |
tree | cda169bf1e41b7166c2d2febd3d858c1411d0e64 /www/transproxy | |
parent | 7aed28166a84f266be861367fc9a1add43f9219a (diff) | |
download | freebsd-ports-gnome-559e1bc28bd975c38b561de15be3918ba1f71b5e.tar.gz freebsd-ports-gnome-559e1bc28bd975c38b561de15be3918ba1f71b5e.tar.zst freebsd-ports-gnome-559e1bc28bd975c38b561de15be3918ba1f71b5e.zip |
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.)
Diffstat (limited to 'www/transproxy')
-rw-r--r-- | www/transproxy/Makefile | 5 |
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> |