freebsd-ports/misc/fortune-mod-bofh/Makefile
Florent Thoumie 267990453b - Fix WRKSRC I broke with last commit.
Noticed by:	Alexander Best <arundel@h3c.de>
2005-10-15 14:03:44 +00:00

38 lines
973 B
Makefile

# New ports collection makefile for: fortune-mod-bofh
# Date created: 3/3/2004
# Whom: Yonatan@Xpert.com
#
# $FreeBSD$
#
PORTNAME= fortune-mod-bofh
PORTVERSION= 2.0
PORTREVISION= 3
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_LOCAL:S/$/:freebsd/} \
http://www.void.irq.org/:original
MASTER_SITE_SUBDIR= flz/${PORTNAME}/:freebsd
DISTFILES= bofh-fortune-mod${PORTVERSION}${EXTRACT_SUFX}:original,freebsd
MAINTAINER= onatan@gmail.com
COMMENT= Compilation of excuses from the "Bastard Operator From Hell"
NO_BUILD= yes
WRKSRC= ${WRKDIR}/bofh-fortune-mod2.0
PKGMESSAGE= ${WRKDIR}/pkg-message
STRFILE= /usr/games/strfile
post-patch:
@${CAT} pkg-message | ${SED} 's|PREFIX|${PREFIX}|' > ${PKGMESSAGE}
do-install:
@${MKDIR} ${PREFIX}/share/games
@${MKDIR} ${PREFIX}/share/games/fortune
@${INSTALL_DATA} ${WRKSRC}/bofh ${PREFIX}/share/games/fortune
@${STRFILE} ${PREFIX}/share/games/fortune/bofh
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>