aboutsummaryrefslogtreecommitdiff
path: root/games/dangen/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/dangen/Makefile')
-rw-r--r--games/dangen/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/games/dangen/Makefile b/games/dangen/Makefile
new file mode 100644
index 000000000000..103e1a7a0c8b
--- /dev/null
+++ b/games/dangen/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: dangen
+# Date created: 25 Aug 2006
+# Whom: Dmitry Marakasov <amdmi3@mail.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dangen
+PORTVERSION= 0.3
+CATEGORIES= games
+MASTER_SITES= http://www.interq.or.jp/libra/oohara/dangen/
+
+MAINTAINER= amdmi3@mail.ru
+COMMENT= Shoot'em up game where accurate shooting matters
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_SDL= sdl image
+
+PORTDOCS= README
+
+MAN6= dangen.6
+
+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
+
+.if !defined(NOPORTDOCS)
+post-install:
+ ${MKDIR} ${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>