diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-03-26 12:36:21 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-03-26 12:36:21 +0000 |
commit | 08a50c018bc5af572a094380ab4c1a3e0e6ccbec (patch) | |
tree | e0e0664324e7f7d33cd3e941bb2dc8f13d23ad67 /irc/epic5/Makefile | |
parent | 98df39ff48ac9f90721aa251cc55ab3be5137dbe (diff) |
Notes
Diffstat (limited to 'irc/epic5/Makefile')
-rw-r--r-- | irc/epic5/Makefile | 41 |
1 files changed, 13 insertions, 28 deletions
diff --git a/irc/epic5/Makefile b/irc/epic5/Makefile index 24b4c0367f44..b4fa28ce8820 100644 --- a/irc/epic5/Makefile +++ b/irc/epic5/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: epic5 -# Date created: 24 February 2005 -# Whom: Josh Paetzel <josh@tcbug.org> -# +# Created by: Josh Paetzel <josh@tcbug.org> # $FreeBSD$ -# PORTNAME= epic5 PORTVERSION= 1.1.5 @@ -29,52 +25,41 @@ USE_BZIP2= yes WANT_PERL= yes CFLAGS:= ${CFLAGS:C/-O2/-g -O/g} -OPTIONS= IPV6 "IPv6 support" on \ - TCL "TCL support" on \ - PERL "Perl scripting support" on \ - RUBY "Ruby scripting support" on \ - TERMCAP "Refuse to use terminfo/ncurses" off +OPTIONS_DEFINE= IPV6 TCL PERL SSL TERMCAP DOCS RUBY +OPTIONS_DEFAULT= TCL PERL SSL RUBY +TERMCAP_DESC= Refuse to use terminfo/ncurses -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -## WITHOUT_IPV6: disable IPv6 support -# -.if defined(WITHOUT_IPV6) +.if ! ${PORT_OPTIONS:MIPV6} CONFIGURE_ARGS+= --without-ipv6 .endif -## WITHOUT_TCL: disable Tcl support -# -.if !defined(WITHOUT_TCL) +.if ${PORT_OPTIONS:MTCL} LIB_DEPENDS+= tcl84:${PORTSDIR}/lang/tcl84 CONFIGURE_ARGS+= --with-tcl .else CONFIGURE_ARGS+= --without-tcl .endif -## WITH_PERL: enable perl5 support (requires perl 5.6.1 or newer) +# enable perl5 support (requires perl 5.6.1 or newer) # -.if defined(WITH_PERL) +.if ${PORT_OPTIONS:MPERL} USE_PERL5= yes CONFIGURE_ARGS+= --with-perl .else CONFIGURE_ARGS+= --without-perl .endif -## WITH_RUBY: enable ruby scripting support -# -.if defined(WITH_RUBY) +.if ${PORT_OPTIONS:MRUBY} USE_RUBY= yes -.include "${PORTSDIR}/Mk/bsd.ruby.mk" CONFIGURE_ARGS+= --with-ruby LDFLAGS+= ${PTHREAD_LIBS} .else CONFIGURE_ARGS+= --without-ruby .endif -## WITH_TERMCAP forecably refuse to use terminfo/ncurses -# -.if defined(WITH_TERMCAP) +.if ${PORT_OPTIONS:MTERMCAP} CONFIGURE_ARGS+= --with-termcap .endif @@ -85,7 +70,7 @@ post-extract: @${FIND} ${WRKDIR} -type d -name CVS | ${XARGS} ${RM} -rf post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} .for i in BUG_FORM COPYRIGHT KNOWNBUGS README UPDATES VOTES ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} @@ -93,4 +78,4 @@ post-install: @${CAT} ${PKGMESSAGE} .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |