1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/russian/fortuneru/Makefile
Ion-Mihai Tetcu bc7a1fddcc - update to 0.6
- change maintainer's email

PR:		ports/102182
Submitted by:	Oleksandr Bezpalko (maintainer)
2006-08-19 09:13:46 +00:00

44 lines
1003 B
Makefile

# New ports collection makefile for: fortuneru
# Date created: 26-09-2001
# Whom: bestia@iptcom.net
#
# $FreeBSD$
#
PORTNAME= fortuneru
PORTVERSION= 0.6
CATEGORIES= russian
MASTER_SITES= ftp://hosting.cvu.kiev.ua/pub/files/
DISTNAME= fortune.ru-${PORTVERSION}
MAINTAINER= obezpalko@gmail.com
COMMENT= Fortunes in russian
NO_BUILD= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
STRCMD= /usr/games/strfile
do-install:
@${SETENV} STRCMD=${STRCMD} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
@${MKDIR} ${PREFIX}/share/games/fortune/rus
${INSTALL_DATA} ${WRKSRC}/* ${PREFIX}/share/games/fortune/rus
pre-install:
.if !exists(${STRCMD})
@${ECHO_MSG} "Please install the games distribution"
@exit 1
.endif
post-install:
@for fortune in ${PREFIX}/share/games/fortune/rus/* ; do \
${STRCMD} $$fortune >/dev/null 2>/dev/null ; \
done
@${ECHO_MSG} ""
@${ECHO_MSG} "Usage:"
@${ECHO_MSG} "/usr/games/fortune ${PREFIX}/share/games/fortune/rus"
@${ECHO_MSG} ""
.include <bsd.port.mk>