summaryrefslogtreecommitdiff
path: root/sysutils/hidesvn/Makefile
blob: fbb3171b25bc55f770bd344de2cd9b12b7534f02 (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
# New ports collection makefile for:	hidesvn
# Date created:				6 March 2009
# Whom:					Ed Schouten <ed@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	hidesvn
PORTVERSION=	1.2
CATEGORIES=	sysutils
MASTER_SITES=	http://80386.nl/projects/${PORTNAME}/distfiles/

MAINTAINER=	ed@FreeBSD.org
COMMENT=	Utility that uses LD_PRELOAD to hide .svn directories

MAKEFILE=	BSDmakefile

PLIST_FILES=	bin/${PORTNAME} lib/lib${PORTNAME}.so
MAN1=		${PORTNAME}.1

USE_LDCONFIG=	yes
USE_XZ=		yes

post-patch:
	${REINPLACE_CMD} 's|/usr/local|${PREFIX}|' ${WRKSRC}/${PORTNAME}.sh

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
	${INSTALL_DATA} ${WRKSRC}/lib${PORTNAME}.so ${PREFIX}/lib
	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1

.include <bsd.port.mk>