aboutsummaryrefslogtreecommitdiffstats
path: root/x11-themes
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2013-10-28 21:44:28 +0800
committerehaupt <ehaupt@FreeBSD.org>2013-10-28 21:44:28 +0800
commitc6b4c0e6667f8f0fe7a2bfcfc14269173898880d (patch)
tree5d25bcfacd714d617cac46455428a8e492803575 /x11-themes
parentb1d56196dbb4c4f1f8ec7c00aa9665bd0469451a (diff)
downloadfreebsd-ports-gnome-c6b4c0e6667f8f0fe7a2bfcfc14269173898880d.tar.gz
freebsd-ports-gnome-c6b4c0e6667f8f0fe7a2bfcfc14269173898880d.tar.zst
freebsd-ports-gnome-c6b4c0e6667f8f0fe7a2bfcfc14269173898880d.zip
Support staging.
Diffstat (limited to 'x11-themes')
-rw-r--r--x11-themes/irssi-themes/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/x11-themes/irssi-themes/Makefile b/x11-themes/irssi-themes/Makefile
index 2de3cb56635d..77a087ef7bee 100644
--- a/x11-themes/irssi-themes/Makefile
+++ b/x11-themes/irssi-themes/Makefile
@@ -16,19 +16,17 @@ RUN_DEPENDS= irssi:${PORTSDIR}/irc/irssi
NO_BUILD= yes
-PLIST= ${WRKDIR}/pkg-plist
-
THEMESDIR_REL= share/irssi/themes
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.include "${MASTERDIR}/Makefile.inc"
-pre-install:
.for f in ${DISTFILES}
- @${ECHO_CMD} "${THEMESDIR_REL}/${f}" >> ${PLIST}
+PLIST_FILES+= ${THEMESDIR_REL}/${f}
.endfor
+PLIST_DIRSTRY= share/irssi/themes share/irssi
+
do-extract:
@${MKDIR} ${WRKSRC}
.for f in ${DISTFILES}
@@ -36,8 +34,9 @@ do-extract:
.endfor
do-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${THEMESDIR_REL}
.for f in ${DISTFILES}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/${THEMESDIR_REL}/
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/${THEMESDIR_REL}
.endfor
.include <bsd.port.post.mk>