Bug 191299 - russian/fortuneru: port upgrade (staging)
Summary: russian/fortuneru: port upgrade (staging)
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-23 10:01 UTC by obezpalko
Modified: 2014-06-28 04:24 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description obezpalko 2014-06-23 10:01:02 UTC
port upgrade (staging)

Fix:
Index: Makefile
===================================================================
--- Makefile (revision 358906)
+++ Makefile (working copy)
@@ -16,11 +16,10 @@

 STRCMD= /usr/games/strfile

-NO_STAGE= yes
 do-install:
  @${SETENV} STRCMD=${STRCMD} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
- @${MKDIR} ${PREFIX}/share/games/fortune/rus
- ${INSTALL_DATA} ${WRKSRC}/* ${PREFIX}/share/games/fortune/rus
+ @${MKDIR} ${STAGE}${PREFIX}/share/games/fortune/rus
+ ${INSTALL_DATA} ${WRKSRC}/* ${STAGE}${PREFIX}/share/games/fortune/rus

 pre-install:
 .if !exists(${STRCMD})
@@ -29,12 +28,12 @@
 .endif

 post-install:
- @for fortune in ${PREFIX}/share/games/fortune/rus/* ; do \
+ @for fortune in ${STAGE}${PREFIX}/share/games/fortune/rus/* ; do \
  ${STRCMD} $$fortune >/dev/null 2>/dev/null ; \
  done
Comment 1 Raphael Kubo da Costa freebsd_committer freebsd_triage 2014-06-23 17:25:01 UTC
Is this a duplicate of bug 180228?
Comment 2 commit-hook freebsd_committer freebsd_triage 2014-06-28 04:24:26 UTC
A commit references this bug:

Author: miwi
Date: Sat Jun 28 04:23:32 UTC 2014
New revision: 359647
URL: http://svnweb.freebsd.org/changeset/ports/359647

Log:
  - Stage support

  PR:		191299

Changes:
  head/russian/fortuneru/Makefile