mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
cc9b2efba4
With hat: portmgr
37 lines
821 B
Makefile
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>
|