blob: 5d76f3fff4bbdf44d955e23d8a28963a1a8826b9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# New ports collection makefile for: qcad
# Date created: 10 Dec 1999
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= qcad
PORTVERSION= 1.3.3
CATEGORIES= cad
MASTER_SITES= http://www.ultraviolet.org/qcad/
DISTNAME= qcad_source
MAINTAINER= will@FreeBSD.org
USE_XLIB= yes
MAKEFILE= makefile
MAKE_ENV= CC="${CXX}"
USE_QT2= yes
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>
|