freebsd-ports/x11-themes/irssi-themes/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

39 lines
845 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/ \
LOCAL/ehaupt/${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
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>