summaryrefslogtreecommitdiffstats
path: root/x11/evilvte/Makefile
blob: 9c59e62972339313e396e2a110c0f2b932274c82 (plain)
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
# Created by: chinsan
# $FreeBSD$

PORTNAME=	evilvte
DISTVERSION=	0.5.2~pre1
PORTREVISION=	2
CATEGORIES=	x11 gnome
MASTER_SITES=	http://www.calno.com/${PORTNAME}/

MAINTAINER=	aragon@phat.za.net
COMMENT=	VTE based, super lightweight terminal emulator

USES=		pkgconfig gmake tar:xz
HAS_CONFIGURE=	yes
ALL_TARGET=	evilvte
INSTALLS_ICONS=	yes
USE_GNOME=	vte

pre-everything::
.if !defined(EVILVTE_CONF)
	@${ECHO_MSG}
	@${ECHO_MSG} "!! NOTE !!"
	@${ECHO_MSG}
	@${ECHO_MSG} "You can build evilvte with your own config.h using the EVILVTE_CONF knob:"
	@${ECHO_MSG} "make EVILVTE_CONF=/path/to/evilvte-config.h install clean"
	@${ECHO_MSG}
.endif

post-patch:
	@${REINPLACE_CMD} -e '/^make/ s/make/gmake/' ${WRKSRC}/src/process.sh
.if defined(EVILVTE_CONF)
	@${ECHO_MSG} "creating config.h from ${EVILVTE_CONF}"
	@${CP} ${EVILVTE_CONF} ${WRKSRC}/src/config.h
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud