aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/proxyper/Makefile17
-rw-r--r--misc/proxyper/distinfo9
2 files changed, 15 insertions, 11 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' \
diff --git a/misc/proxyper/distinfo b/misc/proxyper/distinfo
index df6851ba4f5b..c4f372036342 100644
--- a/misc/proxyper/distinfo
+++ b/misc/proxyper/distinfo
@@ -1,3 +1,6 @@
-MD5 (proxyper341b-freebsd-x86.tar.gz) = 8491aefedc9cc5e3cc6b49253625a187
-SHA256 (proxyper341b-freebsd-x86.tar.gz) = 9fbb58c18250fd712cf2d99929b386c5255067f763ba2446359b7a507e5b59d6
-SIZE (proxyper341b-freebsd-x86.tar.gz) = 180363
+MD5 (proxyper343-freebsd4-x86.tar.gz) = 3efed355d09d2c15d06d563d8f7f0049
+SHA256 (proxyper343-freebsd4-x86.tar.gz) = 2b0fadb2793eb576c9bd6874fad3dedb199b0217842f226fb160b2e1753020ae
+SIZE (proxyper343-freebsd4-x86.tar.gz) = 193052
+MD5 (proxyper343-freebsd7-x86.tar.gz) = 06616d21d0e61da11100f9043f60ec5d
+SHA256 (proxyper343-freebsd7-x86.tar.gz) = 28364aa28d4e8195814ce0fb59a2264b11b5c7a611c04bfc00fc66e475be018d
+SIZE (proxyper343-freebsd7-x86.tar.gz) = 384991