1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/games/dodgindiamond2/Makefile
Danilo Egea Gondolfo 8a9958c82d - Remove the indefinite article from COMMENT
- Add stage support
- Remove pkg-install script
2013-11-17 17:10:56 +00:00

30 lines
741 B
Makefile

# Created by: Jean-Yves Lefort <jylefort@brutele.be>
# $FreeBSD$
PORTNAME= dodgindiamond2
PORTVERSION= 0.2.2
PORTREVISION= 8
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
post-patch:
@${REINPLACE_CMD} -e 's|COPYING||g' ${WRKSRC}/Makefile.in
.if defined(NOPORTDOCS)
@${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
.include <bsd.port.mk>