aboutsummaryrefslogtreecommitdiff
path: root/x11/urxvt-perls/Makefile
blob: 6364b7a961a781c332e146f23513d642a409058a (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

PORTNAME=	urxvt-perls
PORTVERSION=	2.0
PORTREVISION=	1
CATEGORIES=	x11

MAINTAINER=	rea@FreeBSD.org
COMMENT=	Perl extension scripts for rxvt-unicode terminal emulator

LICENSE=	GPLv2

RUN_DEPENDS=	${LOCALBASE}/bin/urxvt:x11/rxvt-unicode

NO_BUILD=	yes
USE_GITHUB=	yes
GH_ACCOUNT=	muennich
PORTDOCS=	README

INSTDIR_REL=	lib/urxvt/perl
SCRIPTS=	clipboard keyboard-select url-select
PLIST_FILES+=	${SCRIPTS:C/^/${INSTDIR_REL}\//}

OPTIONS_DEFINE=	DOCS

do-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/${INSTDIR_REL}
.for s in ${SCRIPTS}
	${INSTALL_DATA} ${WRKSRC}/${s} ${STAGEDIR}${PREFIX}/${INSTDIR_REL}
.endfor
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/README

.include <bsd.port.mk>