mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
c8118431b9
- Optionize DOCS - Update WWW PR: 212656 Submitted by: amdmi3 Approved by: maintainer timeout (hym@cocoa.freemail.ne.jp, 2 weeks)
38 lines
934 B
Makefile
38 lines
934 B
Makefile
# Created by: HIYAMA Takeshi <th@cis.ibaraki.ac.jp>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= sl
|
|
PORTVERSION= 5.02
|
|
CATEGORIES= games
|
|
|
|
MAINTAINER= hym@cocoa.freemail.ne.jp
|
|
COMMENT= Steam locomotive runs across the screen if you type "sl" instead of "ls"
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= mtoyoda
|
|
|
|
USES= ncurses
|
|
PLIST_FILES= bin/${PORTNAME} \
|
|
man/man1/${PORTNAME}.1.gz \
|
|
man/ja/man1/${PORTNAME}.1.gz
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
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
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for f in README.md README.ja.md LICENSE
|
|
${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|