1 # New ports collection makefile for: ncdialog
2 # Date created: 2003-01-11
3 # Whom: AlanE <alane@freebsd.org>
5 # $Carpetsmoker: ports/cdialog/Makefile,v 1.4 2007/04/22 11:30:53 carpetsmoker Exp $
10 PORTVERSION= 1.2.20130923
13 MASTER_SITES= ftp://invisible-island.net/${PORTNAME:S|^c||}/
14 DISTNAME= ${PORTNAME:S|^c||}-${PORTVERSION:R}-${PORTVERSION:E}
17 MAINTAINER= sylvio@FreeBSD.org
18 COMMENT= An enhanced version of 'dialog' to work with ncurses
22 USE_AUTOTOOLS= libtool
25 CONFIGURE_ARGS= --enable-widec \
26 --includedir=${PREFIX}/include/${PORTNAME} \
29 --with-package=${PORTNAME}
36 INSTALL_TARGET= install-strip install-man install-lib
38 .if !defined(NOPORTEXAMPLES)
40 @${FIND} ${WRKSRC}/samples/ -type f -exec ${REINPLACE_CMD} -i "" "s|dialog|cdialog|g" {} \;
43 @${MKDIR} ${EXAMPLESDIR}
44 cd ${WRKSRC}/samples && ${FIND} . | \
45 ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
48 .include <bsd.port.mk>