Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= kseg |
8 |
PORTNAME= kseg |
9 |
PORTVERSION= 0.351 |
9 |
PORTVERSION= 0.352 |
10 |
CATEGORIES= math graphics |
10 |
CATEGORIES= math graphics |
11 |
MASTER_SITES= http://www.mit.edu/~ibaran/ |
11 |
MASTER_SITES= http://www.mit.edu/~ibaran/ |
12 |
|
12 |
|
Lines 17-34
Link Here
|
17 |
USE_X_PREFIX= yes |
17 |
USE_X_PREFIX= yes |
18 |
USE_REINPLACE= yes |
18 |
USE_REINPLACE= yes |
19 |
|
19 |
|
20 |
pre-configure: |
20 |
pre-patch: |
21 |
${REINPLACE_CMD} -e "s@\$$(QTDIR)@${QT_PREFIX}@; s@^CC=@#CC=@; s@-O2@${CFLAGS} ${PTHREAD_CFLAGS}@" ${WRKSRC}/Makefile ${WRKSRC}/formula/Makefile |
21 |
${REINPLACE_CMD} -e "s@\$$(QTDIR)@${QT_PREFIX}@; s@^CC =@#CC =@; s@-O2@${CFLAGS} ${PTHREAD_CFLAGS}@" ${WRKSRC}/Makefile ${WRKSRC}/formula/Makefile |
22 |
${REINPLACE_CMD} -e "s@-lqt@-lqt-mt ${PTHREAD_LIBS}@; " ${WRKSRC}/Makefile |
22 |
${REINPLACE_CMD} -e "s@-lqt@-lqt-mt ${PTHREAD_LIBS}@; " ${WRKSRC}/Makefile |
23 |
|
23 |
|
24 |
do-install: |
24 |
do-install: |
25 |
${INSTALL_PROGRAM} ${WRKSRC}/kseg ${PREFIX}/bin |
25 |
${INSTALL_PROGRAM} ${WRKSRC}/kseg ${PREFIX}/bin |
26 |
${MKDIR} ${PREFIX}/lib/X11/kseg |
26 |
${MKDIR} ${PREFIX}/lib/X11/kseg |
27 |
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/lib/X11/kseg |
27 |
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/lib/X11/kseg |
28 |
.for TRANS in de en es fr hu nb pt xx |
28 |
.for TRANS in de en es fr hu nb nl pt xx |
29 |
${INSTALL_DATA} ${WRKSRC}/kseg_${TRANS}.qm ${PREFIX}/lib/X11/kseg |
29 |
${INSTALL_DATA} ${WRKSRC}/kseg_${TRANS}.qm ${PREFIX}/lib/X11/kseg |
30 |
.endfor |
30 |
.endfor |
31 |
.for TRANS in en |
31 |
.for TRANS in en es |
32 |
${INSTALL_DATA} ${WRKSRC}/kseg_help_${TRANS}.html ${PREFIX}/lib/X11/kseg |
32 |
${INSTALL_DATA} ${WRKSRC}/kseg_help_${TRANS}.html ${PREFIX}/lib/X11/kseg |
33 |
.endfor |
33 |
.endfor |
34 |
${MKDIR} ${PREFIX}/lib/X11/kseg/examples |
34 |
${MKDIR} ${PREFIX}/lib/X11/kseg/examples |