mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
9edda3320c
- Convert USE_GMAKE to USES
44 lines
1.0 KiB
Makefile
44 lines
1.0 KiB
Makefile
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= dangen
|
|
PORTVERSION= 0.5
|
|
PORTREVISION= 3
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.interq.or.jp/libra/oohara/dangen/ \
|
|
http://mirror.amdmi3.ru/distfiles/
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Shoot'em up game where accurate shooting matters
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= gmake
|
|
USE_SDL= sdl image
|
|
DESKTOP_ENTRIES="dangen" \
|
|
"Shoot'em up game where accurate shooting matters" \
|
|
"" \
|
|
"dangen" \
|
|
"Game;ArcadeGame;" \
|
|
false
|
|
|
|
PLIST_FILES= bin/${PORTNAME} \
|
|
man/man6/${PORTNAME}.6.gz
|
|
PORTDOCS= *
|
|
PORTDATA= *
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/Makefile.in \
|
|
${WRKSRC}/libtenm/Makefile.in ${WRKSRC}/spqr/Makefile.in
|
|
@${REINPLACE_CMD} -e 's|$$(datadir)/games/|$$(datadir)/|' ${WRKSRC}/spqr/image/Makefile.in
|
|
@${REINPLACE_CMD} -e 's|/games||' ${WRKSRC}/util.c
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|