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/py-gozerbot | |
parent | 98df39ff48ac9f90721aa251cc55ab3be5137dbe (diff) |
Notes
Diffstat (limited to 'irc/py-gozerbot')
-rw-r--r-- | irc/py-gozerbot/Makefile | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/irc/py-gozerbot/Makefile b/irc/py-gozerbot/Makefile index 9ae9d45e6a65..27d5a2277ff0 100644 --- a/irc/py-gozerbot/Makefile +++ b/irc/py-gozerbot/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: py-gozerbot -# Date created: Wed Sep 19 00:04:39 CEST 2007 -# Whom: Sten Spans <sten@blinkenlights.nl> -# +# Created by: Sten Spans <sten@blinkenlights.nl> # $FreeBSD$ -# PORTNAME= gozerbot PORTVERSION= 0.8.1.1 @@ -21,32 +17,33 @@ USE_PYTHON= 2.5+ USE_PYDISTUTILS= yes SUB_FILES= pkg-message -OPTIONS= XMPP "Jabber functions" off \ - MYSQL "Mysql functions" off +OPTIONS_DEFINE= XMPP MYSQL DOCS +XMPP_DESC= Jabber functions +MYSQL_DESC= Mysql functions OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options MAN1= gozerbot.1 RUN_DEPENDS+= ${LOCALBASE}/bin/gpg:${PORTSDIR}/security/gnupg +.include <bsd.port.options.mk> + post-install: @${CAT} ${PKGMESSAGE} -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${CP} -R ${WRKSRC}/doc/ ${DOCSDIR} ${CP} ${WRKSRC}/README ${DOCSDIR} .endif @${INSTALL_MAN} ${WRKSRC}/man/gozerbot.1.FreeBSD ${PREFIX}/man/man1/gozerbot.1 -.include <bsd.port.pre.mk> - -.if defined(WITH_MYSQL) +.if ${PORT_OPTIONS:MMYSQL} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=0:${PORTSDIR}/databases/py-MySQLdb .endif -.if defined(WITH_XMPP) +.if ${PORT_OPTIONS:MXMPP} RUN_DEPENDS+=${PYTHON_SITELIBDIR}/xmpp/__init__.py:${PORTSDIR}/net-im/py-xmpppy .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |