mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
39 lines
1.0 KiB
Makefile
39 lines
1.0 KiB
Makefile
# Created by: Antoine Brodin <antoine@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libsmdev
|
|
DISTVERSION= alpha-20140529
|
|
CATEGORIES= devel
|
|
MASTER_SITES= https://googledrive.com/host/0B3fBvzttpiiSNEJFQ1FqanFYVUU/ \
|
|
LOCAL/antoine
|
|
|
|
MAINTAINER= antoine@FreeBSD.org
|
|
COMMENT= Library to access to storage media devices
|
|
|
|
LICENSE= LGPL3
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-python --with-libintl-prefix=${LOCALBASE} ${ICONV_CONFIGURE_ARG}
|
|
USES= gettext iconv libtool pathfix
|
|
USE_PYTHON= 2
|
|
USE_LDCONFIG= yes
|
|
INSTALL_TARGET= install-strip
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:E}
|
|
|
|
PORTDOCS= AUTHORS ChangeLog
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
# posix_fadvise(2) did not return correct value on error
|
|
.if (${OSVERSION} >= 1100000 && ${OSVERSION} < 1100007) || (${OSVERSION} >= 1000000 && ${OSVERSION} < 1000703) || (${OSVERSION} < 902507)
|
|
CONFIGURE_ENV+= ac_cv_func_posix_fadvise=no
|
|
.endif
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.post.mk>
|