mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
f67050feec
in any of them, but will be happy to assign MAINTAINER to others and commit updates for them.
43 lines
1014 B
Makefile
43 lines
1014 B
Makefile
# New ports collection makefile for: qcad
|
|
# Date created: 10 Dec 1999
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= qcad
|
|
PORTVERSION= 1.4.1
|
|
CATEGORIES= cad
|
|
MASTER_SITES= http://www.qcad.org/archives/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
USE_XLIB= yes
|
|
MAKE_ENV= CC="${CXX}"
|
|
USE_QT2= yes
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
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>
|