1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/misc/fortune-mod-epictetus/Makefile
2016-09-14 19:50:46 +00:00

37 lines
821 B
Makefile

# Created by: Andy Kosela <akosela@andykosela.com>
# $FreeBSD$
PORTNAME= fortune-mod-epictetus
PORTVERSION= 0.2
DISTVERSIONPREFIX= v
CATEGORIES= misc
MAINTAINER= akosela@andykosela.com
COMMENT= Quotes from Epictetus
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= akosela
PLIST_FILES= share/games/fortune/epictetus \
share/games/fortune/epictetus.dat
.if exists(/usr/games/strfile)
STRFILE= /usr/games/strfile
.elif exists(/usr/bin/strfile)
STRFILE= /usr/bin/strfile
.else
IGNORE= needs strfile command. Please install games distribution of base system
.endif
do-build:
@(cd ${WRKSRC} && ${STRFILE} epictetus)
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune
${INSTALL_DATA} ${WRKSRC}/epictetus* ${STAGEDIR}${PREFIX}/share/games/fortune
.include <bsd.port.mk>