aboutsummaryrefslogtreecommitdiffstats
path: root/net/libarms/Makefile
blob: 1d23e0b5251d468318843bd0f370b723ccc375f8 (plain) (blame)
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
# New ports collection makefile for:   libarms
# Date created:        27 March 2012
# Whom:                shigeru@iij.ad.jp
#
# $FreeBSD$
#

PORTNAME=   libarms
PORTVERSION=    5.01
CATEGORIES= net devel
MASTER_SITES=   https://dev.smf.jp/dl/ \
        http://dev.smf.jp/dl/

MAINTAINER= shigeru@iij.ad.jp
COMMENT=    SMFv2/ARMS client library for C

LIB_DEPENDS=    expat:${PORTSDIR}/textproc/expat2

USE_GMAKE=  yes
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes

LDFLAGS+=   -L${LOCALBASE}/lib
CPPFLAGS+=  -I${LOCALBASE}/include

post-configure:
    @${REINPLACE_CMD} 's|$${datarootdir}/doc/$${PACKAGE_TARNAME}|${DOCSDIR}|' \
        ${WRKSRC}/Makefile

.include <bsd.port.mk>