diff options
author | tg <tg@FreeBSD.org> | 1999-12-22 18:40:56 +0800 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 1999-12-22 18:40:56 +0800 |
commit | 72bfacb4fae33af1393dbf8b124922b9553eec96 (patch) | |
tree | acb21ee6d24627b76f2d4e9487bc1684a60796b9 /cad/qcad/Makefile | |
parent | 6e3dee938777bc70b028ee4e0bd5a39a3d83e708 (diff) | |
download | freebsd-ports-gnome-72bfacb4fae33af1393dbf8b124922b9553eec96.tar.gz freebsd-ports-gnome-72bfacb4fae33af1393dbf8b124922b9553eec96.tar.zst freebsd-ports-gnome-72bfacb4fae33af1393dbf8b124922b9553eec96.zip |
New port QCad, a 2D-CAD program. Uses Qt-2.
Diffstat (limited to 'cad/qcad/Makefile')
-rw-r--r-- | cad/qcad/Makefile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/cad/qcad/Makefile b/cad/qcad/Makefile new file mode 100644 index 000000000000..61f2bede2846 --- /dev/null +++ b/cad/qcad/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: qcad +# Version required: 1.3.3 +# Date created: 10 Dec 1999 +# Whom: Thomas Gellekum <tg@FreeBSD.org> +# +# $FreeBSD$ +# + +DISTNAME= qcad_source +PKGNAME= qcad-1.3.3 +CATEGORIES= cad +MASTER_SITES= http://www2.active.ch/~ribbon/ + +MAINTAINER= ports@FreeBSD.org + +LIB_DEPENDS= qt2.2:${PORTSDIR}/x11-toolkits/qt20 + +USE_XLIB= yes +USE_NEWGCC= yes +MAKEFILE= makefile +MAKE_ENV= CC="${CXX}" + +QCADDIR= ${PREFIX}/lib/qcad +QCADDOCDIR= ${PREFIX}/share/doc/qcad +QCADSAMPLEDIR= ${PREFIX}/share/examples/qcad + +do-install: + @${MKDIR} ${QCADDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/qcad ${QCADDIR} +.for dir in cur fonts hatches messages xpm + ${CP} -R ${WRKSRC}/${dir} ${QCADDIR} +.endfor +.if !defined(NOPORTDOCS) + @${MKDIR} ${QCADDOCDIR} + ${CP} -R ${WRKSRC}/doc/* ${QCADDOCDIR} + @${LN} -sf ${QCADDOCDIR} ${QCADDIR}/doc +.endif + @${MKDIR} ${QCADSAMPLEDIR} + ${CP} -R ${WRKSRC}/examples/* ${QCADSAMPLEDIR} + ${SED} -e "s;%%PREFIX%%;${PREFIX};g" \ + < ${FILESDIR}/qcad.in > ${PREFIX}/bin/qcad + ${CHMOD} +x ${PREFIX}/bin/qcad + +.include <bsd.port.mk> |