aboutsummaryrefslogtreecommitdiffstats
path: root/polish/fortunepl
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-06-27 04:26:48 +0800
committerpawel <pawel@FreeBSD.org>2014-06-27 04:26:48 +0800
commite427921cc861c95220b870faf4d3799fc65176d6 (patch)
treec1079ad86c93adb507866ddb0668d6be4a5f688d /polish/fortunepl
parent143aa46a9ab5c6246fd6543983c1cc8a60779323 (diff)
downloadfreebsd-ports-gnome-e427921cc861c95220b870faf4d3799fc65176d6.tar.gz
freebsd-ports-gnome-e427921cc861c95220b870faf4d3799fc65176d6.tar.zst
freebsd-ports-gnome-e427921cc861c95220b870faf4d3799fc65176d6.zip
- Add staging support
- Unmute install commands
Diffstat (limited to 'polish/fortunepl')
-rw-r--r--polish/fortunepl/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/polish/fortunepl/Makefile b/polish/fortunepl/Makefile
index 68fc0da69e68..73f56dec8170 100644
--- a/polish/fortunepl/Makefile
+++ b/polish/fortunepl/Makefile
@@ -12,7 +12,7 @@ PATCHFILES= fortunes-pl_${PORTVERSION}.freebsd.pl \
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 argante bajki bok cnp cows \
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: