aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cons/Makefile
blob: 46d59333217c32e716dd35ddd96d2b44be7be1c6 (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
# Created by: rv@gnu.org
# $FreeBSD$

PORTNAME=   cons
PORTVERSION=    2.2.0
PORTREVISION=   3
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=    Perl-based Make Replacement

USES=       perl5
NO_BUILD=   yes
PLIST_SUB=  CONS_VER=${PORTVERSION}

DOCS=       CHANGES COPYING COPYRIGHT INSTALL MANIFEST README RELEASE \
        cons.html TODO
DOCSDIR=    ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}

OPTIONS_DEFINE= DOCS

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/cons ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/cons.1.gz ${STAGEDIR}${MANPREFIX}/man/man1
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${DOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>