Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= xfstt |
8 |
PORTNAME= xfstt |
9 |
PORTVERSION= 1.4 |
9 |
PORTVERSION= 1.6 |
10 |
CATEGORIES= x11-servers |
10 |
CATEGORIES= x11-servers |
11 |
MASTER_SITES= http://download.berlios.de/xfstt/ |
11 |
MASTER_SITES= http://download.berlios.de/xfstt/ |
12 |
|
12 |
|
Lines 17-37
Link Here
|
17 |
USE_REINPLACE= yes |
17 |
USE_REINPLACE= yes |
18 |
GNU_CONFIGURE= yes |
18 |
GNU_CONFIGURE= yes |
19 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
19 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
20 |
CONFIGURE_ARGS= --disable-nls |
20 |
CONFIGURE_ARGS= --localstatedir=/var --disable-nls |
21 |
|
21 |
|
22 |
MAN1= xfstt.1x |
22 |
MAN1= xfstt.1x |
23 |
|
23 |
|
24 |
TTFONTDIR= ${PREFIX}/lib/X11/fonts/TrueType |
24 |
TTFONTDIR= ${PREFIX}/lib/X11/fonts/TrueType |
25 |
|
25 |
|
26 |
post-patch: |
26 |
post-patch: |
27 |
.for file in INSTALL doc/xfstt.1x src/perftest.cc src/xfstt.cc |
27 |
.for file in INSTALL doc/xfstt.1x src/Makefile.in |
28 |
@${REINPLACE_CMD} -e 's|%%TTFONTDIR%%|${TTFONTDIR}|g' ${WRKSRC}/${file} |
28 |
@${REINPLACE_CMD} -e 's|%%TTFONTDIR%%|${TTFONTDIR}|g' ${WRKSRC}/${file} |
29 |
.endfor |
29 |
.endfor |
|
|
30 |
@${SED} -e "s:%%PREFIX%%:${PREFIX}:g" ${FILESDIR}/xfstt.sh \ |
31 |
> ${WRKSRC}/xfstt.sh |
30 |
|
32 |
|
31 |
post-install: |
33 |
post-install: |
32 |
${SED} -e "s:%%PREFIX%%:${PREFIX}:g" ${FILESDIR}/xfstt.sh \ |
34 |
${INSTALL_SCRIPT} ${WRKSRC}/xfstt.sh ${PREFIX}/etc/rc.d |
33 |
> ${PREFIX}/etc/rc.d/xfstt.sh |
|
|
34 |
@${CHMOD} 755 ${PREFIX}/etc/rc.d/xfstt.sh |
35 |
@${MKDIR} ${TTFONTDIR} |
35 |
@${MKDIR} ${TTFONTDIR} |
36 |
.if !defined{NOPORTDOCS} |
36 |
.if !defined{NOPORTDOCS} |
37 |
@${MKDIR} ${DOCSDIR} |
37 |
@${MKDIR} ${DOCSDIR} |