202a5a6d35
(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/
48 lines
1 KiB
Makefile
48 lines
1 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>
|