mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
40 lines
980 B
Makefile
40 lines
980 B
Makefile
# New ports collection makefile for: cons
|
|
# Date created: 11 December 1998
|
|
# Whom: rv@gnu.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= cons
|
|
PORTVERSION= 2.0.2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.dsmit.com/cons/stable/ \
|
|
http://www.gnu.org/software/cons/stable/ \
|
|
ftp://ftp.gnu.org/pub/gnu/cons/stable/${PORTVERSION}/ \
|
|
http://www.baldmt.com/cons/stable/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= rv@gnu.org
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${ARCH}-freebsd/MD5.pm:${PORTSDIR}/security/p5-MD5
|
|
|
|
USE_PERL5= yes
|
|
NO_BUILD= yes
|
|
PLIST_SUB= CONS_VER=${PORTVERSION}
|
|
|
|
MAN1= cons.1
|
|
DOCS= CHANGES COPYING COPYRIGHT INSTALL MANIFEST README RELEASE \
|
|
cons.html TODO
|
|
|
|
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>
|