aboutsummaryrefslogtreecommitdiff
path: root/textproc/diffsplit/Makefile
blob: 6350866b2bc3f4e733fc7440a7b7c482a550ccc0 (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:	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=
EXTRACT_ONLY=

MAINTAINER=	trevor@FreeBSD.org

NO_BUILD=	YES
NO_WRKSUBDIR=	YES
PLIST=		${WRKDIR}/pkg-plist
USE_PERL5=	YES

do-extract:
	${MKDIR} ${WRKDIR}
	${CP} ${DISTDIR}/${DIST_SUBDIR}/diffsplit ${WRKDIR}

do-patch:
	${PERL} -pi -e "s:/usr/bin/perl:${PERL5}:g" ${WRKDIR}/diffsplit

pre-install:
	${ECHO_CMD} bin/diffsplit > ${PLIST}

do-install:
	${INSTALL_SCRIPT} ${WRKDIR}/diffsplit ${PREFIX}/bin

.include <bsd.port.mk>