freebsd-ports/devel/libpff/Makefile

38 lines
1 KiB
Makefile
Raw Normal View History

# Created by: Antoine Brodin <antoine@FreeBSD.org>
# $FreeBSD$
PORTNAME= libpff
DISTVERSION= alpha-20120802
PORTREVISION= 1
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
2013-10-02 20:25:44 +02:00
CONFIGURE_ARGS= --enable-python --with-libintl-prefix=${LOCALBASE} ${ICONV_CONFIGURE_ARG}
2014-08-30 11:58:03 +02:00
USES= gettext iconv libtool pathfix python:2
USE_LDCONFIG= yes
2013-10-02 20:25:44 +02:00
# Remove when configure gets LDFLAGS for python correctly
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:E}
PORTDOCS= AUTHORS ChangeLog
PORTEXAMPLES= *
2013-10-02 20:25:44 +02:00
OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
2013-10-02 20:25:44 +02:00
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/${PORTNAME}/* \
2013-10-02 20:25:44 +02:00
${WRKSRC}/examples/${PORTNAME:S,lib,py,}/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>