diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2014-02-07 21:23:30 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2014-02-07 21:23:30 +0000 |
commit | b94738b4e581e0c8afe2359958854c8bda82247e (patch) | |
tree | aa8e6033ddbd292aa482def2a36ae8096b9ffbfc /cad/varkon | |
parent | 06efa2faf5aad2726340de36ac20267c5a9cfdff (diff) | |
download | ports-b94738b4e581e0c8afe2359958854c8bda82247e.tar.gz ports-b94738b4e581e0c8afe2359958854c8bda82247e.zip |
Notes
Diffstat (limited to 'cad/varkon')
-rw-r--r-- | cad/varkon/Makefile | 33 | ||||
-rw-r--r-- | cad/varkon/files/patch-cnf__ini__english__linux (renamed from cad/varkon/files/patch--cnf__ini__english__linux) | 0 | ||||
-rw-r--r-- | cad/varkon/files/patch-com__english__varkon (renamed from cad/varkon/files/patch--com+english+varkon) | 0 |
3 files changed, 16 insertions, 17 deletions
diff --git a/cad/varkon/Makefile b/cad/varkon/Makefile index f846b2376163..cc0407797021 100644 --- a/cad/varkon/Makefile +++ b/cad/varkon/Makefile @@ -11,6 +11,9 @@ DIST_SUBDIR= varkon MAINTAINER= ports@FreeBSD.org COMMENT= Free CAD system and applications development tool +LICENSE= GPLv2 LGPL20 +LICENSE_COMB= dual + LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils @@ -26,9 +29,7 @@ MAKE_JOBS_UNSAFE= yes VARKON_PREFIX= ${PREFIX}/lib/${PORTNAME} -NO_STAGE= yes - -.include <bsd.port.options.mk> +OPTIONS_DEFINE= DOCS post-extract: @${FIND} ${WRKSRC} -name "*.o" -delete @@ -47,23 +48,21 @@ do-configure: s|cc $$(LIBS)|$$(CC) $$(LIBS)|' do-install: - (cd ${WRKSRC}/com/english && ${INSTALL_SCRIPT} varkon ${PREFIX}/bin) - @${MKDIR} ${VARKON_PREFIX} + ${INSTALL_SCRIPT} ${WRKSRC}/com/english/varkon ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${VARKON_PREFIX} .for i in erm lib mdf - @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${VARKON_PREFIX}) + @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${STAGEDIR}${VARKON_PREFIX}) .endfor - @${MKDIR} ${VARKON_PREFIX}/bin - (cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} * ${VARKON_PREFIX}/bin) - @${MKDIR} ${VARKON_PREFIX}/cnf + @${MKDIR} ${STAGEDIR}${VARKON_PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${STAGEDIR}${VARKON_PREFIX}/bin + @${MKDIR} ${STAGEDIR}${VARKON_PREFIX}/cnf .for i in fnt icons plt tol - @(cd ${WRKSRC}/cnf && ${COPYTREE_SHARE} ${i} ${VARKON_PREFIX}/cnf) + @(cd ${WRKSRC}/cnf && ${COPYTREE_SHARE} ${i} ${STAGEDIR}${VARKON_PREFIX}/cnf) .endfor - @${MKDIR} ${VARKON_PREFIX}/cnf/ini - (cd ${WRKSRC}/cnf/ini/english && ${INSTALL_DATA} linux \ - ${VARKON_PREFIX}/cnf/ini/freebsd) -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} #Varkon Manual - @(cd ${WRKSRC}/man && ${COPYTREE_SHARE} . ${DOCSDIR}) -.endif + @${MKDIR} ${STAGEDIR}${VARKON_PREFIX}/cnf/ini + ${INSTALL_DATA} ${WRKSRC}/cnf/ini/english/linux \ + ${STAGEDIR}${VARKON_PREFIX}/cnf/ini/freebsd + @${MKDIR} ${STAGEDIR}${DOCSDIR} #Varkon Manual + @(cd ${WRKSRC}/man && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include <bsd.port.mk> diff --git a/cad/varkon/files/patch--cnf__ini__english__linux b/cad/varkon/files/patch-cnf__ini__english__linux index fcfab31d43f2..fcfab31d43f2 100644 --- a/cad/varkon/files/patch--cnf__ini__english__linux +++ b/cad/varkon/files/patch-cnf__ini__english__linux diff --git a/cad/varkon/files/patch--com+english+varkon b/cad/varkon/files/patch-com__english__varkon index b97fa899a6ea..b97fa899a6ea 100644 --- a/cad/varkon/files/patch--com+english+varkon +++ b/cad/varkon/files/patch-com__english__varkon |