freebsd-ports/x11-themes/irssi-themes/Makefile
2013-10-28 13:44:28 +00:00

42 lines
907 B
Makefile

# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$
PORTNAME= irssi-themes
PORTVERSION= 20101013
CATEGORIES= x11-themes irc
MASTER_SITES= http://www.irssi.org/themefiles/ \
CRITICAL
MASTER_SITE_SUBDIR= ${PORTNAME}
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Collection of additional irssi themes
RUN_DEPENDS= irssi:${PORTSDIR}/irc/irssi
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
PLIST_DIRSTRY= share/irssi/themes share/irssi
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>