2002-06-17 18:35:25 +00:00
|
|
|
# New ports collection makefile for: rhtvision
|
|
|
|
# Date created: 18 June 2002
|
|
|
|
# Whom: Hye-Shik Chang
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= rhtvision
|
2004-11-30 16:17:30 +00:00
|
|
|
PORTVERSION= 2.0.3
|
2006-01-30 03:27:57 +00:00
|
|
|
PORTREVISION= 1
|
2002-06-17 18:35:25 +00:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= tvision
|
|
|
|
DISTNAME= rhtvision-${PORTVERSION}.src
|
|
|
|
|
2002-06-25 07:50:58 +00:00
|
|
|
MAINTAINER= perky@FreeBSD.org
|
2003-02-25 06:25:35 +00:00
|
|
|
COMMENT= Complete C++ Text User Interface (TUI) library
|
2002-06-17 18:35:25 +00:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/tvision
|
2002-07-23 22:54:13 +00:00
|
|
|
USE_PERL5= yes
|
2002-06-17 18:35:25 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX}
|
|
|
|
|
2004-09-26 03:28:55 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2006-01-30 03:27:57 +00:00
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
.endif
|
|
|
|
|
2002-11-19 17:10:51 +00:00
|
|
|
.if !defined(WITHOUT_X11)
|
|
|
|
USE_XLIB= yes
|
|
|
|
PLIST_SUB+= X11_ONLY=""
|
2003-11-02 21:58:39 +00:00
|
|
|
CFLAGS+= -I${X11BASE}/include
|
2002-11-19 17:10:51 +00:00
|
|
|
.else
|
|
|
|
PLIST_SUB+= X11_ONLY="@comment "
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
${ECHO} "HAVE_X11 => no" > ${WRKSRC}/configure.cache
|
|
|
|
.endif
|
|
|
|
|
2002-06-25 12:57:24 +00:00
|
|
|
post-patch:
|
2003-11-02 21:58:39 +00:00
|
|
|
.for f in config.pl confignt.pl conflib.pl linux/compress Makefile.in
|
2002-10-12 10:46:08 +00:00
|
|
|
@${REINPLACE_CMD} -e 's,/usr/bin/perl,${PERL5},g' \
|
2003-11-02 21:58:39 +00:00
|
|
|
-e 's,/usr/local,${LOCALBASE},g' \
|
|
|
|
-e 's,/usr/X11R6,${X11BASE},g' \
|
|
|
|
-e 's,\(soname.*\)Version,\1VersionMajor,g' \
|
2003-03-31 04:54:01 +00:00
|
|
|
-e 's/\tmake/\t\\$$(MAKE)/g' \
|
|
|
|
-e 's/ make/ $$(MAKE)/g' \
|
2002-10-12 10:46:08 +00:00
|
|
|
${WRKSRC}/${f}
|
2002-06-25 12:57:24 +00:00
|
|
|
.endfor
|
|
|
|
|
2004-09-26 02:50:35 +00:00
|
|
|
.include <bsd.port.post.mk>
|