aboutsummaryrefslogtreecommitdiffstats
path: root/devel/liblnk/Makefile
blob: 7c572d2be23cbcacec2e34fcdff27dd9427a07a2 (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
# Created by: Antoine Brodin <antoine@FreeBSD.org>
# $FreeBSD$

PORTNAME=   liblnk
PORTVERSION=    20160107
DISTVERSIONPREFIX=  alpha-
CATEGORIES= devel
MASTER_SITES=   https://github.com/libyal/liblnk/releases/download/${PORTVERSION}/ \
        LOCAL/antoine

MAINTAINER= antoine@FreeBSD.org
COMMENT=    Library and tools to access the Windows shortcut file (LNK) format

LICENSE=    LGPL3

LIB_DEPENDS=    libfwsi.so:${PORTSDIR}/devel/libfwsi

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --enable-python --with-libintl-prefix=${LOCALBASE} --with-libfwsi=${LOCALBASE}
USES=       gettext libtool pathfix python
USE_LDCONFIG=   yes
INSTALL_TARGET= install-strip
WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

PORTDOCS=   AUTHORS ChangeLog

OPTIONS_DEFINE= DOCS

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>