Lines 22-35
Link Here
|
22 |
COMMENT= Tools for FreeType 1 |
22 |
COMMENT= Tools for FreeType 1 |
23 |
|
23 |
|
24 |
LIB_DEPENDS= ttf.4:${PORTSDIR}/print/freetype |
24 |
LIB_DEPENDS= ttf.4:${PORTSDIR}/print/freetype |
25 |
BUILD_DEPENDS= ${LOCALBASE}/lib/libkpathsea.a:${PORTSDIR}/print/teTeX-base |
25 |
RUN_DEPENDS= ${LOCALBASE}/lib/libkpathsea.a:${PORTSDIR}/print/teTeX-base |
26 |
RUN_DEPENDS= ${BUILD_DEPENDS} |
26 |
BUILD_DEPENDS= ${RUN_DEPENDS} |
27 |
|
27 |
|
28 |
USE_GMAKE= yes |
28 |
USE_GMAKE= yes |
29 |
USE_AUTOTOOLS= libtool:15 |
29 |
USE_AUTOTOOLS= libtool:15 |
30 |
CONFIGURE_ARGS= --disable-nls --enable-static --enable-shared |
30 |
CONFIGURE_ARGS= --disable-nls --enable-static --enable-shared |
31 |
|
31 |
|
32 |
TEXMFMAIN= ${PREFIX}/share/texmf |
32 |
TEXMFMAIN= ${TARGETDIR}/share/texmf |
33 |
|
33 |
|
34 |
MAN1= ttf2bdf.1 ttf2tfm.1 ttf2pk.1 |
34 |
MAN1= ttf2bdf.1 ttf2tfm.1 ttf2pk.1 |
35 |
|
35 |
|
Lines 38-50
Link Here
|
38 |
${WRKSRC}/configure |
38 |
${WRKSRC}/configure |
39 |
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ |
39 |
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ |
40 |
's|LIBTOOL =.*|LIBTOOL = ${LIBTOOL}|' |
40 |
's|LIBTOOL =.*|LIBTOOL = ${LIBTOOL}|' |
41 |
@${FIND} ${WRKSRC} -name '*.orig' | ${XARGS} ${RM} |
41 |
@${FIND} ${WRKSRC} -name '*.orig' -delete |
42 |
|
42 |
|
43 |
post-build: |
43 |
post-build: |
44 |
@cd ${WRKSRC}/contrib/ttf2bdf && ./configure --prefix=${PREFIX} && ${GMAKE} |
44 |
@cd ${WRKSRC}/contrib/ttf2bdf && ./configure --prefix=${TARGETDIR} && ${GMAKE} |
45 |
@cd ${WRKSRC}/contrib/ttf2pfb && ./configure --prefix=${PREFIX} && ${GMAKE} |
45 |
@cd ${WRKSRC}/contrib/ttf2pfb && ./configure --prefix=${TARGETDIR} && ${GMAKE} |
46 |
@cd ${WRKSRC}/contrib/ttf2pk && ./configure --prefix=${PREFIX} --with-kpathsea-dir=${LOCALBASE} && ${GMAKE} |
46 |
@cd ${WRKSRC}/contrib/ttf2pk && ./configure --prefix=${TARGETDIR} --with-kpathsea-dir=${LOCALBASE} && ${GMAKE} |
47 |
@cd ${WRKSRC}/contrib/ttfbanner && ./configure --prefix=${PREFIX} && ${GMAKE} |
47 |
@cd ${WRKSRC}/contrib/ttfbanner && ./configure --prefix=${TARGETDIR} && ${GMAKE} |
48 |
|
48 |
|
49 |
do-install: |
49 |
do-install: |
50 |
@cd ${WRKSRC}/contrib/ttf2bdf && ${GMAKE} install |
50 |
@cd ${WRKSRC}/contrib/ttf2bdf && ${GMAKE} install |
Lines 53-59
Link Here
|
53 |
@cd ${WRKSRC}/contrib/ttfbanner && ${GMAKE} install |
53 |
@cd ${WRKSRC}/contrib/ttfbanner && ${GMAKE} install |
54 |
@${MKDIR} ${TEXMFMAIN}/ttf2pk |
54 |
@${MKDIR} ${TEXMFMAIN}/ttf2pk |
55 |
@for f in ${WRKSRC}/contrib/ttf2pk/data/*; do \ |
55 |
@for f in ${WRKSRC}/contrib/ttf2pk/data/*; do \ |
56 |
${INSTALL_DATA} $$f ${TEXMFMAIN}/ttf2pk; \ |
56 |
${INSTALL_DATA} $$f ${TEXMFMAIN}/ttf2pk; \ |
57 |
done |
57 |
done |
58 |
@${LN} -fs ${TEXMFMAIN}/ttf2pk ${TEXMFMAIN}/ttf2tfm |
58 |
@${LN} -fs ${TEXMFMAIN}/ttf2pk ${TEXMFMAIN}/ttf2tfm |