aboutsummaryrefslogtreecommitdiffstats
path: root/misc/explosions
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2013-03-25 12:30:31 +0800
committereadler <eadler@FreeBSD.org>2013-03-25 12:30:31 +0800
commitb188c769f2650f1a4c596b60d43f25ba20eed016 (patch)
treee9502ec9d580c1cb296d2b6e887c07a0737f2b7c /misc/explosions
parent6441d65203b3635b4c310c9e76e9296880cb7826 (diff)
downloadfreebsd-ports-gnome-b188c769f2650f1a4c596b60d43f25ba20eed016.tar.gz
freebsd-ports-gnome-b188c769f2650f1a4c596b60d43f25ba20eed016.tar.zst
freebsd-ports-gnome-b188c769f2650f1a4c596b60d43f25ba20eed016.zip
Cleanup unmaintained ports in the misc category:
- Trim Header - Convert to OptionsNG - Prefer DISTNAME to DISTFILES - Reorder variables - Fix comments (don't include leading article) - @unexec rm must not cause failure - Tabs, not spaces - Single space for WWW - Pet portlint - etc. In a few cases the option DOCS was used to control installation into EXAMPLEDIR. I opted to keep the existing logic of the port in these cases. Reviewed by: koobs, ashish
Diffstat (limited to 'misc/explosions')
-rw-r--r--misc/explosions/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/misc/explosions/Makefile b/misc/explosions/Makefile
index a1f554ee9c96..92f853a21f2d 100644
--- a/misc/explosions/Makefile
+++ b/misc/explosions/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: explosions
-# Date created: 8 August 2001
-# Whom: Pete Fritchman <petef@databits.net>
-#
+# Created by: Pete Fritchman <petef@databits.net>
# $FreeBSD$
-#
PORTNAME= explosions
PORTVERSION= 0.2005.07.31
@@ -19,6 +15,8 @@ USE_SDL= sdl image
USE_GMAKE= yes
USE_PERL5_BUILD=yes
+.include <bsd.port.options.mk>
+
post-patch:
@${PERL} -pi -e 's!CFLAGS=-Wall -O2!CFLAGS+=-Wall!; \
s!sdl-config!${SDL_CONFIG}!' \
@@ -30,7 +28,8 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/explosions ${PREFIX}/bin
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/spark?.png ${DATADIR}
-.if !defined(NOPORTDOCS)
+
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for file in BUGS.txt CHANGES.txt README.txt
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}