summaryrefslogtreecommitdiffstats
path: root/irc/ninja/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'irc/ninja/Makefile')
-rw-r--r--irc/ninja/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/irc/ninja/Makefile b/irc/ninja/Makefile
new file mode 100644
index 0000000..b3267cf
--- /dev/null
+++ b/irc/ninja/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: Ninja-irc
+# Version required: 1.0.7
+# Date created: 10 April 1999
+# Whom: Chris Piazza <cpiazza@home.net>
+#
+# $Id$
+#
+
+DISTNAME= ninja-src
+PKGNAME= ninja-1.0.7
+CATEGORIES= net
+MASTER_SITES= http://ninja.pimped.org/
+
+MAINTAINER= cpiazza@home.net
+
+GNU_CONFIGURE= yes
+
+WRKSRC= ${WRKDIR}/ninja-irc
+
+MAN1= ninja.1
+
+post-patch:
+ @${SED} -e s#__PREFIX__#$(PREFIX)#g $(WRKSRC)/include/config.h.dist > $(WRKSRC)/include/config.h.dist.new
+ @${MV} $(WRKSRC)/include/config.h.dist.new $(WRKSRC)/include/config.h.dist
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/source/ninja ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/source/wserv ${PREFIX}/bin
+ ${MKDIR} ${PREFIX}/share/ninja/help
+ ${INSTALL_DATA} ${WRKSRC}/doc/ninja.help ${PREFIX}/share/ninja/help
+ ${INSTALL_MAN} ${WRKSRC}/doc/ninja.1 ${PREFIX}/man/man1
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/ninja
+ ${INSTALL_DATA} ${WRKSRC}/doc/colors.txt ${PREFIX}/share/doc/ninja
+ ${INSTALL_DATA} ${WRKSRC}/doc/commands.txt ${PREFIX}/share/doc/ninja
+ ${INSTALL_DATA} ${WRKSRC}/doc/keyinfo.txt ${PREFIX}/share/doc/ninja
+.endif
+
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud