1# New ports collection makefile for: ncdialog 2# Date created: 2003-01-11 3# Whom: AlanE <alane@freebsd.org> 4# 5# $Carpetsmoker: ports/cdialog/Makefile,v 1.4 2007/04/22 11:30:53 carpetsmoker Exp $ 6# $FreeBSD$ 7# 8 9PORTNAME= cdialog 10PORTVERSION= 1.3.20210117 11PORTEPOCH= 1 12CATEGORIES= devel 13MASTER_SITES= ftp://ftp.invisible-island.net/${PORTNAME:S|^c||}/ 14DISTNAME= ${PORTNAME:S|^c||}-${PORTVERSION:R}-${PORTVERSION:E} 15EXTRACT_SUFX= .tgz 16 17MAINTAINER= sylvio@FreeBSD.org 18COMMENT= An enhanced version of 'dialog' to work with ncurses 19 20LICENSE= LGPL21 21 22USE_AUTOTOOLS= libtool 23GNU_CONFIGURE= yes 24USE_LDCONFIG= yes 25CONFIGURE_ARGS= --enable-widec \ 26 --includedir=${PREFIX}/include/${PORTNAME} \ 27 --with-libtool \ 28 --with-ncursesw \ 29 --with-package=${PORTNAME} 30MAKEFILE= makefile 31 32MAN1= cdialog.1 33MAN3= cdialog.3 34MANCOMPRESSED= no 35 36INSTALL_TARGET= install-strip install-man install-lib 37 38.if !defined(NOPORTEXAMPLES) 39post-patch: 40 @${FIND} ${WRKSRC}/samples/ -type f -exec ${REINPLACE_CMD} -i "" "s|dialog|cdialog|g" {} \; 41 42post-install: 43 @${MKDIR} ${EXAMPLESDIR} 44 cd ${WRKSRC}/samples && ${FIND} . | \ 45 ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR} 46.endif 47 48.include <bsd.port.mk> 49