mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
da7a124774
PR: 123913 Submitted by: Marcus von Appen <mva@sysfault.org> (maintainer)
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# New ports collection makefile for: cvs2cl
|
|
# Date created: 6 June 2000
|
|
# Whom: knu@FreeBSD.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= cvs2cl
|
|
PORTVERSION= 2.71
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.red-bean.com/cvs2cl/ \
|
|
http://www.sysfault.org/freebsd/${DIST_SUBDIR}/
|
|
DISTNAME= ${PORTNAME}
|
|
EXTRACT_SUFX= .pl
|
|
DIST_SUBDIR= ${PORTNAME}/${PORTVERSION}
|
|
EXTRACT_ONLY= # none
|
|
|
|
MAINTAINER= mva@sysfault.org
|
|
COMMENT= CVS-log-message-to-ChangeLog conversion script
|
|
|
|
USE_PERL5= yes
|
|
|
|
NO_WRKSUBDIR= yes
|
|
NO_BUILD= yes
|
|
MANCOMPRESSED= no
|
|
MAN1= ${PORTNAME}.1
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
do-extract:
|
|
@${MKDIR} ${WRKSRC}
|
|
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} ${WRKSRC}/${PORTNAME}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s|exec perl -w -x|exec ${PERL} -w -x|" \
|
|
-e "s|#!perl -w|#!${PERL} -w|" ${WRKSRC}/${PORTNAME}
|
|
@${REINPLACE_CMD} -e \
|
|
"s|=item, B<--group-within-date>|=item B<--group-within-date>|" \
|
|
${WRKSRC}/${PORTNAME}
|
|
|
|
do-install:
|
|
@pod2man ${WRKSRC}/${PORTNAME} > ${WRKSRC}/${PORTNAME}.1
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1/
|
|
|
|
.include <bsd.port.mk>
|