mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
e9ce290add
while here, line up PLIST_FILES to respect 80 columns approved by: infrastructure blanket
34 lines
890 B
Makefile
34 lines
890 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= 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 <bsd.port.mk>
|