1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/x11/ggiterm/Makefile

58 lines
1.1 KiB
Makefile
Raw Normal View History

# Created by: andi_payn@speedymail.com
# $FreeBSD$
PORTNAME= ggiterm
PORTVERSION= 0.7.1
PORTREVISION= 3
CATEGORIES= x11
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= A terminal emulator for GGI
LIB_DEPENDS= ggi.2:${PORTSDIR}/graphics/libggi
DEPRECATED= Unmaintained and broken
EXPIRATION_DATE=2013-09-01
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-ggi-prefix=${LOCALBASE}
CPPFLAGS+= ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LIBS}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
SUB_FILES= pkg-message
2012-05-31 14:49:26 +00:00
OPTIONS_DEFINE= FREETYPE DOCS
OPTIONS_DEFAULT= FREETYPE
PORTDOCS= AUTHORS README
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 900007
BROKEN= fails to build with new utmpx
.endif
2012-05-31 14:49:26 +00:00
.if ${PORT_OPTIONS:MFREETYPE}
LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
USES+= iconv
CONFIGURE_ARGS+=--with-ft-prefix=${LOCALBASE}
.else
CONFIGURE_ARGS+=--without-freetype
.endif
MAN1= ggiterm.1
post-install:
@${INSTALL_DATA} ${WRKSRC}/ggiterm.termcap ${DATADIR}
2012-05-31 14:49:26 +00:00
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>