opnsense-ports/devel/libsmdev/Makefile
Franco Fichtner 6608d6dc77 */*: sync with upstream
Taken from: FreeBSD
2017-02-27 09:46:33 +01:00

35 lines
849 B
Makefile

# Created by: Antoine Brodin <antoine@FreeBSD.org>
# $FreeBSD$
PORTNAME= libsmdev
DISTVERSION= alpha-20170225
CATEGORIES= devel
MASTER_SITES= https://github.com/libyal/libsmdev/releases/download/${PORTVERSION:E}/ \
LOCAL/antoine
MAINTAINER= antoine@FreeBSD.org
COMMENT= Library to access to storage media devices
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:E}
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>