aboutsummaryrefslogtreecommitdiff
path: root/x11-themes/irssi-themes/Makefile
blob: ec0a9311526c9facbfdb801b0f789d080d4261d1 (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
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$

PORTNAME=	irssi-themes
PORTVERSION=	2016082001
CATEGORIES=	x11-themes irc
MASTER_SITES=	https://irssi-import.github.io/themes/ \
		LOCAL/ehaupt/${PORTNAME}-${PORTVERSION}/
DIST_SUBDIR=	${PORTNAME}

MAINTAINER=	ehaupt@FreeBSD.org
COMMENT=	Collection of additional irssi themes

RUN_DEPENDS=	irssi:irc/irssi

NO_ARCH=	yes
NO_BUILD=	yes

THEMESDIR_REL=	share/irssi/themes

.include <bsd.port.pre.mk>
.include "${MASTERDIR}/Makefile.inc"

.for f in ${DISTFILES}
PLIST_FILES+=	${THEMESDIR_REL}/${f}
.endfor

do-extract:
	@${MKDIR} ${WRKSRC}
.for f in ${DISTFILES}
	@${CP} ${DISTDIR}/${DIST_SUBDIR}/${f} ${WRKSRC}
.endfor

do-install:
	@${MKDIR} ${STAGEDIR}${PREFIX}/${THEMESDIR_REL}
.for f in ${DISTFILES}
	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/${THEMESDIR_REL}
.endfor

.include <bsd.port.post.mk>