053fdb6a6b
(Part 2)
44 lines
1.0 KiB
Makefile
44 lines
1.0 KiB
Makefile
# New ports collection makefile for: fgkicker
|
|
# Date created: 30 November 2003
|
|
# Whom: Erik Greenwald <erik@smluc.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= fgkicker
|
|
PORTVERSION= 0.6
|
|
PORTREVISION= 1
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://users.pandora.be/ceppe/linux/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= erik@smluc.org
|
|
COMMENT= A launcher frontend for FlightGear
|
|
|
|
RUN_DEPENDS= fgfs:${PORTSDIR}/games/flightgear
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_GNOME= gtk20
|
|
USE_GMAKE= yes
|
|
USE_REINPLACE= yes
|
|
|
|
FILESDIR= ${PREFIX}/share/fgkicker
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} "s|-fmessage-length=0|| ; s|-O0|${CFLAGS}|" ${WRKSRC}/fgkicker.mak
|
|
|
|
do-build:
|
|
(cd ${WRKSRC} && ${GMAKE} -f ${PORTNAME}.mak ${PORTNAME})
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
${MKDIR} ${FILESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/airports.dat ${FILESDIR}/airports.dat
|
|
${INSTALL_DATA} ${WRKSRC}/aircraft.dat ${FILESDIR}/aircraft.dat
|
|
|
|
install-user:
|
|
${INSTALL_DATA} ${FILESDIR}/airports.dat $$HOME
|
|
${INSTALL_DATA} ${FILESDIR}/aircraft.dat $$HOME
|
|
|
|
.include <bsd.port.mk>
|