svn commit: r351140 - branches/2014Q2/games/xrick
Pawel Pekala
pawel at FreeBSD.org
Sat Apr 12 21:25:21 UTC 2014
Author: pawel
Date: Sat Apr 12 21:25:20 2014
New Revision: 351140
URL: http://svnweb.freebsd.org/changeset/ports/351140
QAT: https://qat.redports.org/buildarchive/r351140/
Log:
MFH: r351130
- Fix build with clang by respecting CC, CFLAGS
- Add staging support
- Remove leading article from COMMENT
- Convert to new LIB_DEPENDS format, USES=gmake
- Switch to PLIST_FILES
Approved by: portmgr (erwin)
Deleted:
branches/2014Q2/games/xrick/pkg-plist
Modified:
branches/2014Q2/games/xrick/Makefile
Directory Properties:
branches/2014Q2/ (props changed)
Modified: branches/2014Q2/games/xrick/Makefile
==============================================================================
--- branches/2014Q2/games/xrick/Makefile Sat Apr 12 21:23:13 2014 (r351139)
+++ branches/2014Q2/games/xrick/Makefile Sat Apr 12 21:25:20 2014 (r351140)
@@ -9,25 +9,26 @@ MASTER_SITES= http://www.bigorno.net/xri
EXTRACT_SUFX= .tgz
MAINTAINER= ports at FreeBSD.org
-COMMENT= A clone of Rick Dangerous
+COMMENT= Clone of Rick Dangerous
-LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg
+LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg
RESTRICTED= Copyright status of the graphics and sounds is uncertain
-USE_GMAKE= yes
+USES= gmake
USE_SDL= sdl
-MAN6= xrick.6
-MANCOMPRESSED= yes
+PLIST_FILES= bin/xrick man/man6/xrick.6.gz share/xrick/data.zip
+PLIST_DIRS= share/xrick
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|sysarg_args_data = NULL|sysarg_args_data = "${PREFIX}/share/xrick/data.zip"|' ${WRKSRC}/src/sysarg.c
+ @${REINPLACE_CMD} 's|gcc|${CC}|; s|-g||; s|-O2|${CFLAGS}|' \
+ ${WRKSRC}/Makefile
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/xrick ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/xrick.6.gz ${PREFIX}/man/man6/xrick.6.gz
- ${MKDIR} ${PREFIX}/share/xrick
- ${INSTALL_DATA} ${WRKSRC}/data.zip ${PREFIX}/share/xrick/data.zip
+ ${INSTALL_PROGRAM} ${WRKSRC}/xrick ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/xrick.6.gz ${STAGEDIR}${PREFIX}/man/man6
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/xrick
+ ${INSTALL_DATA} ${WRKSRC}/data.zip ${STAGEDIR}${PREFIX}/share/xrick
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list