1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/devel/rhtvision/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

55 lines
1.2 KiB
Makefile

# New ports collection makefile for: rhtvision
# Date created: 18 June 2002
# Whom: Hye-Shik Chang
#
# $FreeBSD$
#
PORTNAME= rhtvision
PORTVERSION= 2.0.3
PORTREVISION= 4
CATEGORIES= devel
MASTER_SITES= SF
MASTER_SITE_SUBDIR= tvision
DISTNAME= rhtvision-${PORTVERSION}.src
MAINTAINER= perky@FreeBSD.org
COMMENT= Complete C++ Text User Interface (TUI) library
WRKSRC= ${WRKDIR}/tvision
USE_PERL5= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
.endif
.if !defined(WITHOUT_X11)
USE_XORG= x11 xrender xmu sm xt ice
PLIST_SUB+= X11_ONLY=""
CFLAGS+= -I${LOCALBASE}/include
.else
PLIST_SUB+= X11_ONLY="@comment "
pre-configure:
${ECHO} "HAVE_X11 => no" > ${WRKSRC}/configure.cache
.endif
post-patch:
.for f in config.pl confignt.pl conflib.pl linux/compress Makefile.in
@${REINPLACE_CMD} -e 's,/usr/bin/perl,${PERL5},g' \
-e 's,/usr/local,${LOCALBASE},g' \
-e 's,/usr/X11R6,${LOCALBASE},g' \
-e 's,\(soname.*\)Version,\1VersionMajor,g' \
-e 's/\tmake/\t\\$$(MAKE)/g' \
-e 's/ make/ $$(MAKE)/g' \
${WRKSRC}/${f}
.endfor
.include <bsd.port.post.mk>