This is a "meta-port" to install the plugins for verlihub.
WWW: http://www.verlihub-project.org/ PR: ports/112393 Submitted by: Mikle Davidkin <skylord at vt.net.ru>
This commit is contained in:
parent
7b04ba671a
commit
d66ff1b317
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=194983
4 changed files with 68 additions and 0 deletions
|
@ -126,6 +126,7 @@
|
|||
SUBDIR += tvrss
|
||||
SUBDIR += valknut
|
||||
SUBDIR += verlihub
|
||||
SUBDIR += verlihub-plugins
|
||||
SUBDIR += verlihub-plugins-floodprotect
|
||||
SUBDIR += verlihub-plugins-forbid
|
||||
SUBDIR += verlihub-plugins-iplog
|
||||
|
|
32
net-p2p/verlihub-plugins/Makefile
Normal file
32
net-p2p/verlihub-plugins/Makefile
Normal file
|
@ -0,0 +1,32 @@
|
|||
# New ports collection makefile for: verlihub-plugins
|
||||
# Date created: 3 April 2004
|
||||
# Whom: Skylord
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= verlihub
|
||||
PORTVERSION= 1.0
|
||||
CATEGORIES= net-p2p
|
||||
MASTER_SITES= # empty
|
||||
PKGNAMESUFFIX= -plugins
|
||||
DISTFILES= # empty
|
||||
EXTRACT_ONLY= # empty
|
||||
|
||||
MAINTAINER= skylord@vt.net.ru
|
||||
COMMENT= Meta-port for VerliHub plugins
|
||||
|
||||
RUN_DEPENDS= \
|
||||
${LOCALBASE}/lib/libchatroom_pi.so:${PORTSDIR}/net-p2p/verlihub-plugins-chatroom \
|
||||
${LOCALBASE}/lib/libfloodprot_pi.so:${PORTSDIR}/net-p2p/verlihub-plugins-floodprotect \
|
||||
${LOCALBASE}/lib/libforbid_pi.so:${PORTSDIR}/net-p2p/verlihub-plugins-forbid \
|
||||
${LOCALBASE}/lib/libiplog_pi.so:${PORTSDIR}/net-p2p/verlihub-plugins-iplog \
|
||||
${LOCALBASE}/lib/libisp_pi.so:${PORTSDIR}/net-p2p/verlihub-plugins-isp \
|
||||
${LOCALBASE}/lib/liblua_pi.so:${PORTSDIR}/net-p2p/verlihub-plugins-luascript \
|
||||
${LOCALBASE}/lib/libmessanger_pi.so:${PORTSDIR}/net-p2p/verlihub-plugins-messanger \
|
||||
${LOCALBASE}/lib/libstats_pi.so:${PORTSDIR}/net-p2p/verlihub-plugins-stats
|
||||
|
||||
NO_BUILD= yes
|
||||
NO_INSTALL= yes
|
||||
|
||||
.include <bsd.port.mk>
|
32
net-p2p/verlihub-plugins/Makefile.plugins
Normal file
32
net-p2p/verlihub-plugins/Makefile.plugins
Normal file
|
@ -0,0 +1,32 @@
|
|||
# $FreeBSD$
|
||||
|
||||
# common bits for verlihub plugins
|
||||
|
||||
# this controls DISTNAME
|
||||
PLUGIN_NAME?= ${PORTNAME}
|
||||
|
||||
PKGNAMEPREFIX= verlihub-plugins-
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= verlihub
|
||||
DISTNAME= ${PLUGIN_NAME}
|
||||
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/verlihub:${PORTSDIR}/net-p2p/verlihub
|
||||
RUN_DEPENDS+= ${LOCALBASE}/bin/verlihub:${PORTSDIR}/net-p2p/verlihub
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
PLIST_FILES+= lib/lib${PLUGIN_NAME}_pi.a \
|
||||
lib/lib${PLUGIN_NAME}_pi.la \
|
||||
lib/lib${PLUGIN_NAME}_pi.so \
|
||||
lib/lib${PLUGIN_NAME}_pi.so.0 \
|
||||
etc/verlihub/plugins/lib${PLUGIN_NAME}_pi.so
|
||||
|
||||
post-install::
|
||||
@${MKDIR} ${PREFIX}/etc/verlihub/plugins
|
||||
@${LN} -sf ${PREFIX}/lib/lib${PLUGIN_NAME}_pi.so \
|
||||
${PREFIX}/etc/verlihub/plugins/lib${PLUGIN_NAME}_pi.so
|
||||
@if [ -f ${PKGMESSAGE} ]; then \
|
||||
${CAT} ${PKGMESSAGE}; \
|
||||
fi
|
||||
@${ECHO_CMD} '@unexec rmdir %D/etc/verlihub/plugins 2>/dev/null || true' >> ${TMPPLIST}
|
||||
@${ECHO_CMD} '@unexec rmdir %D/etc/verlihub 2>/dev/null || true' >> ${TMPPLIST}
|
3
net-p2p/verlihub-plugins/pkg-descr
Normal file
3
net-p2p/verlihub-plugins/pkg-descr
Normal file
|
@ -0,0 +1,3 @@
|
|||
This is a "meta-port" to install the plugins for verlihub.
|
||||
|
||||
WWW: http://www.verlihub-project.org/
|
Loading…
Reference in a new issue