freebsd-ports/devel/poslib/Makefile
Sergey A. Osokin 4997271e5e Fix building in -STABLE.
Submitted by:	Sergei Kolobov <sergei@kolobov.com> (maintainer)
PR:		57786
2003-10-09 07:22:28 +00:00

36 lines
802 B
Makefile

# 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@kolobov.com
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>