c68fd844ac
- Update to 1.0.0 - Take maintainership Added file(s): - files/patch-utils_WalkDirectory.hpp - files/patch-utilsgl_gl++.hpp Removed file(s): - files/patch-utils::WalkDirectory.hpp - files/patch-utilsgl-gl++.hpp PR: ports/91281 Submitted by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
52 lines
1.2 KiB
Makefile
52 lines
1.2 KiB
Makefile
# New ports collection makefile for: criticalmass
|
|
# Date created: 30 Aug 2002
|
|
# Whom: nbm
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= criticalmass
|
|
PORTVERSION= 1.0.0
|
|
PORTEPOCH= 1
|
|
CATEGORIES= games
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
DISTNAME= CriticalMass-${PORTVERSION}
|
|
|
|
MAINTAINER= acardenas@bsd.org.pe
|
|
COMMENT= An SDL/OpenGL space shoot\'em up game
|
|
|
|
CONFLICTS= shaaft-[0-9]*
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_BZIP2= yes
|
|
USE_SDL= image mixer sdl
|
|
USE_GL= yes
|
|
USE_REINPLACE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ARGS= --disable-optimize
|
|
|
|
MAN6= critter.6
|
|
PLIST_FILES= bin/Packer \
|
|
bin/critter \
|
|
share/Critical_Mass/lg-criti.xm \
|
|
share/Critical_Mass/resource.dat
|
|
PLIST_DIRS= share/Critical_Mass
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "sparc64"
|
|
BROKEN= "Does not compile on sparc64"
|
|
.endif
|
|
|
|
post-patch:
|
|
@${GREP} -lR "SDL/SDL" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
|
|
's|SDL/SDL|SDL|g'
|
|
@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG:T}|g ; \
|
|
s|^CXXFLAGS|#CXXFLAGS|g ; \
|
|
s|-lSDL | |g ; \
|
|
s|-lpng12|-lpng|g' ${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e 's|and def|\&\& def|g' ${WRKSRC}/utils/OSName.hpp
|
|
|
|
.include <bsd.port.post.mk>
|