aboutsummaryrefslogtreecommitdiffstats
path: root/devel/liblnk/Makefile
blob: b2e934e38dde6816f9a629df530414d2d7e17d24 (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
40
41
42
# Created by: antoine@FreeBSD.org
# $FreeBSD$

PORTNAME=   liblnk
PORTVERSION=    20121205
CATEGORIES= devel
MASTER_SITES=   GOOGLE_CODE
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
USE_PKGCONFIG=  build
USE_GETTEXT=    yes
USE_GNOME=  gnomehack
USE_ICONV=  yes
USE_PYTHON= yes
USE_LDCONFIG=   yes

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

MAN1=       lnkinfo.1
MAN3=       liblnk.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>