1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/devel/liblnk/Makefile
Antoine Brodin bfdaba46fc - Update to 20170111
- Add LICENSE_FILE
- Make NLS optional
2017-01-15 17:44:01 +00:00

39 lines
952 B
Makefile

# Created by: Antoine Brodin <antoine@FreeBSD.org>
# $FreeBSD$
PORTNAME= liblnk
PORTVERSION= 20170111
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+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfwsi.so:devel/libfwsi
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-python --with-libfwsi=${LOCALBASE}
USES= libtool pathfix python
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
OPTIONS_DEFINE= DOCS NLS
NLS_USES= gettext
NLS_CONFIGURE_ON= --with-libintl-prefix=${LOCALBASE}
NLS_CONFIGURE_OFF= --disable-nls
PORTDOCS= AUTHORS ChangeLog
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>