freebsd-ports/devel/libvhdi/Makefile
Antoine Brodin f3a0826e9f - Update to 20170223
- Make NLS optional
2017-02-25 09:56:25 +00:00

36 lines
898 B
Makefile

# Created by: Antoine Brodin <antoine@FreeBSD.org>
# $FreeBSD$
PORTNAME= libvhdi
PORTVERSION= 20170223
DISTVERSIONPREFIX= alpha-
CATEGORIES= devel
MASTER_SITES= https://github.com/libyal/libvhdi/releases/download/${PORTVERSION}/ \
LOCAL/antoine
MAINTAINER= antoine@FreeBSD.org
COMMENT= Library and tools to access the Virtual Hard Disk image format
LICENSE= LGPL3+
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-python
USES= fuse libtool pathfix pkgconfig 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>