freebsd-ports/devel/libfwnt/Makefile
Antoine Brodin f343f4c86f - Update to alpha-20170115
- Make NLS optional
2017-01-22 12:26:41 +00:00

36 lines
854 B
Makefile

# Created by: Antoine Brodin <antoine@FreeBSD.org>
# $FreeBSD$
PORTNAME= libfwnt
PORTVERSION= 20170115
DISTVERSIONPREFIX= alpha-
CATEGORIES= devel
MASTER_SITES= https://github.com/libyal/libfwnt/releases/download/${PORTVERSION}/ \
LOCAL/antoine
MAINTAINER= antoine@FreeBSD.org
COMMENT= Library for Windows NT data types
LICENSE= LGPL3+
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-python
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>