diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-01-07 20:50:20 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-01-07 20:50:20 +0000 |
commit | baedaefc1363429069319dd267ae7cf8daab2ad6 (patch) | |
tree | c532e96c629a3d179d5c6a9afedc5d84033ebf76 /irc | |
parent | 721c5abc42184ea05290452b15d3d2e62b0f44d8 (diff) |
Notes
Diffstat (limited to 'irc')
-rw-r--r-- | irc/anope/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/irc/anope/Makefile b/irc/anope/Makefile index 075b309b6267..a7f220367345 100644 --- a/irc/anope/Makefile +++ b/irc/anope/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: anope -# Date created: 13/04/2004 -# Whom: mat -# +# Created by: mat # $FreeBSD$ -# PORTNAME= anope PORTVERSION= 1.8.7 @@ -28,7 +24,8 @@ PORTDOCS= BUGS COPYING DEFCON EVENTS \ USE_RC_SUBR= anope -OPTIONS= MYSQL "Use mysql" ON +OPTIONS_DEFINE= MYSQL +OPTIONS_DEFAULT= MYSQL .include <bsd.port.pre.mk> @@ -37,7 +34,7 @@ OPTIONS= MYSQL "Use mysql" ON CFLAGS+= -fPIC .endif -.if defined(WITH_MYSQL) +.if ${PORT_OPTIONS:MMYSQL} USE_MYSQL= yes .else CONFIGURE_ARGS+= --without-mysql @@ -48,7 +45,7 @@ pre-install: @${MKDIR} ${DATADIR} post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDCOS} @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/docs/,} ${DOCSDIR}/ .endif |