blob: 6ef8f0e2cee004fb23a00befef2ef1591193d8a8 (
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
|
# New ports collection makefile for: kseg
# Date created: 4 September 2001
# Whom: Kuang-che Wu <kcwu@ck.tp.edu.tw>
#
# $FreeBSD$
#
PORTNAME= kseg
PORTVERSION= 0.352
CATEGORIES= math graphics
MASTER_SITES= http://www.mit.edu/~ibaran/
MAINTAINER= kcwu@ck.tp.edu.tw
COMMENT= A simulator of euclidean geometry
USE_QT_VER= 3
USE_X_PREFIX= yes
USE_REINPLACE= yes
pre-patch:
${REINPLACE_CMD} -e "s@\$$(QTDIR)@${QT_PREFIX}@; s@^CC =@#CC =@; s@-O2@${CFLAGS} ${PTHREAD_CFLAGS}@" ${WRKSRC}/Makefile ${WRKSRC}/formula/Makefile
${REINPLACE_CMD} -e "s@-lqt@-lqt-mt ${PTHREAD_LIBS}@; " ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/kseg ${PREFIX}/bin
${MKDIR} ${PREFIX}/lib/X11/kseg
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/lib/X11/kseg
.for TRANS in de en es fr hu nb nl pt xx
${INSTALL_DATA} ${WRKSRC}/kseg_${TRANS}.qm ${PREFIX}/lib/X11/kseg
.endfor
.for TRANS in en es
${INSTALL_DATA} ${WRKSRC}/kseg_help_${TRANS}.html ${PREFIX}/lib/X11/kseg
.endfor
${MKDIR} ${PREFIX}/lib/X11/kseg/examples
for EXAMPLES in ${WRKSRC}/examples/*;do \
${INSTALL_DATA} $${EXAMPLES} ${PREFIX}/lib/X11/kseg/examples;done
.include <bsd.port.mk>
|