1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/math/kseg/Makefile
Tilman Keskinoz e845d0c4aa Update to 0.4. Bump PORTEPOCH, because 352 > 4.
PR:		51154
Submitted by:	maintainer
2003-05-09 12:07:29 +00:00

40 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.4
PORTEPOCH= 1
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 it ja nb nl pt xx
${INSTALL_DATA} ${WRKSRC}/kseg_${TRANS}.qm ${PREFIX}/lib/X11/kseg
.endfor
.for TRANS in en es it
${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>