1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/games/slige/Makefile
Alejandro Pulver 202a5a6d35 SLIGE is a Win32 (i.e. Windows 95 or NT or 3.1 with Win32s) program
(compilable also for DOS and Linux) that produces brand-new levels for DOOM or
DOOM II. If you're tired of the levels and PWADs that you have, you can use
SLIGE to generate dozens or hundreds or thousands more. Some of them will
probably be pretty good, too (he said modestly).

WWW:	http://www.doomworld.com/slige/
2006-10-31 19:17:09 +00:00

49 lines
1.0 KiB
Makefile

# New ports collection makefile for: slige
# Date created: 2006-10-09
# Whom: alepulver
#
# $FreeBSD$
#
PORTNAME= slige
PORTVERSION= 485
CATEGORIES= games
MASTER_SITES= http://members.aol.com/dmchess/
DISTNAME= ${PORTNAME}src
MAINTAINER= alepulver@FreeBSD.org
COMMENT= DOOM level generator
USE_ZIP= yes
NO_WRKSUBDIR= yes
OPTIONS= PATCH "Use patch to make rooms more open and puzzly" off
.include <bsd.port.pre.mk>
.if defined(WITH_PATCH)
PATCH_SITES= http://www.samiam.org/
PATCHFILES= ${PORTNAME}.patch
.endif
post-extract:
@cd ${WRKSRC} && for f in *; do \
${MV} $$f `echo $$f | ${TR} "[:upper:]" "[:lower:]"`; done
post-patch:
@${REINPLACE_CMD} -e '$$d' ${WRKSRC}/slige.c
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} slige.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/*.cfg ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.txt ${DOCSDIR}
.endif
.include <bsd.port.post.mk>