mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-06 22:51:41 +00:00
e7442d6aec
Configs from debian/ directory are outdated, one should use from gw/ PR: 20076 Submitted by: maintainer
42 lines
1.1 KiB
Makefile
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= 0.10.2
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.kannel.org/download/${PORTVERSION}/
|
|
DISTNAME= gateway-${PORTVERSION}
|
|
|
|
MAINTAINER= midom@dammit.lt
|
|
|
|
LIB_DEPENDS= xml:${PORTSDIR}/textproc/libxml
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
WRKSRC= ${WRKDIR}/gateway-0.10.2/
|
|
CFLAGS+= -pthread
|
|
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>
|