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

PORTNAME=   liblnk
PORTVERSION=    20140622
CATEGORIES= devel
MASTER_SITES=   https://googledrive.com/host/0B3fBvzttpiiSQmluVC1YeDVvZWM/ \
        LOCAL/antoine
DISTNAME=   ${PORTNAME}-alpha-${PORTVERSION}

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

LICENSE=    LGPL3

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

PORTDOCS=   AUTHORS ChangeLog

OPTIONS_DEFINE= DOCS

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

.include <bsd.port.mk>