freebsd-ports/irc/bobot++/Makefile

50 lines
1.1 KiB
Makefile
Raw Normal View History

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
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= bobotpp/stable.pkg/${PORTVERSION}
2003-05-02 05:58:31 +02:00
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
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
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
2003-05-02 05:59:55 +02:00
LIB_DEPENDS+= guile.15:${PORTSDIR}/lang/guile
2001-09-07 16:22:36 +02:00
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>