mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
- Add new mirror
- Convert to new options framework - Remove use of bsd.port.pre.mk Feature safe: yes
This commit is contained in:
parent
98ff1f74fb
commit
2d3cdaf3e6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=305685
@ -4,8 +4,10 @@ PORTNAME= sirc
|
|||||||
PORTVERSION= 2.211
|
PORTVERSION= 2.211
|
||||||
PORTREVISION= 1
|
PORTREVISION= 1
|
||||||
CATEGORIES= irc ipv6
|
CATEGORIES= irc ipv6
|
||||||
#MASTER_SITES= http://www.iagora.com/~espel/sirc/ \
|
MASTER_SITES= LOCAL/bdrewery/${PORTNAME} \
|
||||||
# http://www.iagora.com/~espel/sirc/scripts/:s \
|
LOCAL/bdrewery/${PORTNAME}/scripts:s \
|
||||||
|
http://www.iagora.com/~espel/sirc/ \
|
||||||
|
http://www.iagora.com/~espel/sirc/scripts/:s \
|
||||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
||||||
DIST_SUBDIR= sirc
|
DIST_SUBDIR= sirc
|
||||||
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
||||||
@ -15,9 +17,11 @@ COMMENT= Small (150k), fast, perl-based IRC client
|
|||||||
|
|
||||||
USE_PERL5= yes
|
USE_PERL5= yes
|
||||||
|
|
||||||
OPTIONS= IPV6 "Support for IPv6 transport" on \
|
OPTIONS_DEFINE= IPV6 SIRC_SCRIPTS SOCKS
|
||||||
SIRC_SCRIPTS "Additional scripts for the client" on \
|
OPTIONS_DEFAULT=IPV6 SIRC_SCRIPTS
|
||||||
SOCKS "Support for IRC'ing through a SOCKS proxy" off
|
IPV6_DESC= Support for IPv6 transport
|
||||||
|
SIRC_SCRIPTS_DESC= Additional scripts for the clien
|
||||||
|
SOCKS_DESC= Support for IRCing through a SOCKS proxy
|
||||||
|
|
||||||
SUB_FILES= sirc
|
SUB_FILES= sirc
|
||||||
|
|
||||||
@ -25,16 +29,16 @@ MAN1= ssfe.1 sirc.1
|
|||||||
|
|
||||||
PORTDOCS= ChangeLog PROGRAMMING README
|
PORTDOCS= ChangeLog PROGRAMMING README
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if !defined(WITHOUT_IPV6)
|
.if ${PORT_OPTIONS:MIPV6}
|
||||||
RUN_DEPENDS= p5-IO-Socket-INET6>0:${PORTSDIR}/net/p5-IO-Socket-INET6
|
RUN_DEPENDS= p5-IO-Socket-INET6>0:${PORTSDIR}/net/p5-IO-Socket-INET6
|
||||||
EXTRA_PATCHES= ${PATCHDIR}/dsirc-ipv6
|
EXTRA_PATCHES= ${PATCHDIR}/dsirc-ipv6
|
||||||
.else
|
.else
|
||||||
EXTRA_PATCHES= ${PATCHDIR}/dsirc-minimal
|
EXTRA_PATCHES= ${PATCHDIR}/dsirc-minimal
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(WITHOUT_SIRC_SCRIPTS)
|
.if ${PORT_OPTIONS:MSIRC_SCRIPTS}
|
||||||
DISTFILES+= adcc.pl:s akickban.pl:s avoice.pl:s country.pl:s finger.pl:s \
|
DISTFILES+= adcc.pl:s akickban.pl:s avoice.pl:s country.pl:s finger.pl:s \
|
||||||
ftp.pl:s howl.pl:s lastlog.pl:s nocolor.pl:s patattack.pl:s \
|
ftp.pl:s howl.pl:s lastlog.pl:s nocolor.pl:s patattack.pl:s \
|
||||||
prefix.pl:s quiet.pl:s quit.pl:s thx.pl:s www.pl:s yiff.pl:s
|
prefix.pl:s quiet.pl:s quit.pl:s thx.pl:s www.pl:s yiff.pl:s
|
||||||
@ -43,7 +47,7 @@ PLIST_SUB+= SCRIPTS=""
|
|||||||
PLIST_SUB+= SCRIPTS="@comment "
|
PLIST_SUB+= SCRIPTS="@comment "
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_SOCKS)
|
.if ${PORT_OPTIONS:MSOCKS}
|
||||||
PKGMESSAGE= ${FILESDIR}/pkg-message-socks
|
PKGMESSAGE= ${FILESDIR}/pkg-message-socks
|
||||||
PLIST_SUB+= SOCKS=""
|
PLIST_SUB+= SOCKS=""
|
||||||
.else
|
.else
|
||||||
@ -69,29 +73,29 @@ do-install:
|
|||||||
${INSTALL_SCRIPT} ${WRKDIR}/sirc ${PREFIX}/bin
|
${INSTALL_SCRIPT} ${WRKDIR}/sirc ${PREFIX}/bin
|
||||||
${INSTALL_MAN} ${WRKSRC}/ssfe.1 ${PREFIX}/man/man1
|
${INSTALL_MAN} ${WRKSRC}/ssfe.1 ${PREFIX}/man/man1
|
||||||
${INSTALL_MAN} ${WRKSRC}/sirc.1 ${PREFIX}/man/man1
|
${INSTALL_MAN} ${WRKSRC}/sirc.1 ${PREFIX}/man/man1
|
||||||
.if !defined(WITHOUT_SIRC_SCRIPTS)
|
.if ${PORT_OPTIONS:MSIRC_SCRIPTS}
|
||||||
.for file in adcc.pl akickban.pl avoice.pl country.pl finger.pl ftp.pl \
|
.for file in adcc.pl akickban.pl avoice.pl country.pl finger.pl ftp.pl \
|
||||||
howl.pl lastlog.pl nocolor.pl patattack.pl prefix.pl quiet.pl \
|
howl.pl lastlog.pl nocolor.pl patattack.pl prefix.pl quiet.pl \
|
||||||
quit.pl thx.pl www.pl yiff.pl
|
quit.pl thx.pl www.pl yiff.pl
|
||||||
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${file} ${SIRCLIBDIR}
|
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${file} ${SIRCLIBDIR}
|
||||||
.endfor
|
.endfor
|
||||||
.endif
|
.endif
|
||||||
.if defined(WITH_SOCKS)
|
.if ${PORT_OPTIONS:MSOCKS}
|
||||||
${INSTALL_DATA} ${WRKSRC}/socks.pl ${SIRCLIBDIR}
|
${INSTALL_DATA} ${WRKSRC}/socks.pl ${SIRCLIBDIR}
|
||||||
.endif
|
.endif
|
||||||
.if !defined(NOPORTDOCS)
|
.if ${PORT_OPTIONS:MDOCS}
|
||||||
${MKDIR} ${DOCSDIR}
|
${MKDIR} ${DOCSDIR}
|
||||||
.for file in ${PORTDOCS}
|
.for file in ${PORTDOCS}
|
||||||
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
||||||
.endfor
|
.endfor
|
||||||
.if defined(WITH_SOCKS)
|
.if ${PORT_OPTIONS:MSOCKS}
|
||||||
${INSTALL_DATA} ${WRKSRC}/README.socks ${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/README.socks ${DOCSDIR}
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if defined(WITH_SOCKS)
|
.if ${PORT_OPTIONS:MSOCKS}
|
||||||
@${CAT} ${PKGMESSAGE}
|
@${CAT} ${PKGMESSAGE}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user