1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/games/xnibbles/Makefile
Tim Vanderhoek 233b25513e Merge the changes (correct style) I made to the port.
Note that we don't need more copies of the GNU GPL license
in the system.
1998-03-16 03:19:15 +00:00

47 lines
1.5 KiB
Makefile

# New ports collection makefile for: xnibbles
# Version required: 1.0b3
# Date created: 2 March 1998
# Whom: Andrey Zakhvatov
#
# $Id: Makefile,v 1.1.1.1 1998/03/15 20:38:35 steve Exp $
#
DISTNAME= xnibbles-1.0BETA3
PKGNAME= xnibbles-1.0b3
CATEGORIES= games x11
MASTER_SITES= http://www.tjhsst.edu/xnibbles/
MAINTAINER= andy@icc.surw.chel.su
LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
ALL_TARGET= linux
USE_GMAKE= yes
USE_X11= yes
WRKSRC= ${WRKDIR}/xnibbles
MAN6= xnibbles.6
CFLAGS+= -I ${X11BASE}/include -L ${X11BASE}/lib
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/xnibbles ${PREFIX}/bin
@${INSTALL_MAN} ${WRKSRC}/xnibbles.6 ${PREFIX}/man/man6
@${MKDIR} ${PREFIX}/share/xnibbles/sounds
@${INSTALL_DATA} ${WRKSRC}/sounds/*.ub ${PREFIX}/share/xnibbles/sounds
@${MKDIR} ${PREFIX}/share/xnibbles/levels
@if [ -f ${PREFIX}/share/xnibbles/levels/LEVELS ]; then \
${RM} ${PREFIX}/share/xnibbles/levels/LEVELS; \
fi
@${TOUCH} ${PREFIX}/share/xnibbles/levels/LEVELS
.for file in 001 002 003 004 005 006 007 008 009 010 011 012
@${ECHO} ${PREFIX}/share/xnibbles/levels/level${file}.xnl >> ${PREFIX}/share/xnibbles/levels/LEVELS
@${INSTALL_DATA} ${WRKSRC}/levels/*.xnl ${PREFIX}/share/xnibbles/levels
.endfor
@${MKDIR} ${PREFIX}/share/doc/xnibbles
@${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xnibbles
@${INSTALL_DATA} ${WRKSRC}/TODO ${PREFIX}/share/doc/xnibbles
@${INSTALL_DATA} ${WRKSRC}/levels/README ${PREFIX}/share/doc/xnibbles/README.levels
.include <bsd.port.mk>