aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2014-02-19 00:53:59 +0800
committergahr <gahr@FreeBSD.org>2014-02-19 00:53:59 +0800
commitb3ebae7bfc1a053ad409f85adb1453ebdeb78bb9 (patch)
treee252a17c9e25692bf33a65108454e88f2c2a8839 /irc
parentb2fff025e388d6b955d79617e33849536618f296 (diff)
downloadfreebsd-ports-gnome-b3ebae7bfc1a053ad409f85adb1453ebdeb78bb9.tar.gz
freebsd-ports-gnome-b3ebae7bfc1a053ad409f85adb1453ebdeb78bb9.tar.zst
freebsd-ports-gnome-b3ebae7bfc1a053ad409f85adb1453ebdeb78bb9.zip
- STAGE-clean
- Get rid of pkg-plist
Diffstat (limited to 'irc')
-rw-r--r--irc/roxirc/Makefile19
-rw-r--r--irc/roxirc/pkg-plist8
2 files changed, 8 insertions, 19 deletions
diff --git a/irc/roxirc/Makefile b/irc/roxirc/Makefile
index 1c18df3117b4..4003b929c8c2 100644
--- a/irc/roxirc/Makefile
+++ b/irc/roxirc/Makefile
@@ -13,20 +13,17 @@ COMMENT= A tcl/tk irc client
USES+= tk:run
NO_BUILD= yes
-NO_STAGE= yes
+PLIST_FILES= bin/roxirc
+PORTDOCS= *
+
post-patch:
@${REINPLACE_CMD} 's|if \[ -x .*|${WISH} "$$0" "$$@"|' ${WRKSRC}/roxirc
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/roxirc ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/config ${DOCSDIR}/config-example
- ${INSTALL_DATA} ${WRKSRC}/menus ${DOCSDIR}/menus-example
- ${INSTALL_DATA} ${WRKSRC}/bindings ${DOCSDIR}/bindings-example
- ${INSTALL_DATA} ${WRKSRC}/prefs ${DOCSDIR}/prefs-initial
- ${INSTALL_DATA} ${WRKSRC}/startup ${DOCSDIR}/startup-example
- ${INSTALL_DATA} ${WRKSRC}/help ${DOCSDIR}/help
-.endif
+ ${INSTALL_SCRIPT} ${WRKSRC}/roxirc ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for f in config menus bindings prefs startup help
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/${f}-example
+.endfor
.include <bsd.port.mk>
diff --git a/irc/roxirc/pkg-plist b/irc/roxirc/pkg-plist
deleted file mode 100644
index 57532154fa15..000000000000
--- a/irc/roxirc/pkg-plist
+++ /dev/null
@@ -1,8 +0,0 @@
-bin/roxirc
-%%PORTDOCS%%%%DOCSDIR%%/bindings-example
-%%PORTDOCS%%%%DOCSDIR%%/config-example
-%%PORTDOCS%%%%DOCSDIR%%/menus-example
-%%PORTDOCS%%%%DOCSDIR%%/prefs-initial
-%%PORTDOCS%%%%DOCSDIR%%/startup-example
-%%PORTDOCS%%%%DOCSDIR%%/help
-%%PORTDOCS%%@dirrm %%DOCSDIR%%