2001-09-07 14:22:36 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: bobot++
|
|
|
|
# Date created: Sep 7, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2005-07-03 13:33:50 +00:00
|
|
|
PORTNAME= bobotpp
|
|
|
|
PORTVERSION= 2.0.1
|
2001-09-07 14:22:36 +00:00
|
|
|
CATEGORIES= irc
|
2003-10-03 11:04:59 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
2005-07-03 13:33:50 +00:00
|
|
|
MASTER_SITE_SUBDIR= bobotpp
|
2001-09-07 14:22:36 +00:00
|
|
|
|
2004-12-20 21:32:10 +00:00
|
|
|
MAINTAINER= mranner@inode.at
|
2003-02-20 18:17:25 +00:00
|
|
|
COMMENT= An IRC bot written in C++
|
2001-09-07 14:22:36 +00:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2003-05-08 18:35:49 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
2001-09-07 14:22:36 +00:00
|
|
|
|
2003-05-02 03:58:31 +00:00
|
|
|
.if defined(WITHOUT_GUILE)
|
|
|
|
CONFIGURE_ARGS+= --disable-script
|
|
|
|
.else
|
2003-05-02 03:59:55 +00:00
|
|
|
LIB_DEPENDS+= guile.15:${PORTSDIR}/lang/guile
|
2001-09-07 14:22:36 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-script
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_TELNET)
|
|
|
|
CONFIGURE_ARGS+= --enable-telnetserver
|
2003-05-02 03:58:31 +00:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-telnetserver
|
2001-09-07 14:22:36 +00:00
|
|
|
.endif
|
|
|
|
|
2003-05-02 03:58:31 +00:00
|
|
|
post-extract:
|
|
|
|
@${FIND} ${WRKSRC}/scripts -name "*~" -delete
|
2001-09-07 14:22:36 +00:00
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${CP} ${WRKSRC}/doc/* ${DOCSDIR}
|
2003-05-02 03:58:31 +00:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR}
|
2001-09-07 14:22:36 +00:00
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
${CP} -R ${WRKSRC}/scripts ${DATADIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|