aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/verlihub/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-05-06 18:17:40 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-05-06 18:17:40 +0000
commit4966457c3ebd86970b6e9ee423d18bc8761d863d (patch)
treeaf917537bd8cb77046e55e6e964f5664c06168ec /net-p2p/verlihub/Makefile
parent13bced31c5c932b2ab6f321fe369324b8fd44aa2 (diff)
downloadports-4966457c3ebd86970b6e9ee423d18bc8761d863d.tar.gz
ports-4966457c3ebd86970b6e9ee423d18bc8761d863d.zip
Notes
Diffstat (limited to 'net-p2p/verlihub/Makefile')
-rw-r--r--net-p2p/verlihub/Makefile56
1 files changed, 56 insertions, 0 deletions
diff --git a/net-p2p/verlihub/Makefile b/net-p2p/verlihub/Makefile
new file mode 100644
index 000000000000..f7cb1769c71f
--- /dev/null
+++ b/net-p2p/verlihub/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for: verlihub
+# Date created: 2 April 2004
+# Whom: Hurbold
+#
+# $FreeBSD$
+#
+
+PORTNAME= verlihub
+PORTVERSION= 0.9.7r5
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= verlihub
+DISTNAME= verlihub-0.9.7-RC5
+
+MAINTAINER= hurbold@yahoo.com
+COMMENT= Verlihub Linux/Unix Direct Connect Hub Software
+
+LIB_DEPENDS= GeoIP.3:${PORTSDIR}/net/GeoIP \
+ pcre.0:${PORTSDIR}/devel/pcre
+RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2
+
+USE_MYSQL= yes
+USE_PERL5= yes
+USE_GMAKE= yes
+USE_LIBTOOL_VER= 15
+INSTALLS_SHLIB= yes
+CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include"
+
+PKGMESSAGE= ${WRKDIR}/pkg-message
+PORTDOCS= configuring.txt help.sql using.txt features.html help.html params.php verlihub.html
+
+post-patch:
+ @${CAT} ${PKGDIR}/pkg-message | ${SED} 's|%%PREFIX%%|${PREFIX}|' > ${PKGMESSAGE}
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for i in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/docs/${i} ${DOCSDIR}
+.endfor
+ ${INSTALL_SCRIPT} ${WRKSRC}/verlihub_config ${LOCALBASE}/bin
+ ${MKDIR} ${EXAMPLESDIR}/scripts
+ ${INSTALL_SCRIPT} ${WRKSRC}/scripts/trigger ${EXAMPLESDIR}/scripts
+ ${INSTALL_SCRIPT} ${WRKSRC}/scripts/install ${EXAMPLESDIR}/scripts
+ ${INSTALL_SCRIPT} ${WRKSRC}/scripts/regnick ${EXAMPLESDIR}/scripts
+ ${INSTALL_SCRIPT} ${WRKSRC}/scripts/runhub ${EXAMPLESDIR}/scripts
+.endif
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 502010
+USE_GCC= 3.3
+.endif
+
+.include <bsd.port.post.mk>