summaryrefslogtreecommitdiffstats
path: root/devel/poslib/Makefile
blob: cdf15b5f914b584b1dc43e0a033da6ef8c55b165 (plain)
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
# New ports collection makefile for:	poslib
# Date created:		2003-08-03
# Whom:			Sergei Kolobov <sergei@kolobov.com>
#
# $FreeBSD$
#

PORTNAME=	poslib
PORTVERSION=	1.0.1
PORTREVISION=	2
CATEGORIES=	devel dns
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	posadis

MAINTAINER=	sergei@FreeBSD.org
COMMENT=	Posadis C++ DNS library

GNU_CONFIGURE=	yes
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LIBTOOL=	yes
INSTALLS_SHLIB=	yes

PLIST_SUB=	VERSION="${PORTVERSION}"

DOCS=		AUTHORS ChangeLog NEWS README TODO
EXAMPLES=	examples/*.cpp

post-install:
	@${MKDIR} ${EXAMPLESDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud