1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/devel/cons/Makefile

41 lines
913 B
Makefile

# 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= A Perl-based Make Replacement
USES= perl5
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/${PORTNAME}-${PORTVERSION}
NO_STAGE= yes
.include <bsd.port.pre.mk>
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.post.mk>