aboutsummaryrefslogtreecommitdiffstats
path: root/math/ogdf
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-05-09 16:28:57 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-05-09 16:28:57 +0800
commit2698123b26328ae50e76b4fcabdbda83d9106bed (patch)
tree51e1e453b7a86e87c9abed95b4200f7189c44579 /math/ogdf
parent83647326588979940a54818043de9902bf4b5bc5 (diff)
downloadfreebsd-ports-gnome-2698123b26328ae50e76b4fcabdbda83d9106bed.tar.gz
freebsd-ports-gnome-2698123b26328ae50e76b4fcabdbda83d9106bed.tar.zst
freebsd-ports-gnome-2698123b26328ae50e76b4fcabdbda83d9106bed.zip
- Fix LICENSE
- Fix library installation
Diffstat (limited to 'math/ogdf')
-rw-r--r--math/ogdf/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/math/ogdf/Makefile b/math/ogdf/Makefile
index da2c73c8b42a..8de6d29459be 100644
--- a/math/ogdf/Makefile
+++ b/math/ogdf/Makefile
@@ -3,7 +3,7 @@
PORTNAME= ogdf
PORTVERSION= 2012.07
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= LOCAL/gahr \
http://people.freebsd.org/~gahr/distfiles/
@@ -12,7 +12,10 @@ DISTNAME= ${PORTNAME}.v${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= C++ class library for the automatic layout of diagrams
-LICENSE= GPLv2
+LICENSE= GPLv2 GPLv3
+LICENSE_COMB= dual
+LICENSE_FILE_GPLv2= ${WRKSRC}/LICENSE_GPL_v2.txt
+LICENSE_FILE_GPLv3= ${WRKSRC}/LICENSE_GPL_v3.txt
USES= zip python:build
USE_LDCONFIG= yes
@@ -53,7 +56,7 @@ do-configure:
cd ${WRKSRC} && ${PYTHON_CMD} makeMakefile.py
do-install:
- ${INSTALL_DATA} ${WRKSRC}/_release/libOGDF.so \
+ ${INSTALL_LIB} ${WRKSRC}/_release/libOGDF.so \
${STAGEDIR}${PREFIX}/lib/libOGDF.so.1
${LN} -sf libOGDF.so.1 ${STAGEDIR}${PREFIX}/lib/libOGDF.so
cd ${WRKSRC} && ${COPYTREE_SHARE} ogdf ${STAGEDIR}${PREFIX}/include