1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/www/kannel/Makefile
Maxim Sobolev 4ca0e60800 -pthread --> ${PTHREAD_LIBS}
-D_THREAD_SAFE --> ${PTHREAD_CFLAGS}

Note: my first intention was to test this out on bento/beta, but per ade's
requiest I opted to do it quickly.
2001-03-29 16:35:19 +00:00

42 lines
1.1 KiB
Makefile

# New ports collection makefile for: kannel
# Date created: 19 Jun 2000
# Whom: Domas Mituzas <midom@dammit.lt>
#
# $FreeBSD$
PORTNAME= kannel
PORTVERSION= 1.0.3
CATEGORIES= www
MASTER_SITES= http://www.kannel.org/download/${PORTVERSION}/
DISTNAME= gateway-${PORTVERSION}
MAINTAINER= martti.kuparinen@iki.fi
LIB_DEPENDS= xml2:${PORTSDIR}/textproc/libxml2
USE_AUTOCONF= yes
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/gateway-${PORTVERSION}/
CFLAGS+= ${PTHREAD_LIBS}
CONFIGURE_ARGS+= --with-malloc=native
do-install:
.if !defined(NOPORTDOCS)
@cd ${WRKSRC} && make install-docs
.endif
@cd ${WRKSRC} && make install
${INSTALL_DATA} ${WRKSRC}/gw/wapkannel.conf ${PREFIX}/etc/
${INSTALL_DATA} ${WRKSRC}/gw/smskannel.conf ${PREFIX}/etc/
.if !defined(NOPORTDOCS)
post-install:
@cd ${WRKSRC}/doc && \
for a in `/usr/bin/find . -type f | ${SED} -e 's:^\./::g'` ; \
do ${ECHO} share/doc/kannel/$$a >> ${TMPPLIST} ; done
@${ECHO} "@dirrm share/doc/kannel/arch" >> ${TMPPLIST}
@${ECHO} "@dirrm share/doc/kannel/userguide" >> ${TMPPLIST}
@${ECHO} "@dirrm share/doc/kannel" >> ${TMPPLIST}
.endif
.include <bsd.port.mk>