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

PORTNAME=   hidesvn
PORTVERSION=    1.0
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

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>