mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
39 lines
1017 B
Makefile
39 lines
1017 B
Makefile
# Created by: Andrey Zakhvatov
|
|
|
|
PORTNAME= galaxis
|
|
PORTVERSION= 1.10
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.catb.org/~esr/galaxis/
|
|
|
|
MAINTAINER= alfix86@gmail.com
|
|
COMMENT= Clone of the nifty little Macintosh game
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= gmake ncurses
|
|
|
|
MAKE_ARGS= CC="${CC}" \
|
|
CFLAGS="${CFLAGS} -DNDEBUG" \
|
|
TERMLIB="${LDFLAGS} -lncurses"
|
|
|
|
ALL_TARGET= ${PORTNAME}
|
|
|
|
PLIST_FILES= bin/${PORTNAME} \
|
|
man/man6/${PORTNAME}.6.gz \
|
|
share/applications/${PORTNAME}.desktop \
|
|
share/pixmaps/${PORTNAME}.png
|
|
|
|
PORTDOCS= NEWS README
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|