aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-12-29 17:01:03 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-12-29 17:01:03 +0800
commit59540760805d690f2935c3b0807a78ee4fa829d9 (patch)
tree45d29dba4b7b9374ecf4c45f625d29cab4c20d36 /math
parentf3c7a889051cab700f971f2366639cbee5bc9851 (diff)
downloadfreebsd-ports-gnome-59540760805d690f2935c3b0807a78ee4fa829d9.tar.gz
freebsd-ports-gnome-59540760805d690f2935c3b0807a78ee4fa829d9.tar.zst
freebsd-ports-gnome-59540760805d690f2935c3b0807a78ee4fa829d9.zip
- Add LICENSE
- Switch to options helpers
Diffstat (limited to 'math')
-rw-r--r--math/chaco/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/math/chaco/Makefile b/math/chaco/Makefile
index 29d002de42be..c4b0747bdea6 100644
--- a/math/chaco/Makefile
+++ b/math/chaco/Makefile
@@ -13,6 +13,9 @@ DISTNAME= Chaco-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Software for partitioning graphs
+LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/../GNU_Lesser_GPL.txt
+
USES= gmake
MAKE_ARGS= CFLAGS="${CFLAGS}"
WRKSRC= ${WRKDIR}/${DISTNAME}/code
@@ -22,9 +25,13 @@ OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/exec/chaco ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/exec/libchaco.a ${STAGEDIR}${PREFIX}/lib
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/*.ps ${STAGEDIR}${DOCSDIR}
${GZIP_CMD} ${STAGEDIR}${DOCSDIR}/*.ps
+
+do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/exec/*.graph ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/exec/*.coords ${STAGEDIR}${EXAMPLESDIR}