2001-09-07 16:22:36 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: bobot++
|
|
|
|
# Date created: Sep 7, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= bobot++
|
2003-05-02 05:58:31 +02:00
|
|
|
PORTVERSION= 1.99.2
|
2001-09-07 16:22:36 +02:00
|
|
|
CATEGORIES= irc
|
2003-05-02 05:58:31 +02:00
|
|
|
MASTER_SITES= http://savannah.nongnu.org/download/bobotpp/stable.pkg/${PORTVERSION}/
|
|
|
|
DISTNAME= Bobot++-${PORTVERSION}
|
2001-09-07 16:22:36 +02:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:17:25 +01:00
|
|
|
COMMENT= An IRC bot written in C++
|
2001-09-07 16:22:36 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2003-05-02 05:58:31 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2001-09-07 16:22:36 +02:00
|
|
|
|
2003-05-02 05:58:31 +02:00
|
|
|
.if defined(WITHOUT_GUILE)
|
|
|
|
CONFIGURE_ARGS+= --disable-script
|
|
|
|
.else
|
2001-09-07 16:22:36 +02:00
|
|
|
LIB_DEPENDS+= guile:${PORTSDIR}/lang/guile
|
|
|
|
CONFIGURE_ARGS+= --enable-script
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_TELNET)
|
|
|
|
CONFIGURE_ARGS+= --enable-telnetserver
|
2003-05-02 05:58:31 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-telnetserver
|
2001-09-07 16:22:36 +02:00
|
|
|
.endif
|
|
|
|
|
2003-05-02 05:58:31 +02:00
|
|
|
post-extract:
|
|
|
|
@${FIND} ${WRKSRC}/scripts -name "*~" -delete
|
2001-09-07 16:22:36 +02:00
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${CP} ${WRKSRC}/doc/* ${DOCSDIR}
|
2003-05-02 05:58:31 +02:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR}
|
2001-09-07 16:22:36 +02:00
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
${CP} -R ${WRKSRC}/scripts ${DATADIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|