aboutsummaryrefslogtreecommitdiffstats
path: root/math/R-a4
ModeNameSize
-rw-r--r--Makefile243logstatsplainblame
linknx' href='/~lantw44/cgit/freebsd-ports-graphics/commit/net/linknx/Makefile?id=7c48582402b60f4e4fe1ba7c0618b09a4e78a9b8'>7c48582402b
98929815182

7c48582402b
190df537652
7c48582402b


98929815182




1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
                                                     
           


                        
                 
                   
                                                                     











                                                                            



                                                          


                          

                                     
                                                 

                                      

      
                            
                                           


                                                   




                           
# Created by: Björn König <bkoenig@alpha-tierchen.de>
# $FreeBSD$

PORTNAME=   linknx
PORTVERSION=    0.0.1.25
PORTREVISION=   3
CATEGORIES= net
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER= bkoenig@alpha-tierchen.de
COMMENT=    Rule-based event handling in a KNX installation

LIB_DEPENDS=    pthsem.20:${PORTSDIR}/devel/pthsem
BUILD_DEPENDS=  ${LOCALBASE}/lib/libargp.a:${PORTSDIR}/devel/argp-standalone

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
CONFIGURE_ARGS+=CFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-I${LOCALBASE}/include -L/${LOCALBASE}/lib"

OPTIONS_DEFINE= LIBESMTP LIBCURL
OPTIONS_DEFAULT=    LIBESMTP
LIBESMTP_DESC=  Install libesmtp for SMTP support
LIBCURL_DESC=   Install libcurl for Clickatell SMS support

.include <bsd.port.pre.mk>

.if ${PORT_OPTIONS:MLIBESMTP}
CONFIGURE_ARGS+=    --enable-smtp
LIB_DEPENDS+=   esmtp.7:${PORTSDIR}/mail/libesmtp
.else
CONFIGURE_ARGS+=    --disable-smtp
.endif

.if ${PORT_OPTIONS:MLIBCURL}
LIB_DEPENDS+=   curl.6:${PORTSDIR}/ftp/curl
CONFIGURE_ARGS+=    --with-libcurl=${LOCALBASE}
.else
CONFIGURE_ARGS+=    --without-libcurl
.endif

USE_RC_SUBR=    ${PORTNAME}

.include <bsd.port.post.mk>