mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
573b4f1dbf
This removes the japanese/nkf dependency. Also STAGE and such. PR: ports/187640 Approved by: maintainer timeout
31 lines
872 B
Makefile
31 lines
872 B
Makefile
# Created by: HIYAMA Takeshi <th@cis.ibaraki.ac.jp>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= sl
|
|
PORTVERSION=5.01
|
|
CATEGORIES= games
|
|
|
|
MAINTAINER= hym@cocoa.freemail.ne.jp
|
|
COMMENT= A steam locomotive runs across the screen if you type "sl" instead of "ls"
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= mtoyoda
|
|
GH_COMMIT= 5891c2d
|
|
|
|
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 -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 <bsd.port.mk>
|