1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/devel/cdialog/Makefile

46 lines
1.3 KiB
Makefile
Raw Normal View History

# ex:ts=8
# -*-mode: makefile-*-
#
# New ports collection makefile for: ncdialog
# Date created: 2003-01-11
# Whom: AlanE <alane@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= cdialog
2004-12-15 11:37:03 +00:00
PORTVERSION= 1.0.20041118
2003-02-02 23:59:50 +00:00
PORTEPOCH= 1
CATEGORIES= devel
2003-02-02 23:59:50 +00:00
MASTER_SITES= ftp://invisible-island.net/dialog/
DISTNAME= ${PORTNAME:S|^c||}-${PORTVERSION:R}-${PORTVERSION:E}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= An enhanced version of 'dialog' to work with ncurses
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAKEFILE= makefile
MAN1= cdialog.1
MAN3= cdialog.3
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dialog ${PREFIX}/bin/cdialog
@${MKDIR} ${PREFIX}/include/cdialog
${INSTALL_DATA} ${WRKSRC}/dialog.h ${PREFIX}/include/cdialog/dialog.h
${INSTALL_DATA} ${WRKSRC}/dlg_colors.h ${PREFIX}/include/cdialog/dlg_colors.h
${INSTALL_DATA} ${WRKSRC}/dlg_config.h ${PREFIX}/include/cdialog/dlg_config.h
${INSTALL_DATA} ${WRKSRC}/libdialog.a ${PREFIX}/lib/libcdialog.a
${INSTALL_MAN} ${WRKSRC}/dialog.1 ${MAN1PREFIX}/man/man1/cdialog.1
${INSTALL_MAN} ${WRKSRC}/dialog.3 ${MAN3PREFIX}/man/man3/cdialog.3
.if !defined(NOPORTDOCS)
@${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC}/samples && ${FIND} . | \
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>