summaryrefslogtreecommitdiff
path: root/net-p2p/verlihub/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/verlihub/Makefile')
-rw-r--r--net-p2p/verlihub/Makefile22
1 files changed, 10 insertions, 12 deletions
diff --git a/net-p2p/verlihub/Makefile b/net-p2p/verlihub/Makefile
index 737be735716b..071d57db9bf6 100644
--- a/net-p2p/verlihub/Makefile
+++ b/net-p2p/verlihub/Makefile
@@ -6,12 +6,12 @@
#
PORTNAME= verlihub
-PORTVERSION= 0.9.8.b
+PORTVERSION= 0.9.8.c
PORTEPOCH= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= verlihub
-DISTNAME= verlihub-0.9.8b
+DISTNAME= verlihub-0.9.8c-RC2
MAINTAINER= hurbold@yahoo.com
COMMENT= Verlihub Linux/Unix Direct Connect Hub Software
@@ -20,6 +20,8 @@ LIB_DEPENDS= GeoIP.4:${PORTSDIR}/net/GeoIP \
pcre.0:${PORTSDIR}/devel/pcre
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2
+WRKSRC= ${WRKDIR}/verlihub-0.9.8c
+
USE_MYSQL= yes
USE_PERL5= yes
USE_GMAKE= yes
@@ -30,6 +32,12 @@ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include"
PKGMESSAGE= ${WRKDIR}/pkg-message
PORTDOCS= configuring.txt help.sql using.txt features.html help.html params.php verlihub.html
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+USE_GCC= 3.4+
+.endif
+
post-patch:
@${CAT} ${PKGDIR}/pkg-message | ${SED} 's|%%PREFIX%%|${PREFIX}|' > ${PKGMESSAGE}
@@ -43,14 +51,4 @@ post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 502010
-USE_GCC= 3.3
-.endif
-
-.if ${OSVERSION} >= 502126
-USE_GCC= 3.3
-.endif
-
.include <bsd.port.post.mk>