diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-11-17 21:31:00 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-11-17 21:31:00 +0000 |
commit | 8f02b106cd78d0a57a7d72ef816d129ab920d38f (patch) | |
tree | 92e321911fe42c7a0ca409470c17e8fe820ad8a5 /irc/sirc | |
parent | 09fc7a05f5807b2a61f0fab1b6dc04d67d955fb7 (diff) | |
download | ports-8f02b106cd78d0a57a7d72ef816d129ab920d38f.tar.gz ports-8f02b106cd78d0a57a7d72ef816d129ab920d38f.zip |
Notes
Diffstat (limited to 'irc/sirc')
-rw-r--r-- | irc/sirc/Makefile | 27 |
1 files changed, 11 insertions, 16 deletions
diff --git a/irc/sirc/Makefile b/irc/sirc/Makefile index 5baaf0ca5232..256baec1ffae 100644 --- a/irc/sirc/Makefile +++ b/irc/sirc/Makefile @@ -19,10 +19,6 @@ RUN_DEPENDS= p5-Perl4-CoreLibs>=0:${PORTSDIR}/devel/p5-Perl4-CoreLibs USES= perl5 -OPTIONS_DEFINE= DOCS IPV6 SIRC_SCRIPTS SOCKS -OPTIONS_DEFAULT=SIRC_SCRIPTS -OPTIONS_SUB= yes - IPV6_RUN_DEPENDS= p5-IO-Socket-INET6>0:${PORTSDIR}/net/p5-IO-Socket-INET6 IPV6_EXTRA_PATCHES= ${PATCHDIR}/dsirc-ipv6 @@ -35,16 +31,14 @@ PORTDOCS= ChangeLog PROGRAMMING README SIRC_SCRIPTS= adcc.pl akickban.pl avoice.pl country.pl finger.pl ftp.pl \ howl.pl lastlog.pl nocolor.pl patattack.pl prefix.pl quiet.pl \ quit.pl thx.pl www.pl yiff.pl +SIRCLIBDIR= ${STAGEDIR}${PREFIX}/libexec/sirc -.include <bsd.port.options.mk> - -.if ! ${PORT_OPTIONS:MIPV6} -EXTRA_PATCHES= ${PATCHDIR}/dsirc-minimal -.endif +OPTIONS_DEFINE= DOCS IPV6 SIRC_SCRIPTS SOCKS +OPTIONS_DEFAULT=SIRC_SCRIPTS +OPTIONS_SUB= yes -.if ${PORT_OPTIONS:MSOCKS} -PKGMESSAGE= ${FILESDIR}/pkg-message-socks -.endif +IPV6_EXTRA_PATCHES_OFF= ${PATCHDIR}/dsirc-minimal +SOCKS_VARS= PKGMESSAGE=${FILESDIR}/pkg-message-socks pre-patch: @${CP} ${WRKSRC}/dsirc ${WRKSRC}/dsirc.prepatch @@ -55,7 +49,6 @@ pre-patch: do-build: ${CC} ${CFLAGS} ${WRKSRC}/ssfe.c -o ${WRKSRC}/ssfe -ltermcap -SIRCLIBDIR= ${STAGEDIR}${PREFIX}/libexec/sirc do-install: @${MKDIR} ${SIRCLIBDIR} ${INSTALL_DATA} ${WRKSRC}/n0thing.pl ${SIRCLIBDIR} @@ -65,11 +58,13 @@ do-install: ${INSTALL_SCRIPT} ${WRKDIR}/sirc ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/ssfe.1 ${STAGEDIR}${PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/sirc.1 ${STAGEDIR}${PREFIX}/man/man1 -.if ${PORT_OPTIONS:MSIRC_SCRIPTS} + ${INSTALL_DATA} ${WRKSRC}/socks.pl ${SIRCLIBDIR} + +do-install-SIRC_SCRIPTS-on: (cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${SIRC_SCRIPTS} \ ${SIRCLIBDIR}) -.endif - ${INSTALL_DATA} ${WRKSRC}/socks.pl ${SIRCLIBDIR} + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.socks ${STAGEDIR}${DOCSDIR} |