| 1 |
# New ports collection makefile for: ncdialog |
| 2 |
# Date created: 2003-01-11 |
| 3 |
# Whom: AlanE <[email protected]> |
| 4 |
# |
| 5 |
# $Carpetsmoker: ports/cdialog/Makefile,v 1.4 2007/04/22 11:30:53 carpetsmoker Exp $ |
| 6 |
# $FreeBSD: ports/devel/cdialog/Makefile,v 1.40 2012/11/17 05:55:36 svnexp Exp $ |
| 7 |
# |
| 8 |
|
| 9 |
PORTNAME= cdialog |
| 10 |
PORTVERSION= 1.3.20260107 |
| 11 |
PORTEPOCH= 1 |
| 12 |
CATEGORIES= devel |
| 13 |
MASTER_SITES= https://invisible-island.net/archives/${PORTNAME:S|^c||}/ |
| 14 |
DISTNAME= ${PORTNAME:S|^c||}-${PORTVERSION:R}-${PORTVERSION:E} |
| 15 |
EXTRACT_SUFX= .tgz |
| 16 |
|
| 17 |
MAINTAINER= [email protected] |
| 18 |
COMMENT= An enhanced version of 'dialog' to work with ncurses |
| 19 |
|
| 20 |
LICENSE= LGPL21 |
| 21 |
|
| 22 |
USE_AUTOTOOLS= libtool |
| 23 |
GNU_CONFIGURE= yes |
| 24 |
USE_LDCONFIG= yes |
| 25 |
CONFIGURE_ARGS= --enable-widec \ |
| 26 |
--includedir=${PREFIX}/include/${PORTNAME} \ |
| 27 |
--with-libtool \ |
| 28 |
--with-ncursesw \ |
| 29 |
--with-package=${PORTNAME} |
| 30 |
MAKEFILE= makefile |
| 31 |
|
| 32 |
MAN1= cdialog.1 |
| 33 |
MAN3= cdialog.3 |
| 34 |
MANCOMPRESSED= no |
| 35 |
|
| 36 |
INSTALL_TARGET= install-strip install-man install-lib |
| 37 |
|
| 38 |
.if !defined(NOPORTEXAMPLES) |
| 39 |
post-patch: |
| 40 |
@${FIND} ${WRKSRC}/samples/ -type f -exec ${REINPLACE_CMD} -i "" "s|dialog|cdialog|g" {} \; |
| 41 |
|
| 42 |
post-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> |