2002-10-10 20:49:22 +02:00
|
|
|
# New ports collection makefile for: diffsplit
|
|
|
|
# Date created: 2002-10-10
|
|
|
|
# Whom: trevor
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= diffsplit
|
|
|
|
PORTVERSION= 1.0
|
|
|
|
CATEGORIES= textproc devel
|
|
|
|
MASTER_SITES= http://www.pathname.com/~quinlan/software/diffsplit/
|
|
|
|
DISTNAME= diffsplit
|
|
|
|
EXTRACT_SUFX=
|
2002-10-10 23:42:01 +02:00
|
|
|
EXTRACT_ONLY=
|
2002-10-10 20:49:22 +02:00
|
|
|
|
2006-12-22 14:43:54 +01:00
|
|
|
MAINTAINER= barner@FreeBSD.org
|
2003-03-01 15:34:33 +01:00
|
|
|
COMMENT= Splits a unified diff into pieces which patch one file each
|
2002-10-10 20:49:22 +02:00
|
|
|
|
2002-10-10 23:42:01 +02:00
|
|
|
NO_BUILD= YES
|
|
|
|
NO_WRKSUBDIR= YES
|
2004-04-07 18:33:56 +02:00
|
|
|
PLIST_FILES= bin/diffsplit
|
2002-10-10 20:49:22 +02:00
|
|
|
USE_PERL5= YES
|
|
|
|
|
2002-10-10 23:54:39 +02:00
|
|
|
do-extract:
|
2004-04-07 18:33:56 +02:00
|
|
|
@${MKDIR} ${WRKDIR}
|
|
|
|
@${CP} ${DISTDIR}/${DIST_SUBDIR}/diffsplit ${WRKDIR}
|
2002-10-10 23:54:39 +02:00
|
|
|
|
|
|
|
do-patch:
|
2004-04-07 18:33:56 +02:00
|
|
|
@${PERL} -pi -e "s:/usr/bin/perl:${PERL5}:g" ${WRKDIR}/diffsplit
|
2002-10-10 20:49:22 +02:00
|
|
|
|
2002-10-10 23:42:01 +02:00
|
|
|
do-install:
|
2004-04-07 18:33:56 +02:00
|
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/diffsplit ${PREFIX}/bin
|
2002-10-10 23:42:01 +02:00
|
|
|
|
2002-10-10 20:49:22 +02:00
|
|
|
.include <bsd.port.mk>
|