Lines 7-12
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= mtoolsfm |
8 |
PORTNAME= mtoolsfm |
9 |
PORTVERSION= 1.9.3 |
9 |
PORTVERSION= 1.9.3 |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= x11-fm |
11 |
CATEGORIES= x11-fm |
11 |
MASTER_SITES= http://www.core-coutainville.org/MToolsFM/archive/SOURCES/ |
12 |
MASTER_SITES= http://www.core-coutainville.org/MToolsFM/archive/SOURCES/ |
12 |
DISTNAME= MToolsFM-${PORTVERSION:R}-${PORTVERSION:E} |
13 |
DISTNAME= MToolsFM-${PORTVERSION:R}-${PORTVERSION:E} |
Lines 29-36
Link Here
|
29 |
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure |
30 |
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure |
30 |
@${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g ; \ |
31 |
@${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g ; \ |
31 |
s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/MToolsFM.1 |
32 |
s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/MToolsFM.1 |
32 |
@find ${WRKSRC} -name 'Makefile.in' | xargs ${PERL} -pi -e \ |
33 |
@${FIND} ${WRKSRC} -name 'Makefile.in' | ${XARGS} ${PERL} -pi -e \ |
33 |
's|MToolsFM|mtoolsfm|g' |
34 |
's|MToolsFM|mtoolsfm|g' |
|
|
35 |
.for file in src/mtoolsfm.h po/de.po po/fr.po |
36 |
@${MV} -f ${WRKSRC}/${file} ${WRKSRC}/${file}.preedit |
37 |
@${CAT} ${WRKSRC}/${file}.preedit | \ |
38 |
${TR} '\264' '\047' > ${WRKSRC}/${file} |
39 |
.endfor |
34 |
|
40 |
|
35 |
pre-build: |
41 |
pre-build: |
36 |
@${LN} -sf ${WRKSRC}/MToolsFM.1 ${WRKSRC}/mtoolsfm.1 |
42 |
@${LN} -sf ${WRKSRC}/MToolsFM.1 ${WRKSRC}/mtoolsfm.1 |