mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
34 lines
856 B
Makefile
34 lines
856 B
Makefile
# Created by: Antoine Brodin <antoine@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= liblnk
|
|
PORTVERSION= 20160420
|
|
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: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>
|