mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
821843ca06
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here Reviewed by: bapt, kwm
45 lines
937 B
Makefile
45 lines
937 B
Makefile
# Created by: Antoine Brodin <antoine@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libpff
|
|
DISTVERSION= alpha-20120802
|
|
CATEGORIES= devel
|
|
MASTER_SITES= GOOGLE_CODE
|
|
|
|
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
|
|
USES= pathfix gettext iconv
|
|
USE_PYTHON= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:E}
|
|
|
|
MAN1= pffexport.1 pffinfo.1
|
|
MAN3= libpff.3
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
PORTDOCS= AUTHORS ChangeLog
|
|
PORTEXAMPLES= *
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
|
|
.endif
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/${PORTNAME}/* \
|
|
${WRKSRC}/examples/${PORTNAME:S,lib,py,}/* ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|