1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/misc/phraze/Makefile

29 lines
688 B
Makefile

# Created by: Michael L. Hostbaek <mich@freebsdcluster.org>
# $FreeBSD$
PORTNAME= phraze
PORTVERSION= 0.4
CATEGORIES= misc
MASTER_SITES= http://www.incava.org/pub/phraze/
MAINTAINER= mich@FreeBSD.org
COMMENT= Converts telephone number to combinations of valid words
USE_RUBY= yes
NO_BUILD= yes
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|^#!/usr/bin/ruby|#!${RUBY}|; \
s|/usr/share/phraze|${DATADIR}|' ${WRKSRC}/phraze ${WRKSRC}/phraze.1
do-install:
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/wordlist.phr ${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/phraze ${PREFIX}/bin/phraze
${INSTALL_MAN} ${WRKSRC}/phraze.1 ${PREFIX}/man/man1/
MAN1= phraze.1
.include <bsd.port.mk>