diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-01-06 21:33:21 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-01-06 21:33:21 +0000 |
commit | 71e5bb2abe92b87556f6c55acc3c50962d0b4524 (patch) | |
tree | a23c6b149b807b9b3910875d1c381a87b2d24249 /irc | |
parent | a65b37a7ebee99e398465b168bf2e9cf89085093 (diff) | |
download | ports-71e5bb2abe92b87556f6c55acc3c50962d0b4524.tar.gz ports-71e5bb2abe92b87556f6c55acc3c50962d0b4524.zip |
Notes
Diffstat (limited to 'irc')
-rw-r--r-- | irc/libircclient/Makefile | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/irc/libircclient/Makefile b/irc/libircclient/Makefile index e0e4be5e7f63..b422b0d379ca 100644 --- a/irc/libircclient/Makefile +++ b/irc/libircclient/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: libircclient -# Date created: 2008-11-20 -# Whom: Julien Laffaye <kimelto@gmail.com> -# +# Created by: Julien Laffaye <kimelto@gmail.com> # $FreeBSD$ -# PORTNAME= libircclient PORTVERSION= 1.6 @@ -13,18 +9,20 @@ MASTER_SITES= SF MAINTAINER= jlaffaye@FreeBSD.org COMMENT= An IRC library to create IRC clients -OPTIONS= SSL "Build with SSL Support" on \ - IPV6 "Build with IPv6 Support" on +OPTIONS_DEFINE= OPENSSL IPV6 DOCS EXAMPLES +OPTIONS_DEFAULT= OPENSSL BUILD_WRKSRC= ${WRKSRC}/src GNU_CONFIGURE= yes -.if !defined(WITHOUT_SSL) +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MOPENSSL} CONFIGURE_ARGS+= --enable-openssl USE_OPENSSL= yes .endif -.if !defined(WITHOUT_IPV6) +.if ${PORT_OPTIONS:MIPV6} CONFIGURE_ARGS+= --enable-ipv6 .endif @@ -37,11 +35,11 @@ do-install: @${INSTALL_DATA} ${WRKSRC}/src/libircclient.a ${PREFIX}/lib post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${ECHO_MSG} "installing additional documentation to ${DOCSDIR}" @(cd ${WRKSRC}/doc/html/ && ${COPYTREE_SHARE} \* ${DOCSDIR}) .endif -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} @${ECHO_MSG} "installing additional examples to ${EXAMPLESDIR}" @(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) .endif |