1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/math/chaco/Makefile
2013-07-19 13:48:11 +00:00

39 lines
1.0 KiB
Makefile

# Created by: Pedro Giffuni <giffunip@asme.org>
# $FreeBSD$
PORTNAME= chaco
PORTVERSION= 2.2
CATEGORIES= math
MASTER_SITES= http://www.cs.sandia.gov/downloads/papers/bahendr/ \
http://bsd1.csme.ru/myports/ \
http://bsd2.csme.ru/myports/ \
http://bsd3.csme.ru/myports/
DISTNAME= Chaco-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Software for partitioning graphs
USES= gmake
MAKE_ARGS= CFLAGS="${CFLAGS}"
WRKSRC= ${WRKDIR}/${DISTNAME}/code
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/exec/chaco ${PREFIX}/bin
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/exec/libchaco.a ${PREFIX}/lib
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/*.ps ${DOCSDIR}
${GZIP_CMD} ${DOCSDIR}/*.ps
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/exec/*.graph ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/exec/*.coords ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>