diff options
author | danfe <danfe@FreeBSD.org> | 2007-03-19 19:32:45 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2007-03-19 19:32:45 +0800 |
commit | 94d844ad1d3f8e90a42f4b5c639415d72b694c39 (patch) | |
tree | 161d804d9472e8c6dc61b6167e655b147bc27c56 /games | |
parent | 19f80b469af4481720aeeee4f711a29aa25bd202 (diff) | |
download | freebsd-ports-gnome-94d844ad1d3f8e90a42f4b5c639415d72b694c39.tar.gz freebsd-ports-gnome-94d844ad1d3f8e90a42f4b5c639415d72b694c39.tar.zst freebsd-ports-gnome-94d844ad1d3f8e90a42f4b5c639415d72b694c39.zip |
- Do not extract things during `pre-patch' phase
- Fix `libcurl.so' support
Based on PR: ports/110418
Submitted by: Dierk Sacher
Diffstat (limited to 'games')
-rw-r--r-- | games/nexuiz/Makefile | 7 | ||||
-rw-r--r-- | games/xonotic/Makefile | 7 |
2 files changed, 10 insertions, 4 deletions
diff --git a/games/nexuiz/Makefile b/games/nexuiz/Makefile index 00504f652d2a..c76c9fbf4a80 100644 --- a/games/nexuiz/Makefile +++ b/games/nexuiz/Makefile @@ -7,6 +7,7 @@ PORTNAME= nexuiz PORTVERSION= 2.2.3 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -39,7 +40,8 @@ OPTIONS= CLIENT "Build GLX client" on \ # Loads libraries on run-time, thus RUN_DEPENDS RUN_DEPENDS= ${LOCALBASE}/lib/libvorbis.so:${PORTSDIR}/audio/libvorbis \ ${LOCALBASE}/lib/libjpeg.so:${PORTSDIR}/graphics/jpeg \ - ${LOCALBASE}/lib/libpng.so:${PORTSDIR}/graphics/png + ${LOCALBASE}/lib/libpng.so:${PORTSDIR}/graphics/png \ + ${LOCALBASE}/lib/libcurl.so:${PORTSDIR}/ftp/curl .endif .if !defined(WITHOUT_CLIENT) @@ -65,13 +67,14 @@ PLIST_SUB+= SERVER="" PLIST_SUB+= SERVER="@comment " .endif -pre-patch: +post-extract: @${EXTRACT_CMD} ${WRKDIR}/Nexuiz/sources/enginesource20070123.zip \ -d ${WRKDIR}/Nexuiz/sources @${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},; 88,$$d' \ ${WRKSRC}/${MAKEFILE} @${REINPLACE_CMD} -E 's,(fs_basedir\, )"",\1"${DATADIR}",' ${WRKSRC}/fs.c @${REINPLACE_CMD} -e 's,RTLD_LAZY,& | RTLD_GLOBAL,' ${WRKSRC}/vid_glx.c + @${REINPLACE_CMD} -E 's,(libcurl\.so)\.3,\1,' ${WRKSRC}/libcurl.c do-build: @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \ diff --git a/games/xonotic/Makefile b/games/xonotic/Makefile index 00504f652d2a..c76c9fbf4a80 100644 --- a/games/xonotic/Makefile +++ b/games/xonotic/Makefile @@ -7,6 +7,7 @@ PORTNAME= nexuiz PORTVERSION= 2.2.3 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -39,7 +40,8 @@ OPTIONS= CLIENT "Build GLX client" on \ # Loads libraries on run-time, thus RUN_DEPENDS RUN_DEPENDS= ${LOCALBASE}/lib/libvorbis.so:${PORTSDIR}/audio/libvorbis \ ${LOCALBASE}/lib/libjpeg.so:${PORTSDIR}/graphics/jpeg \ - ${LOCALBASE}/lib/libpng.so:${PORTSDIR}/graphics/png + ${LOCALBASE}/lib/libpng.so:${PORTSDIR}/graphics/png \ + ${LOCALBASE}/lib/libcurl.so:${PORTSDIR}/ftp/curl .endif .if !defined(WITHOUT_CLIENT) @@ -65,13 +67,14 @@ PLIST_SUB+= SERVER="" PLIST_SUB+= SERVER="@comment " .endif -pre-patch: +post-extract: @${EXTRACT_CMD} ${WRKDIR}/Nexuiz/sources/enginesource20070123.zip \ -d ${WRKDIR}/Nexuiz/sources @${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},; 88,$$d' \ ${WRKSRC}/${MAKEFILE} @${REINPLACE_CMD} -E 's,(fs_basedir\, )"",\1"${DATADIR}",' ${WRKSRC}/fs.c @${REINPLACE_CMD} -e 's,RTLD_LAZY,& | RTLD_GLOBAL,' ${WRKSRC}/vid_glx.c + @${REINPLACE_CMD} -E 's,(libcurl\.so)\.3,\1,' ${WRKSRC}/libcurl.c do-build: @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \ |