f343f4c86f
- Make NLS optional
36 lines
854 B
Makefile
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>
|