freebsd-ports/games/freesweep/Makefile
Satoshi Asami 5e5841f2cd Eliminate WRKSRC=${WRKDIR}/${PKGNAME} lines, as these will break when
PORTREVISION or PORTEPOCH are defined.

Most of these Makefiles were defining DISTNAME and WRKSRC (and
sometimes EXTRACT_SUFX) -- change those to define DISTFILES only.
Also, some of the WRKSRC lines were not even necessary, as they were
defining it to the default value.

Instigated by:	Peter Pentchev <roam@orbitel.bg> and kris
2000-09-25 12:21:43 +00:00

37 lines
952 B
Makefile

# New ports collection makefile for: freesweep
# Date created: 25 July 1999
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= freesweep
PORTVERSION= 0.87
CATEGORIES= games
MASTER_SITES= http://www.upl.cs.wisc.edu/~hartmann/sweep/
DISTFILES= ${PORTNAME}.tar.gz
MAINTAINER= ports@FreeBSD.org
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-prefsdir=${PREFIX}/share/freesweep \
--with-scoresdir=${PREFIX}/share/freesweep \
--disable-debug-log
ALL_TARGET= # empty
MAN6= freesweep.6
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/freesweep ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/freesweep.6 ${PREFIX}/man/man6
@${MKDIR} ${PREFIX}/share/freesweep
${INSTALL_DATA} ${WRKSRC}/sweeprc ${PREFIX}/share/freesweep
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/freesweep
${INSTALL_DATA} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/freesweep
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/freesweep
.endif
.include <bsd.port.mk>