1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/x11/urxvt-perls/Makefile

40 lines
846 B
Makefile

# $FreeBSD$
PORTNAME= urxvt-perls
PORTVERSION= 2.0
CATEGORIES= x11
MAINTAINER= rea@FreeBSD.org
COMMENT= Perl extension scripts for rxvt-unicode terminal emulator
LICENSE= GPLv2
RUN_DEPENDS= ${LOCALBASE}/bin/urxvt:${PORTSDIR}/x11/rxvt-unicode
NO_BUILD= yes
USE_GITHUB= yes
GH_ACCOUNT= muennich
GH_COMMIT= dd6e9d7
INSTDIR_REL= lib/urxvt/perl
SCRIPTS= clipboard keyboard-select url-select
PLIST_FILES+= ${SCRIPTS:C/^/${INSTDIR_REL}\//}
PLIST_DIRSTRY+= ${INSTDIR_REL}
.if !defined(NOPORTDOCS)
PLIST_FILES+= ${DOCSDIR_REL}/README
PLIST_DIRS+= ${DOCSDIR_REL}
.endif
NO_STAGE= yes
do-install:
${MKDIR} ${PREFIX}/${INSTDIR_REL}
.for s in ${SCRIPTS}
${INSTALL_DATA} ${WRKSRC}/${s} ${PREFIX}/${INSTDIR_REL}
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${DOCSDIR}/README
.endif
.include <bsd.port.mk>