blob: e5ecd67006771a524092e3370e0eb85575f00948 (
plain) (
tree)
|
|
# Created by: Antoine Brodin <antoine@FreeBSD.org>
# $FreeBSD$
PORTNAME= libpff
DISTVERSION= alpha-20120802
CATEGORIES= devel
MASTER_SITES= https://googledrive.com/host/0B3fBvzttpiiScU9qcG5ScEZKZE0/ \
LOCAL/antoine
MAINTAINER= antoine@FreeBSD.org
COMMENT= Library and tools to access the PFF and the OFF formats
LICENSE= LGPL3
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-python --with-libintl-prefix=${LOCALBASE} ${ICONV_CONFIGURE_ARG}
USES= gettext iconv pathfix
USE_PYTHON= -2.7
USE_LDCONFIG= yes
# Remove when configure gets LDFLAGS for python correctly
LDFLAGS+= -L${LOCALBASE}/lib
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:E}
PORTDOCS= AUTHORS ChangeLog
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/${PORTNAME}/* \
${WRKSRC}/examples/${PORTNAME:S,lib,py,}/* ${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.mk>
|