1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/irc/rbot/Makefile
Emanuel Haupt 5005b67362 According to the Porter's Handbook (5.12.2.3.) default options must be added to
OPTIONS_DEFINE. This policy has been implemented only recently that's why we
have many ports violating this policy.

This patch adds the default options specified in the Porter's Handbook to
OPTIONS_DEFINE where they are being used. Ports maintained by
gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded.

Approved by:    portmgr (bapt)
2014-02-10 13:54:26 +00:00

40 lines
868 B
Makefile

# Created by: David Bushong <david+ports@bushong.net>
# $FreeBSD$
PORTNAME= rbot
PORTVERSION= 0.9.15
PORTREVISION= 2
CATEGORIES= irc ruby
MASTER_SITES= http://ruby-rbot.org/download/
EXTRACT_SUFX= .tgz
MAINTAINER= bdrewery@FreeBSD.org
COMMENT= Ruby IRC bot similar to infobot
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb \
rubygem-gettext>=1.93.0:${PORTSDIR}/devel/rubygem-gettext
USE_RUBY= yes
USE_RUBY_SETUP= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
PORTDOCS= REQUIREMENTS ChangeLog
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
pre-install:
${RM} ${WRKSRC}/bin/svnwatch-postcommit-hook
post-install:
.if ${PORT_OPTIONS:MDOCS}
${INSTALL} -d ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>