summaryrefslogtreecommitdiff
path: root/sysutils/stowES/Makefile
blob: d183990ff0424e967a1bbf2e50c02062ac5d1586 (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
37
38
39
40
41
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$

PORTNAME=	stowES
PORTVERSION=	0.5.6
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:${PORTSDIR}/sysutils/stow

USES=		perl5
USE_GMAKE=	yes
GNU_CONFIGURE=	yes

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

OPTIONS_DEFINE=	DOCS

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

.include <bsd.port.options.mk>

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

.include <bsd.port.mk>