aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cons/Makefile
blob: a31c2565dfe8d510afe8e5b2701ea9cf6ddb2901 (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
# New ports collection makefile for:    cons
# Date created:     11 December 1998
# Whom:         rv@gnu.org
#
# $FreeBSD$
#

PORTNAME=   cons
PORTVERSION=    2.2.0
PORTREVISION=   1
CATEGORIES= devel
MASTER_SITES=   http://www.dsmit.com/cons/stable/ \
        http://www.gnu.org/software/cons/stable/ \
        ftp://ftp.gnu.org/pub/gnu/cons/ \
        http://www.baldmt.com/cons/stable/
EXTRACT_SUFX=   .tgz

MAINTAINER= rv@gnu.org
COMMENT=    A Perl-based Make Replacement

RUN_DEPENDS=    ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5

USE_PERL5=  yes
NO_BUILD=   yes
PLIST_SUB=  CONS_VER=${PORTVERSION}

MANCOMPRESSED=  yes
MAN1=       cons.1
DOCS=       CHANGES COPYING COPYRIGHT INSTALL MANIFEST README RELEASE \
        cons.html TODO
DOCSDIR=    ${PREFIX}/share/doc/${PKGNAME}

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/cons ${PREFIX}/bin/cons
    ${INSTALL_MAN} ${WRKSRC}/cons.1.gz ${PREFIX}/man/man1/cons.1.gz
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.for f in ${DOCS}
    ${INSTALL} -c ${WRKSRC}/$f ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>