55 lines
1.3 KiB
Makefile
55 lines
1.3 KiB
Makefile
# New ports collection makefile for: evilvte
|
|
# Date created: 2008/06/03
|
|
# Whom: chinsan
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= evilvte
|
|
PORTVERSION= 0.5.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= x11 gnome
|
|
MASTER_SITES= http://www.calno.com/${PORTNAME}/ \
|
|
LOCAL/glarkin
|
|
|
|
MAINTAINER= aragon@phat.za.net
|
|
COMMENT= A VTE based, super lightweight terminal emulator
|
|
|
|
USE_XZ= yes
|
|
USE_GMAKE= yes
|
|
HAS_CONFIGURE= yes
|
|
ALL_TARGET= evilvte
|
|
USE_GNOME= vte
|
|
|
|
MAN1= evilvte.1 showvte.1
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 700000
|
|
BROKEN= does not compile on 6.X
|
|
.endif
|
|
|
|
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:
|
|
# disable man page installation
|
|
@${REINPLACE_CMD} -e '59,60 d' ${WRKSRC}/Makefile
|
|
@${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
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/misc/evilvte.1 ${PREFIX}/man/man1
|
|
${INSTALL_MAN} ${WRKSRC}/misc/showvte.1 ${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.post.mk>
|