aboutsummaryrefslogtreecommitdiff
path: root/audio/tempest_for_eliza/Makefile
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-03-13 09:06:35 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-03-13 09:06:35 +0000
commit687ebad5793673aa516c86b5177969a31ac5f9cb (patch)
tree100e8d587f39c738acb959174d1b29941f120a6c /audio/tempest_for_eliza/Makefile
parent06e80397791abf2c28a496fefcc9866b8b0b5a68 (diff)
downloadports-687ebad5793673aa516c86b5177969a31ac5f9cb.tar.gz
ports-687ebad5793673aa516c86b5177969a31ac5f9cb.zip
Notes
Diffstat (limited to 'audio/tempest_for_eliza/Makefile')
-rw-r--r--audio/tempest_for_eliza/Makefile25
1 files changed, 13 insertions, 12 deletions
diff --git a/audio/tempest_for_eliza/Makefile b/audio/tempest_for_eliza/Makefile
index 6a16c2c20296..bf67c7e6c01c 100644
--- a/audio/tempest_for_eliza/Makefile
+++ b/audio/tempest_for_eliza/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: tempest_for_eliza
-# Date created: 17 February 2001
-# Whom: George Reid <greid@ukug.uk.freebsd.org>
-#
+# Created by: George Reid <greid@ukug.uk.freebsd.org>
# $FreeBSD$
-#
PORTNAME= tempest_for_eliza
PORTVERSION= 1.0.5
@@ -12,21 +8,26 @@ CATEGORIES= audio
MASTER_SITES= http://www.erikyyy.de/tempest/
MAINTAINER= ports@FreeBSD.org
-COMMENT= A program to send AM radio signals using a PC monitor
+COMMENT= Program to send AM radio signals using a PC monitor
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_SDL= sdl
+SONGS= forelise jonny fruehling saints oldmacdonald ungarian \
+ godfather starwars tempest
+PORTDOCS= *
+
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
post-install:
@${MKDIR} ${PREFIX}/share/tempest
-.for S in forelise jonny fruehling saints oldmacdonald ungarian \
- godfather starwars tempest
- @${INSTALL_DATA} ${WRKSRC}/songs/$S ${PREFIX}/share/tempest
-.endfor
-.if !defined(NOPORTDOCS)
+ ${INSTALL_DATA} ${SONGS:S,^,${WRKSRC}/songs/,} ${PREFIX}/share/tempest
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>