aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ncnf/Makefile
blob: 7504e9fe1d48d8cc982edb29ba6dc451653cdfae (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
# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$

PORTNAME=   ncnf
PORTVERSION=    3.0.1
PORTREVISION=   3
CATEGORIES= devel
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Generic configuration management library

LIB_DEPENDS=    strfunc.9:${PORTSDIR}/devel/libstrfunc

USE_AUTOTOOLS=  libtool
USE_LDCONFIG=   YES
GNU_CONFIGURE=  yes

.if defined(.PARSEDIR)
USE_GMAKE=  yes
.endif

.include <bsd.port.options.mk>

post-patch:
.if ! ${PORT_OPTIONS:MDOCS}
    @${REINPLACE_CMD} -e '/^SUBDIRS =/s/doc//' ${WRKSRC}/Makefile.in
.endif

.include <bsd.port.mk>