1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/games/viruskiller/Makefile
Baptiste Daroussin dcf4e0fb33 - Removes potential non-free files to avoid legal issues
- Bump portrevision

Approved by:	mentors (implicit)
Obtained from:	debian #496618
2010-08-25 13:00:05 +00:00

44 lines
997 B
Makefile

# New ports collection makefile for: viruskiller
# Date created: 2010-08-16
# Whom: markand
#
# $FreeBSD$
#
PORTNAME= viruskiller
PORTVERSION= 1.03
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.parallelrealities.co.uk/download/viruskiller/
DISTNAME= ${PORTNAME}-${PORTVERSION}-1
MAINTAINER= markand@malikania.fr
COMMENT= An arcade game that relies on quick reflexes
LICENSE= GPLv2
USE_SDL= mixer image ttf net
USE_GMAKE= yes
INSTALLS_ICONS= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAKEFILE= makefile
post-patch:
# Remove non-free restricted files:
${RM} -f ${WRKSRC}/music/* ${WRKSRC}/sound/*
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e "s|^.*install.*DOCS.*||g" \
-e "s|^.*mkdir.*DOCDIR.*||g" \
${WRKSRC}/makefile
.endif
@${REINPLACE_CMD} -e "s|^PREFIX.*|PREFIX=${PREFIX}|g" \
-e "s|^BINDIR.*|BINDIR=${PREFIX}/bin/|g" \
-e "s|^DATADIR.*|DATADIR=${DATADIR}/|g" \
-e "s|^DOCDIR.*|DOCDIR=${DOCSDIR}|g" ${WRKSRC}/makefile
.include <bsd.port.mk>