diff options
author | bapt <bapt@FreeBSD.org> | 2013-01-08 04:50:20 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-01-08 04:50:20 +0800 |
commit | 50554743437f66d65a2f937157963c5690f61803 (patch) | |
tree | c532e96c629a3d179d5c6a9afedc5d84033ebf76 /irc | |
parent | 56b694dfc518532b78f5bdbbe271e46752eb602f (diff) | |
download | freebsd-ports-gnome-50554743437f66d65a2f937157963c5690f61803.tar.gz freebsd-ports-gnome-50554743437f66d65a2f937157963c5690f61803.tar.zst freebsd-ports-gnome-50554743437f66d65a2f937157963c5690f61803.zip |
Convert dhn's ports to the new options framework
While here trim headers and convert some USE_GNOME=pkgconfig to
USE_PKGCONFIG=build
Approved by: maintainer (dhn)
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 |