1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- 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
This commit is contained in:
Nicola Vitale 2013-11-10 23:13:21 +00:00
parent 846a81465d
commit c984ed6b99
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333455
4 changed files with 21 additions and 19 deletions

View File

@ -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>

View File

@ -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

View File

@ -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/

View File

@ -1,4 +1,3 @@
@comment $FreeBSD$
bin/chryzodus
%%PORTDOCS%%%%DOCSDIR%%/chryzode.html
%%PORTDOCS%%%%DOCSDIR%%/file.html