freebsd-ports/games/freesweep/Makefile
Antoine Brodin 9e66c79118 - Allow staging as a regular user
- Bump portrevision as some files were not packaged with intended group
2014-09-13 12:15:43 +00:00

41 lines
1 KiB
Makefile

# Created by: Andrey Zakhvatov
# $FreeBSD$
PORTNAME= freesweep
PORTVERSION= 0.92
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= GOOGLE_CODE
MAINTAINER= ports@FreeBSD.org
COMMENT= Minesweeper-style game for text-mode terminals
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
USES= gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-prefsdir=${DATADIR} \
--with-scoresdir=${DATADIR} \
--disable-debug-log
ALL_TARGET= ${PORTNAME}
PORTDOCS= CHANGES README
PLIST_FILES= "@(,games,2555) bin/${PORTNAME}" man/man6/${PORTNAME}.6.gz \
%%DATADIR%%/sweeprc "@(,games,0664) %%DATADIR%%/sweeptimes"
PLIST_DIRS= %%DATADIR%%
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/freesweep ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}
${TOUCH} ${STAGEDIR}${DATADIR}/sweeptimes
${INSTALL_DATA} ${WRKSRC}/sweeprc ${STAGEDIR}${DATADIR}
${INSTALL_MAN} ${WRKSRC}/freesweep.6 ${STAGEDIR}${PREFIX}/man/man6
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>