aboutsummaryrefslogtreecommitdiff
path: root/devel/cons/Makefile
blob: fb367b0fe00dc922b4fe1139892200361d416c92 (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
# New ports collection makefile for:	cons
# Version required:     1.6a3
# Date created:		11 December 1998
# Whom:			rv@fore.com
#
# $Id: Makefile,v 1.3 1999/05/01 03:17:15 steve Exp $
#

DISTNAME=	cons-1.6a3
CATEGORIES=	devel
MASTER_SITES=	http://www.dsmit.com/cons/ \
		http://www.telerama.com/~bgarcia/cons/
EXTRACT_SUFX=	.tgz

MAINTAINER=	rv@fore.com

RUN_DEPENDS=	${PREFIX}/lib/perl5/site_perl/${PERL_VER}/MD5.pm:${PORTSDIR}/security/p5-MD5

USE_PERL5=	yes
NO_BUILD=	yes
PLIST_SUB=	CONS_VER=1.6a3

MAN1=		cons.1
DOCS=		CHANGES COPYRIGHT INSTALL MANIFEST README RELEASE cons.html

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

.include <bsd.port.mk>