freebsd-ports/games/dodgindiamond2/Makefile
Dmitry Marakasov d6ccebdcc5 - Fix identation
- Use @sample for highscore and config handling
- Drop @dirrm* from plist
2015-01-25 02:26:16 +00:00

35 lines
875 B
Makefile

# Created by: Jean-Yves Lefort <jylefort@brutele.be>
# $FreeBSD$
PORTNAME= dodgindiamond2
PORTVERSION= 0.2.2
PORTREVISION= 11
CATEGORIES= games
MASTER_SITES= http://www.usebox.net/jjm/dd2/releases/
DISTNAME= dd2-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Old school shoot'em up game
USE_SDL= sdl image mixer
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var/games
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|COPYING||g' ${WRKSRC}/Makefile.in
.if empty(PORT_OPTIONS:MDOCS)
@${REINPLACE_CMD} '/install-data-am:/s/install-docsDATA//' \
${WRKSRC}/Makefile.in
.endif
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc
${INSTALL_DATA} ${WRKSRC}/src/data/dd2.cfg ${STAGEDIR}${PREFIX}/etc/dd2.cfg.sample
${MKDIR} ${STAGEDIR}/var/games
${TOUCH} ${STAGEDIR}/var/games/dd2-hiscore.sample
.include <bsd.port.mk>