1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

- Update to 0.18

- Remove 4.x support
- Remove sourge-data/pkg-plist file. Now this is generated dynamically
This commit is contained in:
Jose Alonso Cardenas Marquez 2007-08-18 13:21:09 +00:00
parent b55238b92d
commit 60685c074a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197873
5 changed files with 22 additions and 1221 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= data
PORTVERSION= 0.17
PORTVERSION= 0.18
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= scourge
@ -20,7 +20,15 @@ COMMENT= S.C.O.U.R.G.E data files
NO_BUILD= yes
DATADIR= share/${PKGNAMEPREFIX:S/-//}
WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX:S/-/_/}${PORTNAME}
PLIST= ${WRKDIR}/pkg-plist
WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX:S/-/_/}${PORTNAME}
pre-install:
@${RM} -f ${PLIST}
@cd ${WRKSRC} && \
${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/|' >> ${PLIST} && \
${FIND} * -type d | ${SORT} -r | ${SED} -e 's|^|@dirrm %%DATADIR%%/|' >> ${PLIST}
@${ECHO_CMD} "@dirrm %%DATADIR%%" >> ${PLIST}
do-install:
@cd ${WRKSRC} && \

View File

@ -1,3 +1,3 @@
MD5 (scourge/scourge-0.17.data.tar.gz) = 0aeb7b07dbddbeeaa5711b5a69e3e696
SHA256 (scourge/scourge-0.17.data.tar.gz) = 8a4edcba61e28d60344cb66105f670a7e5f7a231a765bca419b6390f7c052980
SIZE (scourge/scourge-0.17.data.tar.gz) = 77257508
MD5 (scourge/scourge-0.18.data.tar.gz) = 4cf63b226b19af92f659ecaf25fe4616
SHA256 (scourge/scourge-0.18.data.tar.gz) = 95a6c165576e4968b919afc2cd6c1663271c5de749d517e23c920db192308410
SIZE (scourge/scourge-0.18.data.tar.gz) = 79186848

File diff suppressed because it is too large Load Diff

View File

@ -6,8 +6,7 @@
#
PORTNAME= scourge
PORTVERSION= 0.17
PORTREVISION= 1
PORTVERSION= 0.18
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -18,8 +17,9 @@ MAINTAINER= acm@FreeBSD.org
COMMENT= S.C.O.U.R.G.E. is a rogue-like game
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
RUN_DEPENDS= ${DATADIR}/world/gui.txt:${PORTSDIR}/games/scourge-data
RUN_DEPENDS= ${DATADIR}/config/scourge.cfg:${PORTSDIR}/games/scourge-data
USE_AUTOTOOLS= autoconf:261:env
USE_GL= yes
USE_SDL= sdl mixer net
USE_GMAKE= yes
@ -39,14 +39,13 @@ OPTIONS= DEBUG "Produce an executable with debugging symbols" off
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= Some dependencies do not compile on 4.x
.endif
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+= --enable-debug
.endif
pre-configure:
@cd ${WRKSRC} && ${AUTORECONF} -i
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin/

View File

@ -1,3 +1,3 @@
MD5 (scourge/scourge-0.17.src.tar.gz) = 1d932005010bd1cee2fe1d07883bfd65
SHA256 (scourge/scourge-0.17.src.tar.gz) = 0094fb3aa0d0d3e4de0c643705d8a0df2a7ebb6102e064f588ba78cd9e17164c
SIZE (scourge/scourge-0.17.src.tar.gz) = 1141012
MD5 (scourge/scourge-0.18.src.tar.gz) = 57fa2011e360f36c4ebe6e00ae118b06
SHA256 (scourge/scourge-0.18.src.tar.gz) = d6d43ac46de57d6854a70322d42b3593b22880e81005cc6ec316674c3f128015
SIZE (scourge/scourge-0.18.src.tar.gz) = 2214731