aboutsummaryrefslogtreecommitdiff
path: root/math/chryzodus
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2013-11-10 23:13:21 +0000
committerNicola Vitale <nivit@FreeBSD.org>2013-11-10 23:13:21 +0000
commitc984ed6b991c6728fb42bcaf31f1d50380ee2dc0 (patch)
tree2a2ddaf77aecd27b626bcc213b60b41a9b6503c2 /math/chryzodus
parent846a81465dbd77b4564cceaa9b7ad8b070635bbd (diff)
downloadports-c984ed6b991c6728fb42bcaf31f1d50380ee2dc0.tar.gz
ports-c984ed6b991c6728fb42bcaf31f1d50380ee2dc0.zip
- Remove leading article from COMMENT
- Add LICENSE (GPLv2) - Use new syntax in LIB_DEPENDS - Add support for staging - Add option DOCS - Fix build with any compiler - Fix WWW line and remove Author from pkg-descr
Notes
Notes: svn path=/head/; revision=333455
Diffstat (limited to 'math/chryzodus')
-rw-r--r--math/chryzodus/Makefile19
-rw-r--r--math/chryzodus/files/patch-makefile.unx17
-rw-r--r--math/chryzodus/pkg-descr3
-rw-r--r--math/chryzodus/pkg-plist1
4 files changed, 21 insertions, 19 deletions
diff --git a/math/chryzodus/Makefile b/math/chryzodus/Makefile
index 7915731eac7d..6c50c4facca5 100644
--- a/math/chryzodus/Makefile
+++ b/math/chryzodus/Makefile
@@ -9,20 +9,21 @@ CATEGORIES= math
MASTER_SITES= SF
MAINTAINER= nivit@FreeBSD.org
-COMMENT= A chryzode (http//www.chryzode.org) explorer
+COMMENT= Chryzode (http//www.chryzode.org) explorer
-LIB_DEPENDS= alleg:${PORTSDIR}/devel/allegro
+LICENSE= GPLv2
+
+LIB_DEPENDS= liballeg.so:${PORTSDIR}/devel/allegro
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKEFILE= makefile.unx
-NO_STAGE= yes
-do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
+OPTIONS_DEFINE= DOCS
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}; \
- ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
-.endif
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC}/doc && \
+ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
diff --git a/math/chryzodus/files/patch-makefile.unx b/math/chryzodus/files/patch-makefile.unx
index 495b1d6bda18..739c6aa915ef 100644
--- a/math/chryzodus/files/patch-makefile.unx
+++ b/math/chryzodus/files/patch-makefile.unx
@@ -1,12 +1,15 @@
-$FreeBSD$
---- makefile.unx Tue Jun 29 17:16:38 2004
-+++ makefile.unx.port Sat Jul 9 21:43:27 2005
-@@ -6,7 +6,7 @@
+--- ./makefile.unx.orig 2004-06-29 17:16:38.000000000 +0200
++++ ./makefile.unx 2013-11-10 15:12:37.000000000 +0100
+@@ -5,9 +5,9 @@
+ # windows MinGW makefile #
#--------------------------------------#
- CXX = g++
+-CXX = g++
-CFLAGS = -Wall
-+CFLAGS = -Wall `allegro-config --cflags`
- LDFLAGS = -s -lstdc++ `allegro-config --libs`
+-LDFLAGS = -s -lstdc++ `allegro-config --libs`
++CXX ?= g++
++CFLAGS += -Wall `allegro-config --cflags`
++LDFLAGS += -s -lstdc++ `allegro-config --libs`
OBJECTS = main.o gui.o compute.o
+
diff --git a/math/chryzodus/pkg-descr b/math/chryzodus/pkg-descr
index bc2a37e121f6..62f7ee7e8e28 100644
--- a/math/chryzodus/pkg-descr
+++ b/math/chryzodus/pkg-descr
@@ -6,5 +6,4 @@ the world of chryzodes by yourself using Chryzodus.
But one does not even need to know much about chryzodes
to use Chryzodus and see beautiful images appear on the screen!
-Author: Florian LHERBETTE
-WWW: http://chryzodus.sourceforge.net/
+WWW: http://chryzodus.sourceforge.net/
diff --git a/math/chryzodus/pkg-plist b/math/chryzodus/pkg-plist
index 3f82ef9a2b2d..fbb199bcf6f4 100644
--- a/math/chryzodus/pkg-plist
+++ b/math/chryzodus/pkg-plist
@@ -1,4 +1,3 @@
-@comment $FreeBSD$
bin/chryzodus
%%PORTDOCS%%%%DOCSDIR%%/chryzode.html
%%PORTDOCS%%%%DOCSDIR%%/file.html