mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
86b2b06216
- Utilize USES=localbase - Pet portclippy Sponsored by: The FreeBSD Foundation
33 lines
695 B
Makefile
33 lines
695 B
Makefile
PORTNAME= openglad
|
|
PORTVERSION= 0.98
|
|
PORTREVISION= 10
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF/snowstorm/OpenGlad/Openglad-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= SDL port of an old DOS game called Gladiator
|
|
WWW= http://snowstorm.sourceforge.net
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
NOT_FOR_ARCHS= sparc64
|
|
|
|
USES= gmake localbase:ldflags sdl
|
|
USE_CXXSTD= c++14
|
|
USE_SDL= sdl mixer
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
DESKTOP_ENTRIES="OpenGlad" "" "" "${PORTNAME}" "" ""
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|COPYING INSTALL|INSTALL|' ${WRKSRC}/Makefile.in
|
|
@${REINPLACE_CMD} -e \
|
|
's|/path/to/data/dir|${DATADIR}|' ${WRKSRC}/openglad.cfg
|
|
|
|
.include <bsd.port.mk>
|