# Created by: HIYAMA Takeshi
# $FreeBSD: head/games/sl/Makefile 408109 2016-02-04 22:16:39Z marino $
PORTNAME= sl
PORTVERSION=5.01
CATEGORIES= games
MAINTAINER= hym@cocoa.freemail.ne.jp
COMMENT= Steam locomotive runs across the screen if you type "sl" instead of "ls"
USES= ncurses
USE_GITHUB= yes
GH_ACCOUNT= mtoyoda
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz \
man/ja/man1/${PORTNAME}.1.gz
PORTDOCS= *
do-build:
${CC} ${CFLAGS} -I${WRKSRC} -o ${WRKSRC}/sl ${WRKSRC}/sl.c \
${LDFLAGS} -lncurses
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1.ja ${STAGEDIR}${MANPREFIX}/man/ja/man1/${PORTNAME}.1
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in README.md README.ja.md LICENSE
${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
.endfor
.include
|