# Created by: Rashid N. Achilov <shelton@granch.ru>
# $FreeBSD: tags/RELEASE_10_0_0/devel/libphish/Makefile 327724 2013-09-20 17:13:42Z bapt $

PORTNAME=	libphish
PORTVERSION=	0.1.0
CATEGORIES=	devel
MASTER_SITES=	http://download.berlios.de/opdb/ \
		http://download2.berlios.de/opdb/ \

MAINTAINER=	citycat4@ngs.ru
COMMENT=	A cross-platform library to interact with the Open Phishing Database

BUILD_DEPENDS=	xmlwf:${PORTSDIR}/textproc/expat2

USE_AUTOTOOLS=	libtool
USE_BZIP2=	yes
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes

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

NO_STAGE=	yes
post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	cd ${WRKSRC}/doc && ${INSTALL_DATA} `${LS}` ${DOCSDIR}
.endif

.include <bsd.port.mk>
