aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libmsiecf/Makefile
blob: 7c83fecd4252b512dd75a0a33435f57499fecf9b (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
35
36
37
38
39
# Created by: Antoine Brodin <antoine@FreeBSD.org>
# $FreeBSD$

PORTNAME=   libmsiecf
DISTVERSION=    alpha-20130417
CATEGORIES= devel
MASTER_SITES=   GOOGLE_CODE

MAINTAINER= antoine@FreeBSD.org
COMMENT=    Library and tools to access the MSIE index.dat files

LICENSE=    LGPL3

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --enable-python
USES=       pathfix gettext
USE_ICONV=  yes
USE_PYTHON= yes
USE_LDCONFIG=   yes

LDFLAGS+=   -L${LOCALBASE}/lib
WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION:E}

MAN1=       msiecfexport.1 msiecfinfo.1
MAN3=       libmsiecf.3

OPTIONS_DEFINE= DOCS

PORTDOCS=   AUTHORS ChangeLog

.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif

.include <bsd.port.mk>