svn commit: r359418 - head/polish/fortunepl

Pawel Pekala pawel at FreeBSD.org
Thu Jun 26 20:26:49 UTC 2014


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 at 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:


More information about the svn-ports-head mailing list