svn commit: r333455 - in head/math/chryzodus: . files
Nicola Vitale
nivit at FreeBSD.org
Sun Nov 10 23:13:22 UTC 2013
Author: nivit
Date: Sun Nov 10 23:13:21 2013
New Revision: 333455
URL: http://svnweb.freebsd.org/changeset/ports/333455
Log:
- 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
Modified:
head/math/chryzodus/Makefile (contents, props changed)
head/math/chryzodus/files/patch-makefile.unx (contents, props changed)
head/math/chryzodus/pkg-descr (contents, props changed)
head/math/chryzodus/pkg-plist (contents, props changed)
Modified: head/math/chryzodus/Makefile
==============================================================================
--- head/math/chryzodus/Makefile Sun Nov 10 23:11:59 2013 (r333454)
+++ head/math/chryzodus/Makefile Sun Nov 10 23:13:21 2013 (r333455)
@@ -9,20 +9,21 @@ CATEGORIES= math
MASTER_SITES= SF
MAINTAINER= nivit at 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>
Modified: head/math/chryzodus/files/patch-makefile.unx
==============================================================================
--- head/math/chryzodus/files/patch-makefile.unx Sun Nov 10 23:11:59 2013 (r333454)
+++ head/math/chryzodus/files/patch-makefile.unx Sun Nov 10 23:13:21 2013 (r333455)
@@ -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
+
Modified: head/math/chryzodus/pkg-descr
==============================================================================
--- head/math/chryzodus/pkg-descr Sun Nov 10 23:11:59 2013 (r333454)
+++ head/math/chryzodus/pkg-descr Sun Nov 10 23:13:21 2013 (r333455)
@@ -6,5 +6,4 @@ the world of chryzodes by yourself using
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/
Modified: head/math/chryzodus/pkg-plist
==============================================================================
--- head/math/chryzodus/pkg-plist Sun Nov 10 23:11:59 2013 (r333454)
+++ head/math/chryzodus/pkg-plist Sun Nov 10 23:13:21 2013 (r333455)
@@ -1,4 +1,3 @@
- at comment $FreeBSD$
bin/chryzodus
%%PORTDOCS%%%%DOCSDIR%%/chryzode.html
%%PORTDOCS%%%%DOCSDIR%%/file.html
More information about the svn-ports-all
mailing list