aboutsummaryrefslogtreecommitdiff
path: root/devel/cdialog/Makefile
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-04-10 05:40:23 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-04-10 05:40:23 +0000
commitebca52c9a31663e7ea256f9c42188c5962da00c5 (patch)
tree195a96afff7f3f9c5d3fbe239d3fb0473b7d0ea5 /devel/cdialog/Makefile
parentc5561ca73618814ecd0aa5caaba9bc511ddfea0e (diff)
- Update to 1.1.20070325
- Pass maintainership to submitter - While I'm here, enable wide character support on newer system PR: ports/111385 Submitted by: Martin Tournoij <carpetsmoker at xs4all.nl>
Notes
Notes: svn path=/head/; revision=189633
Diffstat (limited to 'devel/cdialog/Makefile')
-rw-r--r--devel/cdialog/Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/devel/cdialog/Makefile b/devel/cdialog/Makefile
index f2ea67aae2d0..b85005567483 100644
--- a/devel/cdialog/Makefile
+++ b/devel/cdialog/Makefile
@@ -2,21 +2,21 @@
# Date created: 2003-01-11
# Whom: AlanE <alane@freebsd.org>
#
+# $Carpetsmoker: ports/cdialog/Makefile,v 1.1 2007/04/08 17:19:30 carpetsmoker Exp $
# $FreeBSD$
#
PORTNAME= cdialog
-PORTVERSION= 1.0.20060221
+PORTVERSION= 1.1.20070325
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= ftp://invisible-island.net/dialog/
DISTNAME= ${PORTNAME:S|^c||}-${PORTVERSION:R}-${PORTVERSION:E}
EXTRACT_SUFX= .tgz
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= carpetsmoker@xs4all.nl
COMMENT= An enhanced version of 'dialog' to work with ncurses
-USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --includedir=${PREFIX}/include/${PORTNAME}
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@@ -26,11 +26,19 @@ MAN1= cdialog.1
MAN3= cdialog.3
MANCOMPRESSED= no
-INSTALL_TARGET= install-strip install-lib
+INSTALL_TARGET= install-strip install-man install-lib
post-install:
@${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC}/samples && ${FIND} . | \
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} > 700032 || (${OSVERSION} < 700000 && ${OSVERSION} > 602106)
+CONFIGURE_ARGS+= --with-ncursesw --enable-widec
+.else
+CONFIGURE_ARGS+= --with-ncurses
+.endif
+
+.include <bsd.port.post.mk>