mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
5005b67362
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)
40 lines
868 B
Makefile
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>
|