mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
8ac11b29f8
- Change master sites, add icon - Add license (BSD3CLAUSE) - USES gmake instead of USE_GMAKE - Change PLIST_FILES - Support STAGEDIR - Add DOCS and Option - Add files/galaxis.desktop - Add patch, fix bad C++ code Approved by: pawel / wg (mentors, implicit)
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# Created by: Andrey Zakhvatov
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= galaxis
|
|
PORTVERSION= 1.8
|
|
PORTREVISION= 1
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.catb.org/~esr/galaxis/ \
|
|
SF/nemysisfreebsdp/games/:icons
|
|
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
|
|
${PORTNAME}.png:icons
|
|
EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= nemysis@FreeBSD.org
|
|
COMMENT= Clone of the nifty little Macintosh game
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
USES= gmake
|
|
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -DNDEBUG"
|
|
ALL_TARGET= ${PORTNAME}
|
|
|
|
PLIST_FILES= bin/${PORTNAME} \
|
|
man/man6/${PORTNAME}.6.gz \
|
|
share/applications/${PORTNAME}.desktop \
|
|
share/pixmaps/${PORTNAME}.png
|
|
|
|
PORTDOCS= README
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
|
|
${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
|
|
${INSTALL_DATA} ${_DISTDIR}/${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>
|