aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libphish/Makefile
blob: 94d60f3b6f0b1aea61c4060f14980ffd7745842e (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
31
32
33
34
# New ports collection makefile for:   libphish
# Date created:                17 Apr 2006
# Whom:                        Rashid N. Achilov <shelton@granch.ru>
#
# $FreeBSD$
#

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
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"

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

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

.include <bsd.port.mk>