1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Update Afnix to 2.3.1

This commit is contained in:
Johan van Selst 2013-05-04 16:55:42 +00:00
parent e1fae8eeef
commit 2b4d99f9ba
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317326
6 changed files with 62 additions and 70 deletions

View File

@ -1,18 +1,12 @@
# ex:ts=8
# New ports collection makefile for: aleph
# Date created: Mar 7, 2001
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= afnix
PORTVERSION= 2.2.0
PORTVERSION= 2.3.1
CATEGORIES= lang
MASTER_SITES= http://www.afnix.org/ftp/ \
ftp://ftp.stack.nl/pub/users/johans/afnix/
MASTER_SITE_SUBDIR= ${PORTNAME}-${AFNIX_VERSION}
DISTNAME= ${PORTNAME}-src-${AFNIX_VERSION}
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= johans@FreeBSD.org
@ -28,16 +22,13 @@ MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
PORTDOCS= *
AFNIX_VERSION= ${PORTVERSION:S,.,-,g}
PLIST_SUB= PORTVER=${PORTVERSION:R}
MAN1= adp::afnix.1 axc::afnix.1 axd::afnix.1 \
axi::afnix.1 axl::afnix.1
MAN3= csm::afnix.3 gfx::afnix.3 mth::afnix.3 net::afnix.3 \
nwg::afnix.3 sec::afnix.3 sio::afnix.3 sps::afnix.3 \
sys::afnix.3 txt::afnix.3 xml::afnix.3 itu::afnix.3
MAN4= wax::afnix.4 xpe::afnix.4
MAN7= eul::afnix.7 vol-0::afnix.7 vol-1::afnix.7 vol-2::afnix.7
MAN1= afnix::adp.1 afnix::axp.1 axc.1 axd.1 axi.1 axl.1
MAN3= afnix::csm.3 afnix::gfx.3 afnix::itu.3 afnix::mth.3 afnix::net.3 \
afnix::nwg.3 afnix::sec.3 afnix::sio.3 afnix::sps.3 afnix::sys.3 \
afnix::txt.3 afnix::wax.3 afnix::xml.3 afnix::xpe.3
MAN7= afnix::guide.7 afnix::license.7 afnix::notes.7 afnix::reference.7
.include <bsd.port.pre.mk>
@ -46,7 +37,7 @@ BROKEN= Does not configure on powerpc
.endif
post-extract:
@cd ${WRKSRC}/cnf/mak && ${CP} -f afnix-gcc-3.mak afnix-freebsd.mak
@cd ${WRKSRC}/cnf/mak && ${CP} -f afnix-gcc-4.mak afnix-freebsd.mak
post-patch:
@${REINPLACE_CMD} -e 's|$$(CP)|$$(BSD_INSTALL_PROGRAM)|' \
@ -62,9 +53,9 @@ post-build:
@cd ${WRKSRC}/prj && ${SETENV} ${MAKE_ENV} ${GMAKE} doc
post-install:
.ifdef NOPORTDOCS
. for i in ${MAN1} ${MAN3} ${MAN4} ${MAN7}
${INSTALL_MAN} ${WRKSRC}/bld/${PORTNAME}-doc-${AFNIX_VERSION}/man/$i \
.if ! ${PORT_OPTIONS:MDOCS}
. for i in ${MAN1} ${MAN3} ${MAN7}
${INSTALL_MAN} ${WRKSRC}/bld/${PORTNAME}-doc-${PORTVERSION}/man/$i \
${MANPREFIX}/man/man${i:E}/
. endfor
.else

View File

@ -1,2 +1,2 @@
SHA256 (afnix-src-2-2-0.tgz) = 5cd2abcb83e55c60e1742d1eab9a21fe8f9cb1650296804320462e312d7b1f6a
SIZE (afnix-src-2-2-0.tgz) = 1954668
SHA256 (afnix-src-2.3.1.tgz) = 0362c127a56ffd2bbd807d213fb95e1268532ac5cfab48bb29ee8a0bf6cf9632
SIZE (afnix-src-2.3.1.tgz) = 2037185

View File

@ -1,9 +1,9 @@
--- cnf/bin/afnix-setup.orig
+++ cnf/bin/afnix-setup
@@ -310,7 +310,7 @@ do
--altdir=*) altdir="$argopt";;
--sdkdir) preopt=sdkdir;;
--sdkdir=*) sdkdir="$argopt";;
--- cnf/bin/afnix-setup.orig 2013-05-04 18:23:38.000000000 +0200
+++ cnf/bin/afnix-setup 2013-05-04 18:23:42.000000000 +0200
@@ -364,7 +364,7 @@ do
--pkgman=*) pkgman="$argopt";;
--pkgdoc) preopt=pkgdoc;;
--pkgdoc=*) pkgdoc="$argopt";;
- --compiler) preopt=compiler;;
+ --compiler) preopt=ccname;;
--compiler=*) ccname="$argopt";;

View File

@ -1,50 +1,32 @@
--- cnf/mak/afnix-freebsd.mak.orig 2011-01-13 18:27:28.000000000 +0100
+++ cnf/mak/afnix-freebsd.mak 2011-01-13 18:27:28.000000000 +0100
@@ -18,21 +18,21 @@
--- cnf/mak/afnix-freebsd.mak.orig 2013-05-04 18:23:18.000000000 +0200
+++ cnf/mak/afnix-freebsd.mak 2013-05-04 18:26:47.000000000 +0200
@@ -19,23 +19,23 @@
# - compiler and linker section -
# ----------------------------------------------------------------------------
-CC = g++
-LD = gcc
-LK = gcc
-LD = g++
-LK = g++
+CC = $(CXX)
+LD = $(CXX)
+LK = $(CXX)
AR = ar
-STDCCFLAGS = -Wall -Werror -MMD -fno-builtin
+STDCCFLAGS = -Wall -W -MMD -fno-builtin
RANLIB = ranlib
STDEVFLAGS =
-STDCCFLAGS = -Wall -Werror -fno-builtin
+STDCCFLAGS = -Wall -W -fno-builtin
STACCFLAGS =
DYNCCFLAGS = -fPIC
PLTCCFLAGS =
PLTCCFLAGS =
DEBUGFLAGS = -g
-OPTCCFLAGS = -O2
+OPTCCFLAGS =
+OPTCCFLAGS =
PFLCCFLAGS = -g -pg
COVCCFLAGS = -g -fprofile-arcs -ftest-coverage
CPPCCFLAGS = -nostdinc -nostdinc++
CXXCCFLAGS =
-STDDEFINES = -D_REENTRANT
-STDDEFINES =
+STDDEFINES = $(PTHREAD_CFLAGS)
DBGDEFINES = -DDEBUG
OPTDEFINES =
STDINCLUDE =
@@ -75,8 +75,8 @@ endif
# adjust for freebsd platform
ifeq ($(PLATNAME),freebsd)
-LD = g++
-LK = g++
+LD = $(CXX)
+LK = $(CXX)
ARFLAGS = rc
LDFLAGS = -shared
AFXCPPLIBS =
@@ -102,7 +102,7 @@ LKFLAGS =
# adjust linker flags for freebsd
ifeq ($(PLATNAME),freebsd)
-LKFLAGS = -pthread
+LKFLAGS = $(PTHREAD_LIBS)
endif
# ----------------------------------------------------------------------------

View File

@ -1,5 +1,5 @@
--- cnf/mak/afnix-rule.mak.orig 2011-01-13 11:16:23.000000000 +0100
+++ cnf/mak/afnix-rule.mak 2011-01-13 18:26:39.000000000 +0100
--- cnf/mak/afnix-rule.mak.orig 2013-01-19 04:28:54.000000000 +0100
+++ cnf/mak/afnix-rule.mak 2013-05-04 18:31:02.000000000 +0200
@@ -24,7 +24,7 @@ endif
ifeq ($(CCMODE),optimized)
ENVFLAGS = $(STDEVFLAGS) $(PLTEVFLAGS)
@ -50,10 +50,10 @@
install-dylib : $(DYLIB)
@$(MKDIR) $(LIBDIR)
- @$(CP) $(SOVRS) $(LIBDIR)
- @$(RM) $(LIBDIR)/$(SOMIN)
- @$(RM) $(LIBDIR)/$(DYLIB)
- @$(LN) $(SOVRS) $(LIBDIR)/$(SOMIN)
- @$(LN) $(SOMIN) $(LIBDIR)/$(DYLIB)
- @$(RM) $(LIBDIR)/$(SOMAJ)
- @$(LN) $(SOVRS) $(LIBDIR)/$(DYLIB)
- @$(LN) $(SOVRS) $(LIBDIR)/$(SOMAJ)
+ @$(BSD_INSTALL_PROGRAM) $(SOVRS) $(LIBDIR)/$(SOMAJ)
+ @$(LN) $(SOMAJ) $(LIBDIR)/$(DYLIB)
.PHONY: install-dylib

View File

@ -2,15 +2,19 @@ bin/axc
bin/axd
bin/axi
bin/axl
etc/afnix/afnix-gud.el
etc/afnix/afnix-mode.el
include/afnix/csm/Appointer.hpp
include/afnix/csm/Assistant.hpp
include/afnix/csm/Cart.hpp
include/afnix/csm/CartSet.hpp
include/afnix/csm/Ico.hpp
include/afnix/csm/Libcsm.hpp
include/afnix/csm/Locos.hpp
include/afnix/csm/LocalSpace.hpp
include/afnix/csm/Predcsm.hpp
include/afnix/csm/Rco.hpp
include/afnix/csm/Session.hpp
include/afnix/csm/SessionSet.hpp
include/afnix/csm/Slot.hpp
include/afnix/csm/WorkSpace.hpp
include/afnix/eng/ArgsList.hpp
include/afnix/eng/Builtin.hpp
include/afnix/eng/Class.hpp
@ -73,8 +77,10 @@ include/afnix/itu/AsnUtils.hpp
include/afnix/itu/Libitu.hpp
include/afnix/itu/Oid.hpp
include/afnix/itu/Preditu.hpp
include/afnix/itu/X509.hpp
include/afnix/itu/Xalgo.hpp
include/afnix/mth/Algebra.hpp
include/afnix/mth/IpPoint.hpp
include/afnix/mth/Ippd.hpp
include/afnix/mth/Krylov.hpp
include/afnix/mth/Libmth.hpp
include/afnix/mth/Linear.hpp
@ -87,6 +93,7 @@ include/afnix/mth/Random.hpp
include/afnix/mth/Rfi.hpp
include/afnix/mth/Rfunction.hpp
include/afnix/mth/Rmatrix.hpp
include/afnix/mth/Rmd.hpp
include/afnix/mth/Rmi.hpp
include/afnix/mth/Rni.hpp
include/afnix/mth/Rpolynom.hpp
@ -107,16 +114,20 @@ include/afnix/net/UdpClient.hpp
include/afnix/net/UdpServer.hpp
include/afnix/net/UdpSocket.hpp
include/afnix/nwg/Cookie.hpp
include/afnix/nwg/CookieJar.hpp
include/afnix/nwg/HeaderPart.hpp
include/afnix/nwg/HttpProto.hpp
include/afnix/nwg/HttpRequest.hpp
include/afnix/nwg/HttpResponse.hpp
include/afnix/nwg/HttpStream.hpp
include/afnix/nwg/Libnwg.hpp
include/afnix/nwg/Mime.hpp
include/afnix/nwg/MultiPart.hpp
include/afnix/nwg/NwgCalls.hpp
include/afnix/nwg/Prednwg.hpp
include/afnix/nwg/Session.hpp
include/afnix/nwg/SinglePart.hpp
include/afnix/nwg/Uri.hpp
include/afnix/nwg/UriPath.hpp
include/afnix/nwg/UriQuery.hpp
include/afnix/phy/Libphy.hpp
include/afnix/phy/Periodic.hpp
@ -234,6 +245,7 @@ include/afnix/std/Loader.hpp
include/afnix/std/Lockrw.hpp
include/afnix/std/Logger.hpp
include/afnix/std/Math.hpp
include/afnix/std/Message.hpp
include/afnix/std/Monitor.hpp
include/afnix/std/Mutex.hpp
include/afnix/std/NameTable.hpp
@ -314,6 +326,7 @@ include/afnix/txt/TxtUtils.hpp
include/afnix/txt/Worder.hpp
include/afnix/wax/Libwax.hpp
include/afnix/wax/Predwax.hpp
include/afnix/wax/XhtmlBase.hpp
include/afnix/wax/XhtmlBody.hpp
include/afnix/wax/XhtmlBr.hpp
include/afnix/wax/XhtmlCaption.hpp
@ -322,7 +335,9 @@ include/afnix/wax/XhtmlCol.hpp
include/afnix/wax/XhtmlDiv.hpp
include/afnix/wax/XhtmlEmph.hpp
include/afnix/wax/XhtmlEquiv.hpp
include/afnix/wax/XhtmlForm.hpp
include/afnix/wax/XhtmlHead.hpp
include/afnix/wax/XhtmlHidden.hpp
include/afnix/wax/XhtmlHr.hpp
include/afnix/wax/XhtmlHtml.hpp
include/afnix/wax/XhtmlImg.hpp
@ -330,16 +345,20 @@ include/afnix/wax/XhtmlLi.hpp
include/afnix/wax/XhtmlLink.hpp
include/afnix/wax/XhtmlMeta.hpp
include/afnix/wax/XhtmlMime.hpp
include/afnix/wax/XhtmlOption.hpp
include/afnix/wax/XhtmlPara.hpp
include/afnix/wax/XhtmlPre.hpp
include/afnix/wax/XhtmlRef.hpp
include/afnix/wax/XhtmlRoot.hpp
include/afnix/wax/XhtmlScript.hpp
include/afnix/wax/XhtmlSelect.hpp
include/afnix/wax/XhtmlStyle.hpp
include/afnix/wax/XhtmlSubmit.hpp
include/afnix/wax/XhtmlTable.hpp
include/afnix/wax/XhtmlTbody.hpp
include/afnix/wax/XhtmlTd.hpp
include/afnix/wax/XhtmlTelem.hpp
include/afnix/wax/XhtmlText.hpp
include/afnix/wax/XhtmlTfoot.hpp
include/afnix/wax/XhtmlTh.hpp
include/afnix/wax/XhtmlThead.hpp
@ -398,6 +417,7 @@ include/afnix/xpe/XmlPlist.hpp
include/afnix/xpe/XmlPrintTable.hpp
include/afnix/xpe/XmlProcessor.hpp
lib/afnix/afnix-std-adp.axl
lib/afnix/afnix-std-axp.axl
lib/libafnix-csm.a
lib/libafnix-csm.so
lib/libafnix-csm.so.2
@ -455,7 +475,6 @@ lib/libafnix-xml.so.2
lib/libafnix-xpe.a
lib/libafnix-xpe.so
lib/libafnix-xpe.so.2
@dirrm etc/afnix
@dirrm include/afnix/csm
@dirrm include/afnix/eng
@dirrm include/afnix/gfx