Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 2014 20:26:48 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r359418 - head/polish/fortunepl
Message-ID:  <201406262026.s5QKQmbP098440@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Thu Jun 26 20:26:48 2014
New Revision: 359418
URL: http://svnweb.freebsd.org/changeset/ports/359418
QAT: https://qat.redports.org/buildarchive/r359418/

Log:
  - Add staging support
  - Unmute install commands

Modified:
  head/polish/fortunepl/Makefile

Modified: head/polish/fortunepl/Makefile
==============================================================================
--- head/polish/fortunepl/Makefile	Thu Jun 26 20:17:59 2014	(r359417)
+++ head/polish/fortunepl/Makefile	Thu Jun 26 20:26:48 2014	(r359418)
@@ -12,7 +12,7 @@ PATCHFILES=	fortunes-pl_${PORTVERSION}.f
 		fortunes-pl_${PORTVERSION}.filozofia
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A lot of funny Polish fortune files
+COMMENT=	Lot of funny Polish fortune files
 
 STRCMD=		/usr/games/strfile
 WRKSRC=		${WRKDIR}/fortunes-pl-${PORTVERSION}.orig
@@ -28,7 +28,6 @@ FORTUNES=	7thguard advocacy apcoh argant
 		teleturnieje testnaosobowosc wierszyki wieza-pilot zen \
 		znaki_zodiaku
 
-NO_STAGE=	yes
 pre-everything::
 .if !exists(${STRCMD})
 IGNORE=		need strfile command. Please install games distribution of base system
@@ -44,13 +43,12 @@ do-build:
 .endfor
 
 do-install:
-	@${MKDIR} ${PREFIX}/share/games
-	@${MKDIR} ${PREFIX}/share/games/fortune
-	@${MKDIR} ${PREFIX}/share/games/fortune/pl
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune/pl
 .for FILE in ${FORTUNES}
-	@${ECHO_CMD} "Installing ${FILE} into ${PREFIX}/share/games/fortune/pl/"
-	@${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/share/games/fortune/pl
-	@${INSTALL_DATA} ${WRKSRC}/${FILE}.dat ${PREFIX}/share/games/fortune/pl
+	${INSTALL_DATA} ${WRKSRC}/${FILE} \
+		${STAGEDIR}${PREFIX}/share/games/fortune/pl
+	${INSTALL_DATA} ${WRKSRC}/${FILE}.dat \
+		${STAGEDIR}${PREFIX}/share/games/fortune/pl
 .endfor
 
 post-install:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406262026.s5QKQmbP098440>