diff options
author | krion <krion@FreeBSD.org> | 2005-01-16 18:15:56 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2005-01-16 18:15:56 +0800 |
commit | 04e71ccd71611cbfc1d0f7e0bad4fa715f3cfdb1 (patch) | |
tree | bd21e1d64cc67690e4c69561b0b4558932d83759 /games/lbreakout2/Makefile | |
parent | d2ffb7b408bdc977344ad8e4c9b248584765ab88 (diff) | |
download | freebsd-ports-gnome-04e71ccd71611cbfc1d0f7e0bad4fa715f3cfdb1.tar.gz freebsd-ports-gnome-04e71ccd71611cbfc1d0f7e0bad4fa715f3cfdb1.tar.zst freebsd-ports-gnome-04e71ccd71611cbfc1d0f7e0bad4fa715f3cfdb1.zip |
Update to version 2.5.2
PR: ports/76279
Submitted by: Ports Fury
Diffstat (limited to 'games/lbreakout2/Makefile')
-rw-r--r-- | games/lbreakout2/Makefile | 36 |
1 files changed, 21 insertions, 15 deletions
diff --git a/games/lbreakout2/Makefile b/games/lbreakout2/Makefile index d7b85bbc6795..c0135e812c18 100644 --- a/games/lbreakout2/Makefile +++ b/games/lbreakout2/Makefile @@ -6,8 +6,7 @@ # PORTNAME= lbreakout2 -PORTVERSION= 2.2.2 -PORTREVISION= 3 +PORTVERSION= 2.5.2 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= lgames @@ -17,27 +16,34 @@ COMMENT= The polished successor to LBreakout LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png -USE_SDL= mixer sdl +USE_SDL= mixer net sdl +USE_REINPLACE= yes USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-highscore-path=/var/games \ - --with-doc-path=${PREFIX}/share/doc -CONFIGURE_ENV= LDFLAGS=-L${LOCALBASE}/lib -USE_REINPLACE= yes +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +CONFIGURE_ARGS= --enable-sdl-net \ + --localstatedir=/var/games + +CPPFLAGS= -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib post-patch: - @${REINPLACE_CMD} -e 's/games\/lbreakout2/lbreakout2/g' \ - ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's/if .*lbreakout2.hscr/if false/' \ - ${WRKSRC}/src/Makefile.in -.if defined(NOPORTDOCS) - @${REINPLACE_CMD} -e 's/ docs / /g' ${WRKSRC}/src/Makefile.in -.endif + @${REINPLACE_CMD} -e \ + 's|== "-D|= "-D|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e \ + 's|client docs|client|g' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e \ + 's|: install-data-local|:|g' ${WRKSRC}/client/Makefile.in post-install: - ${INSTALL_DATA} ${WRKSRC}/src/empty.hscr ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/client/empty.hscr ${DATADIR} @${CHOWN} root:games ${PREFIX}/bin/lbreakout2 @${CHMOD} g+s ${PREFIX}/bin/lbreakout2 +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/*.html ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/*.jpg ${DOCSDIR} +.endif @${SETENV} "PKG_PREFIX=${PREFIX}" \ ${SH} pkg-install ${PKGNAME} POST-INSTALL |