aboutsummaryrefslogtreecommitdiff
path: root/cad/varkon/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-05-20 23:03:37 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-05-20 23:03:37 +0000
commit182253b72e62410d743157bb138db5b058ec8d28 (patch)
treef3afad69cc8cabd7239215051f2d5a181e6660b8 /cad/varkon/Makefile
parent42adb65dc11ab661c16fa28861a239cc7348a84c (diff)
downloadports-182253b72e62410d743157bb138db5b058ec8d28.tar.gz
ports-182253b72e62410d743157bb138db5b058ec8d28.zip
Notes
Diffstat (limited to 'cad/varkon/Makefile')
-rw-r--r--cad/varkon/Makefile57
1 files changed, 57 insertions, 0 deletions
diff --git a/cad/varkon/Makefile b/cad/varkon/Makefile
new file mode 100644
index 000000000000..70361cf2bf25
--- /dev/null
+++ b/cad/varkon/Makefile
@@ -0,0 +1,57 @@
+# New ports collection makefile for: Varkon
+# Date created: 19 April 2003
+# Whom: Pedro Giffuni <giffunip@asme.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= varkon
+PORTVERSION= 1.17D
+CATEGORIES= cad
+MASTER_SITES= http://www.tech.oru.se/cad/varkon/pub/linux/
+DISTNAME= ${PORTNAME}_sources_${PORTVERSION}
+
+MAINTAINER= giffunip@yahoo.com
+COMMENT= A free CAD system and applications development tool
+
+USE_MESA= yes
+USE_REINPLACE= yes
+USE_GMAKE= yes
+VARKON_ROOT= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
+WRKSRC= ${VARKON_ROOT}/sources
+MAKE_ENV+= VARKON_ROOT=${VARKON_ROOT}
+
+VARKON_PREFIX= ${PREFIX}/share/varkon
+
+post-patch:
+ @${REINPLACE_CMD} -e 's+%%MAKE%%+${GMAKE}+g;' ${WRKSRC}/make_varkon
+ @${REINPLACE_CMD} -e 's+%%VARKON_PREFIX%%+${VARKON_PREFIX}+ ; s+%%DOCSDIR%%+${DOCSDIR}+g ' \
+ ${VARKON_ROOT}/com/english/varkon
+do-build:
+ @(cd ${WRKSRC};${SETENV} ${MAKE_ENV} ${SH} make_varkon )
+
+do-install:
+ @${INSTALL} ${VARKON_ROOT}/com/english/varkon \
+ ${PREFIX}/bin
+ @${MKDIR} ${VARKON_PREFIX}/bin
+ @${INSTALL_PROGRAM} ${VARKON_ROOT}/bin/* \
+ ${VARKON_PREFIX}/bin
+ @${CP} -R ${VARKON_ROOT}/app ${VARKON_PREFIX}
+ @${CP} -R ${VARKON_ROOT}/mdf/english ${VARKON_PREFIX}/mdf
+ @${CP} -R ${VARKON_ROOT}/erm ${VARKON_PREFIX}
+ @${CP} -R ${VARKON_ROOT}/pid ${VARKON_PREFIX}
+ @${CP} -R ${VARKON_ROOT}/lib ${VARKON_PREFIX}
+ @${MKDIR} ${VARKON_PREFIX}/cnf
+ @${CP} -R ${VARKON_ROOT}/cnf/fnt ${VARKON_PREFIX}/cnf
+ @${CP} -R ${VARKON_ROOT}/cnf/plt ${VARKON_PREFIX}/cnf
+ @${CP} -R ${VARKON_ROOT}/cnf/icons ${VARKON_PREFIX}/cnf
+ @${CP} -R ${VARKON_ROOT}/cnf/tol ${VARKON_PREFIX}/cnf
+ @${MKDIR} ${VARKON_PREFIX}/cnf/ini
+ @${INSTALL} ${VARKON_ROOT}/cnf/ini/english/linux \
+ ${VARKON_PREFIX}/cnf/ini/freebsd
+#.if !defined(NOPORTDOCS)
+# @${MKDIR} ${DOCSDIR}
+# @${CP} -R ${VARKON_ROOT}/man ${DOCSDIR}
+#.endif
+
+.include <bsd.port.mk>