2013-02-01 05:13:12 +01:00
|
|
|
# Created by: Antoine Brodin <antoine@FreeBSD.org>
|
2012-12-20 18:39:05 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= liblnk
|
2015-01-08 19:44:32 +01:00
|
|
|
PORTVERSION= 20150105
|
2014-08-30 11:58:03 +02:00
|
|
|
DISTVERSIONPREFIX= alpha-
|
2012-12-20 18:39:05 +01:00
|
|
|
CATEGORIES= devel
|
2015-01-08 19:44:32 +01:00
|
|
|
MASTER_SITES= https://github.com/libyal/liblnk/releases/download/${PORTVERSION}/ \
|
2013-06-28 17:30:07 +02:00
|
|
|
LOCAL/antoine
|
2012-12-20 18:39:05 +01:00
|
|
|
|
|
|
|
MAINTAINER= antoine@FreeBSD.org
|
2012-12-20 18:45:48 +01:00
|
|
|
COMMENT= Library and tools to access the Windows shortcut file (LNK) format
|
2012-12-20 18:39:05 +01:00
|
|
|
|
|
|
|
LICENSE= LGPL3
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2013-09-24 19:33:01 +02:00
|
|
|
CONFIGURE_ARGS= --enable-python --with-libintl-prefix=${LOCALBASE} ${ICONV_CONFIGURE_ARG}
|
2015-01-08 19:44:32 +01:00
|
|
|
USES= gettext iconv libtool pathfix python
|
2012-12-20 18:39:05 +01:00
|
|
|
USE_LDCONFIG= yes
|
2014-03-18 20:08:35 +01:00
|
|
|
INSTALL_TARGET= install-strip
|
2014-03-24 21:23:47 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2012-12-20 18:39:05 +01:00
|
|
|
|
2013-09-24 19:33:01 +02:00
|
|
|
PORTDOCS= AUTHORS ChangeLog
|
2012-12-20 18:39:05 +01:00
|
|
|
|
2013-04-21 21:11:05 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2012-12-20 18:39:05 +01:00
|
|
|
|
|
|
|
post-install:
|
2013-09-24 19:33:01 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
2012-12-20 18:39:05 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|