1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/math/kseg/Makefile
Yen-Ming Lee 04c04b5b86 Update to 0.352
PR:		48589
Submitted by:	Kuang-che Wu <kcwu@kcwu.dyndns.org>
2003-02-23 13:40:57 +00:00

39 lines
1.1 KiB
Makefile

# 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>