1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/irc/bobot++/Makefile

49 lines
1.0 KiB
Makefile
Raw Normal View History

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$
#
PORTNAME= bobotpp
PORTVERSION= 2.0.1
2001-09-07 14:22:36 +00:00
CATEGORIES= irc
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= bobotpp
2001-09-07 14:22:36 +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
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>