mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
45 lines
1.0 KiB
Makefile
45 lines
1.0 KiB
Makefile
# Created by: AlanE <alane@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cdialog
|
|
PORTVERSION= 1.1.20120215
|
|
PORTEPOCH= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ftp://invisible-island.net/${PORTNAME:S|^c||}/
|
|
DISTNAME= ${PORTNAME:S|^c||}-${PORTVERSION:R}-${PORTVERSION:E}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= sylvio@FreeBSD.org
|
|
COMMENT= An enhanced version of 'dialog' to work with ncurses
|
|
|
|
LICENSE= LGPL21
|
|
|
|
USE_AUTOTOOLS= libtool
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
CONFIGURE_ARGS= --enable-widec \
|
|
--includedir=${PREFIX}/include/${PORTNAME} \
|
|
--with-libtool \
|
|
--with-ncursesw \
|
|
--with-package=${PORTNAME}
|
|
MAKEFILE= makefile
|
|
|
|
MAN1= cdialog.1
|
|
MAN3= cdialog.3
|
|
MANCOMPRESSED= no
|
|
|
|
INSTALL_TARGET= install-strip install-man install-lib
|
|
|
|
NO_STAGE= yes
|
|
.if !defined(NOPORTEXAMPLES)
|
|
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}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|