aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cdialog/Makefile
blob: 403986c8d04954c1eea90cc7e74d3ce304e3f319 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# ex:ts=8
# -*-mode: makefile-*-
#
# New ports collection makefile for:    ncdialog
# Date created:     2003-01-11
# Whom:         AlanE <alane@freebsd.org>
#
# $FreeBSD$
#

PORTNAME=   cdialog
PORTVERSION=    0.9b.20030308
PORTREVISION=   1
PORTEPOCH=  1
CATEGORIES= devel
MASTER_SITES=   ftp://invisible-island.net/dialog/
DISTNAME=   ${PORTNAME:S|^c||}-${PORTVERSION:S|.200|-200|}
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    An enhanced version of 'dialog' to work with ncurses

USE_GMAKE=  yes
GNU_CONFIGURE=  yes
MAKEFILE=   makefile

BINDIR?=    ${PREFIX}/bin
INCLUDEDIR?=    ${PREFIX}/include/cdialog
LIBDIR?=    ${PREFIX}/lib
MAN1DIR?=   ${MANPREFIX}/man/man1

do-install:
    cd ${WRKSRC};\
    ${MKDIR} ${BINDIR} ${INCLUDEDIR} ${LIBDIR}; \
    ${INSTALL_PROGRAM} dialog ${BINDIR}/cdialog;\
    ${INSTALL_DATA} dialog.h colors.h ${INCLUDEDIR}; \
    $(INSTALL_DATA) libdialog.a $(LIBDIR)/libcdialog.a;\
    ${INSTALL_DATA} dialog.1 ${MAN1DIR}/cdialog.1

.include <bsd.port.pre.mk>
.include "${FILESDIR}/manpages.mk"
.include <bsd.port.post.mk>
#EOF