aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/verlihub-plugins
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2004-10-14 09:43:49 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2004-10-14 09:43:49 +0000
commitae85cc6f4bb5d2d34252704443a14df96aa5e4a0 (patch)
treef9cb12306baf420e9ec8afeed86684082b1f3454 /net-p2p/verlihub-plugins
parent904a410e2f91d64c4a99efd49e8f110861e5716a (diff)
downloadports-ae85cc6f4bb5d2d34252704443a14df96aa5e4a0.tar.gz
ports-ae85cc6f4bb5d2d34252704443a14df96aa5e4a0.zip
Notes
Diffstat (limited to 'net-p2p/verlihub-plugins')
-rw-r--r--net-p2p/verlihub-plugins/Makefile65
-rw-r--r--net-p2p/verlihub-plugins/distinfo2
-rw-r--r--net-p2p/verlihub-plugins/pkg-descr1
-rw-r--r--net-p2p/verlihub-plugins/pkg-message0
-rw-r--r--net-p2p/verlihub-plugins/pkg-plist57
5 files changed, 125 insertions, 0 deletions
diff --git a/net-p2p/verlihub-plugins/Makefile b/net-p2p/verlihub-plugins/Makefile
new file mode 100644
index 000000000000..d97da078109b
--- /dev/null
+++ b/net-p2p/verlihub-plugins/Makefile
@@ -0,0 +1,65 @@
+# New ports collection makefile for: verlihub-plugins
+# Date created: 26 August 2004
+# Whom: Hurbold
+#
+# $FreeBSD$
+#
+
+PORTNAME= verlihub-plugins
+PORTVERSION= 0.1
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= verlihub
+DISTNAME= vh_plugins-0.1
+
+MAINTAINER= hurbold@yahoo.com
+COMMENT= Plugins for the Verlihub Linux/Unix Direct Connect Hub Software
+
+BUILD_DEPENDS= ${LOCALBASE}/bin/verlihub:${PORTSDIR}/net/verlihub
+LIB_DEPENDS= lua.5:${PORTSDIR}/lang/lua
+
+WRKSRC= ${WRKDIR}/vh_plugins-0.1
+
+USE_GMAKE= yes
+USE_INC_LIBTOOL_VER= 15
+INSTALLS_SHLIB= yes
+LDCONFIG_DIRS= %%PREFIX%%/include/verlihub
+CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/verlihub -I${LOCALBASE}/include/mysql"
+
+DATADIR= ${PREFIX}/share/${PORTNAME}
+
+post-patch:
+ @${CAT} ${PKGDIR}/pkg-message | ${SED} 's|%%PREFIX%%|${PREFIX}|' > ${PKGMESSAGE}
+
+post-install:
+ @${MKDIR} ${DATADIR}
+ @${MKDIR} ${DATADIR}/extra
+ ${INSTALL_DATA} ${WRKSRC}/basic/chatroom/.libs/libchatroom_pi.so ${DATADIR}/libchatroom_pi.so
+ ${INSTALL_DATA} ${WRKSRC}/basic/floodprot/.libs/libfloodprot.so ${DATADIR}/libfloodprot_pi.so
+ ${INSTALL_DATA} ${WRKSRC}/basic/forbid/.libs/libforbid_pi.so ${DATADIR}/libforbid_pi.so
+ ${INSTALL_DATA} ${WRKSRC}/basic/funny/.libs/libfunny_pi.so ${DATADIR}/libfunny_pi.so
+ ${INSTALL_DATA} ${WRKSRC}/basic/iplog/.libs/libiplog_pi.so ${DATADIR}/libiplog_pi.so
+ ${INSTALL_DATA} ${WRKSRC}/basic/isp/.libs/libisp_pi.so ${DATADIR}/libisp_pi.so
+ ${INSTALL_DATA} ${WRKSRC}/basic/messanger/.libs/libmessanger_pi.so ${DATADIR}/libmessanger_pi.so
+ ${INSTALL_DATA} ${WRKSRC}/basic/replacer/.libs/libreplace_pi.so ${DATADIR}/libreplace_pi.so
+ ${INSTALL_DATA} ${WRKSRC}/basic/stats/.libs/libstats_pi.so ${DATADIR}/libstats_pi.so
+ ${INSTALL_DATA} ${WRKSRC}/extra/lua/src/.libs/liblua_pi.so ${DATADIR}/extra/liblua_pi.so
+ ${INSTALL_DATA} ${WRKSRC}/extra/perl/src/.libs/libperl_pi.so ${DATADIR}/extra/libperl_pi.so
+
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 502010
+USE_GCC= 3.3
+.endif
+
+.if ${OSVERSION} > 502126
+BROKEN= Does not compile with gcc 3.4
+.endif
+
+.if ${PERL_LEVEL} < 500800
+IGNORE= requires perl 5.8 or later. Install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net-p2p/verlihub-plugins/distinfo b/net-p2p/verlihub-plugins/distinfo
new file mode 100644
index 000000000000..1d598473639a
--- /dev/null
+++ b/net-p2p/verlihub-plugins/distinfo
@@ -0,0 +1,2 @@
+MD5 (vh_plugins-0.1.tar.gz) = b6ab98c4d5449783d1d2d63c4437707b
+SIZE (vh_plugins-0.1.tar.gz) = 726046
diff --git a/net-p2p/verlihub-plugins/pkg-descr b/net-p2p/verlihub-plugins/pkg-descr
new file mode 100644
index 000000000000..036d7311dcc8
--- /dev/null
+++ b/net-p2p/verlihub-plugins/pkg-descr
@@ -0,0 +1 @@
+Plugins for Verlihub
diff --git a/net-p2p/verlihub-plugins/pkg-message b/net-p2p/verlihub-plugins/pkg-message
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/net-p2p/verlihub-plugins/pkg-message
diff --git a/net-p2p/verlihub-plugins/pkg-plist b/net-p2p/verlihub-plugins/pkg-plist
new file mode 100644
index 000000000000..3cf26090caf4
--- /dev/null
+++ b/net-p2p/verlihub-plugins/pkg-plist
@@ -0,0 +1,57 @@
+lib/libchatroom_pi.a
+lib/libchatroom_pi.la
+lib/libchatroom_pi.so
+lib/libchatroom_pi.so.0
+lib/libfloodprot.a
+lib/libfloodprot.la
+lib/libfloodprot.so
+lib/libfloodprot.so.0
+lib/libforbid_pi.a
+lib/libforbid_pi.la
+lib/libforbid_pi.so
+lib/libforbid_pi.so.0
+lib/libfunny_pi.a
+lib/libfunny_pi.la
+lib/libfunny_pi.so
+lib/libfunny_pi.so.0
+lib/libiplog_pi.a
+lib/libiplog_pi.la
+lib/libiplog_pi.so
+lib/libiplog_pi.so.0
+lib/libisp_pi.a
+lib/libisp_pi.la
+lib/libisp_pi.so
+lib/libisp_pi.so.0
+lib/liblua_pi.a
+lib/liblua_pi.la
+lib/liblua_pi.so
+lib/liblua_pi.so.0
+lib/libmessanger_pi.a
+lib/libmessanger_pi.la
+lib/libmessanger_pi.so
+lib/libmessanger_pi.so.0
+lib/libperl_pi.a
+lib/libperl_pi.la
+lib/libperl_pi.so
+lib/libperl_pi.so.0
+lib/libreplace_pi.a
+lib/libreplace_pi.la
+lib/libreplace_pi.so
+lib/libreplace_pi.so.0
+lib/libstats_pi.a
+lib/libstats_pi.la
+lib/libstats_pi.so
+lib/libstats_pi.so.0
+%%DATADIR%%/libchatroom_pi.so
+%%DATADIR%%/libfloodprot_pi.so
+%%DATADIR%%/libforbid_pi.so
+%%DATADIR%%/libfunny_pi.so
+%%DATADIR%%/libiplog_pi.so
+%%DATADIR%%/libisp_pi.so
+%%DATADIR%%/libmessanger_pi.so
+%%DATADIR%%/libreplace_pi.so
+%%DATADIR%%/libstats_pi.so
+%%DATADIR%%/extra/liblua_pi.so
+%%DATADIR%%/extra/libperl_pi.so
+@dirrm %%DATADIR%%/extra
+@dirrm %%DATADIR%%