aboutsummaryrefslogtreecommitdiff
path: root/misc/proxyper/Makefile
diff options
context:
space:
mode:
authorTim Bishop <tdb@FreeBSD.org>2009-01-06 12:50:06 +0000
committerTim Bishop <tdb@FreeBSD.org>2009-01-06 12:50:06 +0000
commitfb2dd14025d070c2e8ed0e4ba3e414362fbace4e (patch)
tree0391bb85d56c1c66cb701cf32e949e41ad2aa1f4 /misc/proxyper/Makefile
parentabe3c78a994f7837d21371fabf09b034d9720569 (diff)
downloadports-fb2dd14025d070c2e8ed0e4ba3e414362fbace4e.tar.gz
ports-fb2dd14025d070c2e8ed0e4ba3e414362fbace4e.zip
- Update to version 343.
Notes
Notes: svn path=/head/; revision=225324
Diffstat (limited to 'misc/proxyper/Makefile')
-rw-r--r--misc/proxyper/Makefile17
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' \