aboutsummaryrefslogtreecommitdiff
path: root/irc/insub/Makefile
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2003-12-28 02:43:36 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2003-12-28 02:43:36 +0000
commit953c521b384369c38aad1f05dee709515d9a5825 (patch)
tree09e18166fe6ba91b01bdf55bca8cd7e60dc1635a /irc/insub/Makefile
parent1f966a6d96a0fb796842eba67a1c29132cd442bf (diff)
downloadports-953c521b384369c38aad1f05dee709515d9a5825.tar.gz
ports-953c521b384369c38aad1f05dee709515d9a5825.zip
Notes
Diffstat (limited to 'irc/insub/Makefile')
-rw-r--r--irc/insub/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/irc/insub/Makefile b/irc/insub/Makefile
new file mode 100644
index 000000000000..9751e9292803
--- /dev/null
+++ b/irc/insub/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: insub
+# Date created: 27 Dec 2003
+# Whom: Alfred Perlstein <alfred@freebsd.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= insub
+PORTVERSION= 6.5
+PORTREVISION?= 0
+CATEGORIES?= irc
+MASTER_SITES= http://gruntle.org/projects/irssi/gay/
+
+MAINTAINER?= alfred@FreeBSD.org
+COMMENT?= Some scripts for expressing how you really feel on irc
+
+WITH_PERL= YES
+
+BUILD_DEPENDS+= irsii:${PORTSDIR}/irc/irssi
+RUN_DEPENDS+= figlet:${PORTSDIR}/misc/figlet
+BUILD_DEPENDS+= cowsay:${PORTSDIR}/games/cowsay
+
+.include <bsd.port.pre.mk>
+
+COWS!=sed 's@^@cows/@' < ${FILESDIR}/cows
+SCRIPT=gay-${PORTVERSION}.pl
+INSTSCRIPT=gay.pl
+DISTFILES= ${SCRIPT} ${COWS}
+DIST_SUBDIR?= insub
+NO_BUILD=YES
+EXTRACT_CMD=echo
+DISTCOWS=${COWS:S@^@${DISTDIR}/${DIST_SUBDIR}/@}
+
+pre-extract:
+ [ -d "${WRKDIR}" ] || mkdir ${WRKDIR}
+
+# $PREFIX/share/irssi
+
+do-install:
+ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${SCRIPT} \
+ ${LOCALBASE}/share/irssi/scripts/${INSTSCRIPT}
+ for i in ${DISTCOWS} ; do \
+ ${INSTALL_DATA} $$i ${LOCALBASE}/share/cows ; \
+ done
+
+.include <bsd.port.post.mk>