View | Details | Raw Unified | Return to bug 70728
Collapse All | Expand All

(-)ggiterm/Makefile (-20 / +8 lines)
Lines 17-26 Link Here
17
COMMENT=	A terminal emulator for GGI
17
COMMENT=	A terminal emulator for GGI
18
18
19
LIB_DEPENDS=	ggi.2:${PORTSDIR}/graphics/libggi
19
LIB_DEPENDS=	ggi.2:${PORTSDIR}/graphics/libggi
20
.if !defined(WITHOUT_FREETYPE)
21
LIB_DEPENDS+=	freetype.9:${PORTSDIR}/print/freetype2
22
USE_ICONV=	yes
23
.endif
24
20
25
USE_GMAKE=	yes
21
USE_GMAKE=	yes
26
USE_X_PREFIX=	yes
22
USE_X_PREFIX=	yes
Lines 28-54 Link Here
28
24
29
GNU_CONFIGURE=	yes
25
GNU_CONFIGURE=	yes
30
CONFIGURE_ARGS=	--with-ggi=${LOCALBASE}
26
CONFIGURE_ARGS=	--with-ggi=${LOCALBASE}
27
28
OPTIONS=	FREETYPE "build with Freetype support" on
29
30
.include <bsd.port.pre.mk>
31
31
.if !defined(WITHOUT_FREETYPE)
32
.if !defined(WITHOUT_FREETYPE)
33
LIB_DEPENDS+=	freetype.9:${PORTSDIR}/print/freetype2
34
USE_ICONV=	yes
32
CONFIGURE_ARGS+=--with-ft-prefix=${LOCALBASE}
35
CONFIGURE_ARGS+=--with-ft-prefix=${LOCALBASE}
33
.endif
36
.endif
34
37
35
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
38
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
36
39
37
pre-everything::
38
.if !defined(WITHOUT_FREETYPE)
39
	@${ECHO_MSG} ""
40
	@${ECHO_MSG} "ggiterm can be built without Freetype support. However, as the author says,"
41
	@${ECHO_MSG} "'if you don't have freetype you lose much of the ggiterm reason for being,'"
42
	@${ECHO_MSG} "so you probably don't want this. If you do, cancel now and build with:"
43
	@${ECHO_MSG} "  WITHOUT_FREETYPE=yes"
44
	@${ECHO_MSG} ""
45
.else
46
	@${ECHO_MSG} ""
47
	@${ECHO_MSG} "You have chosen to build ggiterm without Freetype. If this wasn't your"
48
	@${ECHO_MSG} "intention, cancel now and unset the 'WITHOUT_FREETYPE' variable."
49
	@${ECHO_MSG} ""
50
.endif
51
52
post-install:
40
post-install:
53
.if !defined(NOPORTDOCS)
41
.if !defined(NOPORTDOCS)
54
	@${MKDIR} ${DOCSDIR}
42
	@${MKDIR} ${DOCSDIR}
Lines 56-59 Link Here
56
	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
44
	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
57
.endif
45
.endif
58
46
59
.include <bsd.port.mk>
47
.include <bsd.port.post.mk>

Return to bug 70728