freebsd-ports/devel/cdialog/Makefile
Jeremy Messenger 789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00

48 lines
1.2 KiB
Makefile

# New ports collection makefile for: ncdialog
# Date created: 2003-01-11
# Whom: AlanE <alane@freebsd.org>
#
# $Carpetsmoker: ports/cdialog/Makefile,v 1.4 2007/04/22 11:30:53 carpetsmoker Exp $
# $FreeBSD$
#
PORTNAME= cdialog
PORTVERSION= 1.1.20080819
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= ftp://invisible-island.net/dialog/
DISTNAME= ${PORTNAME:S|^c||}-${PORTVERSION:R}-${PORTVERSION:E}
EXTRACT_SUFX= .tgz
MAINTAINER= scjamorim@bsd.com.br
COMMENT= An enhanced version of 'dialog' to work with ncurses
USE_AUTOTOOLS= libtool:22
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --includedir=${PREFIX}/include/${PORTNAME} --with-libtool
MAKEFILE= makefile
MAN1= cdialog.1
MAN3= cdialog.3
MANCOMPRESSED= no
INSTALL_TARGET= install-strip install-man install-lib
post-patch:
@${FIND} ${WRKSRC}/samples/ -type f -exec ${REINPLACE_CMD} -i "" "s|dialog|cdialog|g" {} \;
post-install:
@${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC}/samples && ${FIND} . | \
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
.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>