From b6994ddbb76a51f04a8b10974d4e4931777ef88b Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Tue, 18 Feb 2014 16:53:59 +0000 Subject: [PATCH] - STAGE-clean - Get rid of pkg-plist --- irc/roxirc/Makefile | 19 ++++++++----------- irc/roxirc/pkg-plist | 8 -------- 2 files changed, 8 insertions(+), 19 deletions(-) delete mode 100644 irc/roxirc/pkg-plist 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 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%%