2001-12-29 15:34:05 -05:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: wtf
|
|
|
|
# Date created: 29 December 2001
|
|
|
|
# Whom: Maxime Henrion <mux@sneakerz.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= wtf
|
2002-02-25 08:20:45 -05:00
|
|
|
PORTVERSION= 20020210
|
2001-12-29 15:34:05 -05:00
|
|
|
CATEGORIES= games
|
2002-03-21 09:28:42 -05:00
|
|
|
MASTER_SITES= http://www.mu.org/~mux/wtf/ \
|
2002-02-25 08:20:45 -05:00
|
|
|
${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= petef
|
2001-12-29 15:34:05 -05:00
|
|
|
|
2002-03-21 09:28:42 -05:00
|
|
|
MAINTAINER= mux@FreeBSD.org
|
2001-12-29 15:34:05 -05:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
2002-02-25 08:20:45 -05:00
|
|
|
USE_PERL5= yes
|
2001-12-29 15:34:05 -05:00
|
|
|
|
|
|
|
MAN6= wtf.6
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${MV} ${WRKSRC}/wtf ${WRKSRC}/wtf.orig
|
|
|
|
@${SED} -e s#/usr/local/share/misc#${DATADIR}# \
|
|
|
|
${WRKSRC}/wtf.orig > ${WRKSRC}/wtf
|
|
|
|
@${MV} ${WRKSRC}/wtf.6 ${WRKSRC}/wtf.6.orig
|
|
|
|
@${SED} -e s#/usr/share/misc#${DATADIR}# < \
|
|
|
|
${WRKSRC}/wtf.6.orig > ${WRKSRC}/wtf.6
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/wtf ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/wtf.6 ${PREFIX}/man/man6
|
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/acronyms ${DATADIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|