aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/stowES/Makefile
blob: 4c67b099f0cf5843afc18029c68ca9247abf5edd (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
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$

PORTNAME=   stowES
PORTVERSION=    0.5.7
CATEGORIES= sysutils
MASTER_SITES=   http://os.inf.tu-dresden.de/~adam/stowES/download/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Stow enhancement script

LICENSE=    GPLv2

RUN_DEPENDS=    stow:sysutils/stow

OPTIONS_DEFINE= DOCS

USES=       gmake perl5
GNU_CONFIGURE=  yes

PORTDOCS=   AUTHORS ChangeLog NEWS README TODO \
        ${PORTNAME}.html ${PORTNAME}.pod ${PORTNAME}.txt
PLIST_FILES=    bin/${PORTNAME} man/man1/${PORTNAME}.1.gz

.include <bsd.port.options.mk>

post-patch:
    @${REINPLACE_CMD} -e "s|'md5sum',|'md5',|" ${WRKSRC}/${PORTNAME}.in

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_SCRIPT} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>