diff options
author | pawel <pawel@FreeBSD.org> | 2014-04-13 04:04:19 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-04-13 04:04:19 +0800 |
commit | fcc2424841ab00b488050160b45ef9cdfc98ce47 (patch) | |
tree | 6132b985607c5b5777082b93b71f374b2897ce0a /games/xrick | |
parent | 5080086064464f42e0eb30228adaf6459714870a (diff) | |
download | freebsd-ports-gnome-fcc2424841ab00b488050160b45ef9cdfc98ce47.tar.gz freebsd-ports-gnome-fcc2424841ab00b488050160b45ef9cdfc98ce47.tar.zst freebsd-ports-gnome-fcc2424841ab00b488050160b45ef9cdfc98ce47.zip |
- 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
MFH: 2014Q2
Diffstat (limited to 'games/xrick')
-rw-r--r-- | games/xrick/Makefile | 21 | ||||
-rw-r--r-- | games/xrick/pkg-plist | 3 |
2 files changed, 11 insertions, 13 deletions
diff --git a/games/xrick/Makefile b/games/xrick/Makefile index 1f6562582f3a..4873763635f0 100644 --- a/games/xrick/Makefile +++ b/games/xrick/Makefile @@ -9,25 +9,26 @@ MASTER_SITES= http://www.bigorno.net/xrick/ EXTRACT_SUFX= .tgz MAINTAINER= ports@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> diff --git a/games/xrick/pkg-plist b/games/xrick/pkg-plist deleted file mode 100644 index 131b147053f8..000000000000 --- a/games/xrick/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/xrick -share/xrick/data.zip -@dirrm share/xrick |