aboutsummaryrefslogtreecommitdiff
path: root/games/fotaq/Makefile
diff options
context:
space:
mode:
authorLars Engels <lme@FreeBSD.org>2013-10-04 21:04:44 +0000
committerLars Engels <lme@FreeBSD.org>2013-10-04 21:04:44 +0000
commitf4378aa99549dd68ef3d31426068cfc2a63c2d48 (patch)
tree4dbc2963499883a9f75862ec5cce21b4451b709d /games/fotaq/Makefile
parent025ce29c0443682333787424299366129027d6aa (diff)
downloadports-f4378aa99549dd68ef3d31426068cfc2a63c2d48.tar.gz
ports-f4378aa99549dd68ef3d31426068cfc2a63c2d48.zip
- Update to 1.1
- Support staging - Move pkg message to files/pkg-message
Notes
Notes: svn path=/head/; revision=329386
Diffstat (limited to 'games/fotaq/Makefile')
-rw-r--r--games/fotaq/Makefile29
1 files changed, 14 insertions, 15 deletions
diff --git a/games/fotaq/Makefile b/games/fotaq/Makefile
index eefde036adbe..4af2d4e1365b 100644
--- a/games/fotaq/Makefile
+++ b/games/fotaq/Makefile
@@ -2,11 +2,10 @@
# $FreeBSD$
PORTNAME= fotaq
-PORTVERSION= 1.0
-PORTREVISION= 1
+PORTVERSION= 1.1
CATEGORIES= games
MASTER_SITES= SF/scummvm/extras/Flight%20of%20the%20Amazon%20Queen
-DISTNAME= FOTAQ_Talkie
+DISTNAME= FOTAQ_Talkie-${PORTVERSION}
MAINTAINER= lme@FreeBSD.org
COMMENT= Flight of the Amazon Queen: a classic graphical adventure
@@ -16,21 +15,21 @@ RUN_DEPENDS= scummvm:${PORTSDIR}/games/scummvm
USE_ZIP= yes
NO_BUILD= yes
+SUB_FILES= pkg-message
+
WRKSRC= ${WRKDIR}/${DISTNAME}
PKGMESSAGE= ${WRKDIR}/pkg-message
-NO_STAGE= yes
+do-extract:
+ @${RM} -rf ${WRKDIR}
+ @${MKDIR} ${WRKSRC}
+ @cd ${WRKSRC} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
+ ${_DISTDIR}/${EXTRACT_ONLY}
+
do-install:
- @${MKDIR} ${DATADIR}
- @${INSTALL_DATA} ${WRKSRC}/queen.1c ${DATADIR}
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
-.endif
-
-post-install:
- @${SED} -e "s:%%DATADIR%%:${DATADIR}:g" ${.CURDIR}/pkg-message \
- > ${PKGMESSAGE}
- @${CAT} ${PKGMESSAGE}
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ @${INSTALL_DATA} ${WRKSRC}/queen.1c ${STAGEDIR}${DATADIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>