blob: 45fc3578ada07715eded06cf1885039a4145abc0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
# New ports collection makefile for: ec-fonts-mftraced
# Date created: Tue Apr 19 01:45:54 UTC 2005
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= ec-fonts-mftraced
PORTVERSION= 1.0.12
CATEGORIES= print
MASTER_SITES= http://lilypond.org/download/fonts/
MAINTAINER= lioux@FreeBSD.org
COMMENT= EC PostScript Type1 fonts with TFMs for TeX
BUILD_DEPENDS= \
mftrace:${PORTSDIR}/print/mftrace \
potrace:${PORTSDIR}/graphics/potrace \
updmap:${PORTSDIR}/print/teTeX-base
USE_REINPLACE= yes
HAS_CONFIGURE= yes
USE_GMAKE= yes
MAKEFILE= GNUmakefile
MAKE_ARGS= \
prefix=${PREFIX} \
builddir=${WRKDIR} \
docdir=${PREFIX}/share/doc \
sysconfdir=${PREFIX}/etc \
TEXDIR=${PREFIX}/${TEXMFLOCALDIR} \
TEXCONFDIR=${PREFIX}/${TEXMFLOCALDIR}
PKGDEINSTALL= ${PKGINSTALL}
PLIST_SUB= TEXMFLOCALDIR="${TEXMFLOCALDIR}"
PORTDOCS= \
COPYING \
ChangeLog \
INSTALL \
LICENSE \
README
#
TEXMFLOCALDIR= share/texmf-local
post-install:
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} \
${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -E \
-e 's|function[[:space:]]*||' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
.if !exists(${LOCALBASE}/bin/potrace)
@${REINPLACE_CMD} -E \
-e 's|--potrace|--autotrace|' \
${BUILD_WRKSRC}/${MAKEFILE}
.endif
@${REINPLACE_CMD} -E \
-e 's|^([[:space:]]*cp)|\1 -f|' \
${BUILD_WRKSRC}/${MAKEFILE}
.ifdef(NOPORTDOCS)
@${REINPLACE_CMD} -E \
-e 's|^.*\(docdir\).*$$||' \
${BUILD_WRKSRC}/${MAKEFILE}
.endif
.include <bsd.port.post.mk>
|