Bug 182336 - [maintainer] [patch] [stagedir] games/wtf
Summary: [maintainer] [patch] [stagedir] games/wtf
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-23 22:30 UTC by Nikolai Lifanov
Modified: 2013-09-25 02:20 UTC (History)
0 users

See Also:


Attachments
patch.txt (1.31 KB, text/plain)
2013-09-23 22:30 UTC, Nikolai Lifanov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolai Lifanov 2013-09-23 22:30:01 UTC
	Please update games/wtf with STAGEDIR support.

How-To-Repeat: 	Patch is attached.
Comment 1 Nikolai Lifanov 2013-09-24 13:59:57 UTC
Please change @dirrmtry to @dirrm in the submitted patch.
This was an oversight.
Comment 2 Dmitry Marakasov freebsd_committer freebsd_triage 2013-09-25 02:06:29 UTC
Responsible Changed
From-To: freebsd-ports-bugs->amdmi3

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-09-25 02:16:14 UTC
Author: amdmi3
Date: Wed Sep 25 01:16:06 2013
New Revision: 328229
URL: http://svnweb.freebsd.org/changeset/ports/328229

Log:
  - Support staging
  
  PR:		182336
  Submitted by:	Nikolai Lifanov <lifanov@mail.lifanov.com> (maintainer)

Added:
  head/games/wtf/pkg-plist   (contents, props changed)
Modified:
  head/games/wtf/Makefile

Modified: head/games/wtf/Makefile
==============================================================================
--- head/games/wtf/Makefile	Wed Sep 25 01:14:04 2013	(r328228)
+++ head/games/wtf/Makefile	Wed Sep 25 01:16:06 2013	(r328229)
@@ -11,20 +11,14 @@ COMMENT=	Translates common Internet acro
 
 NO_BUILD=	yes
 
-MAN6=		wtf.6
-
-PLIST_FILES=	bin/wtf %%DATADIR%%/acronyms %%DATADIR%%/acronyms.comp
-PLIST_DIRS=	%%DATADIR%%
-
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/share/misc|${DATADIR}|g' ${WRKSRC}/wtf*
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/wtf ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/wtf.6 ${PREFIX}/man/man6
-	@${MKDIR} ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/acronyms ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/acronyms.comp ${DATADIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/wtf ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/wtf.6 ${STAGEDIR}${MAN6PREFIX}/man/man6
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/acronyms ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/acronyms.comp ${STAGEDIR}${DATADIR}
 
 .include <bsd.port.mk>

Added: head/games/wtf/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/wtf/pkg-plist	Wed Sep 25 01:16:06 2013	(r328229)
@@ -0,0 +1,5 @@
+bin/wtf
+man/man6/wtf.6.gz
+%%DATADIR%%/acronyms
+%%DATADIR%%/acronyms.comp
+@dirrm %%DATADIR%%
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Dmitry Marakasov freebsd_committer freebsd_triage 2013-09-25 02:16:16 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!