diff options
Diffstat (limited to 'misc/proxyper/Makefile')
-rw-r--r-- | misc/proxyper/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/misc/proxyper/Makefile b/misc/proxyper/Makefile index ff8c411282cd..4570706a7ce5 100644 --- a/misc/proxyper/Makefile +++ b/misc/proxyper/Makefile @@ -6,21 +6,14 @@ # PORTNAME= proxyper -PORTVERSION= 341b -PORTREVISION= 1 +PORTVERSION= 343 CATEGORIES= misc MASTER_SITES= ftp://ftp.distributed.net/pub/dcti/proxyper/ \ http://http.distributed.net/pub/dcti/proxyper/ -DISTNAME= proxyper${PORTVERSION}-freebsd-x86 MAINTAINER= tdb@FreeBSD.org COMMENT= The official distributed.net v2 personal proxy -# There's a "b" suffix on the version, but not the directory -WRKSRC= ${WRKDIR}/proxyper${PORTVERSION:S/b$//}-freebsd-x86 - -.include <bsd.port.pre.mk> - ONLY_FOR_ARCHS= i386 USE_RC_SUBR= yes @@ -35,6 +28,14 @@ SHAREOWN= ${PROXYUSER} SHAREGRP= ${PROXYGROUP} SHAREMODE= 644 +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700055 +DISTNAME= proxyper${PORTVERSION}-freebsd7-x86 +.else +DISTNAME= proxyper${PORTVERSION}-freebsd4-x86 +.endif + post-extract: @${SED} -e 's#%%BINDIR%%#${BINDIR}#'g \ -e 's#%%RC_SUBR%%#${RC_SUBR}#g' \ |