mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
6f6fbe4bdf
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav
58 lines
1.1 KiB
Makefile
58 lines
1.1 KiB
Makefile
# New ports collection makefile for: ggiterm
|
|
# Date created: 20 October 2003
|
|
# Whom: andi_payn@speedymail.com
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ggiterm
|
|
PORTVERSION= 0.7.1
|
|
PORTREVISION= 3
|
|
CATEGORIES= x11
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= antoine.brodin@laposte.net
|
|
COMMENT= A terminal emulator for GGI
|
|
|
|
LIB_DEPENDS= ggi.2:${PORTSDIR}/graphics/libggi
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-ggi-prefix=${LOCALBASE}
|
|
CPPFLAGS+= ${PTHREAD_CFLAGS}
|
|
LDFLAGS+= ${PTHREAD_LIBS}
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
SUB_FILES= pkg-message
|
|
|
|
OPTIONS= FREETYPE "Build with Freetype support" on
|
|
|
|
PORTDOCS= AUTHORS README
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} > 900007
|
|
BROKEN= fails to build with new utmpx
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_FREETYPE)
|
|
LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
|
|
USE_ICONV= yes
|
|
CONFIGURE_ARGS+=--with-ft-prefix=${LOCALBASE}
|
|
.else
|
|
CONFIGURE_ARGS+=--without-freetype
|
|
.endif
|
|
|
|
MAN1= ggiterm.1
|
|
|
|
post-install:
|
|
@${INSTALL_DATA} ${WRKSRC}/ggiterm.termcap ${DATADIR}
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|