aboutsummaryrefslogtreecommitdiff
path: root/misc/phraze/Makefile
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2003-04-28 11:10:20 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2003-04-28 11:10:20 +0000
commitd1324a1a6333001b47fdbf20f896a2156b9c3140 (patch)
treed93d17b896fb56498a86a739b350f6b2e8fcc815 /misc/phraze/Makefile
parentb9fde6414dc98d9082246729d596e795f8b9155d (diff)
downloadports-d1324a1a6333001b47fdbf20f896a2156b9c3140.tar.gz
ports-d1324a1a6333001b47fdbf20f896a2156b9c3140.zip
Notes
Diffstat (limited to 'misc/phraze/Makefile')
-rw-r--r--misc/phraze/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/misc/phraze/Makefile b/misc/phraze/Makefile
new file mode 100644
index 000000000000..08d990a8717d
--- /dev/null
+++ b/misc/phraze/Makefile
@@ -0,0 +1,34 @@
+# ex:ts=8
+# Ports collection makefile for: phraze
+# Date created: Wed Apr 16, 2003
+# Whom: Michael L. Hostbaek <mich@freebsdcluster.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= phraze
+PORTVERSION= 0.1
+CATEGORIES= misc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= mich@freebsdcluster.org
+COMMENT= Converts telephone number to combinations of valid words
+
+USE_RUBY= yes
+NO_BUILD= yes
+USE_REINPLACE= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|^#!/usr/bin/ruby|#!${RUBY}|; \
+ s|/usr/local/phraze|${DATADIR}|' ${WRKSRC}/phraze ${WRKSRC}/phraze.1
+
+do-install:
+ ${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/phraze.dict ${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/phraze ${PREFIX}/bin/phraze
+ ${INSTALL_MAN} ${WRKSRC}/phraze.1 ${PREFIX}/man/man1/
+
+MAN1= phraze.1
+
+.include <bsd.port.mk>