1999-12-22 05:40:56 -05:00
|
|
|
# New ports collection makefile for: qcad
|
|
|
|
# Date created: 10 Dec 1999
|
|
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-08 19:24:42 -04:00
|
|
|
PORTNAME= qcad
|
2000-06-20 04:06:07 -04:00
|
|
|
PORTVERSION= 1.4.1
|
1999-12-22 05:40:56 -05:00
|
|
|
CATEGORIES= cad
|
2000-06-20 04:06:07 -04:00
|
|
|
MASTER_SITES= http://www.qcad.org/archives/
|
2000-05-17 04:30:51 -04:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
1999-12-22 05:40:56 -05:00
|
|
|
|
2000-06-22 01:52:15 -04:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1999-12-22 05:40:56 -05:00
|
|
|
|
|
|
|
USE_XLIB= yes
|
|
|
|
MAKE_ENV= CC="${CXX}"
|
2000-01-05 15:02:11 -05:00
|
|
|
USE_QT2= yes
|
2000-06-20 04:06:07 -04:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
2000-04-29 19:58:51 -04:00
|
|
|
|
1999-12-22 05:40:56 -05:00
|
|
|
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>
|