freebsd-ports/misc/fortune-mod-epictetus/Makefile
Mathieu Arnold 07da776842 Update ports in the [i-m]* category to not use GH_COMMIT.
With minor cleanups to make things simpler.

With hat:	portmgr
Sponsored by:	Absolight
2015-05-07 16:32:43 +00:00

36 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>