Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2013 18:38:04 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r331623 - head/emulators/hercules
Message-ID:  <201310251838.r9PIc4Dv081053@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Fri Oct 25 18:38:03 2013
New Revision: 331623
URL: http://svnweb.freebsd.org/changeset/ports/331623

Log:
  - Update from 3.08 to 3.09
  - Define DOCS and OPTIMIZATIONS options
  - Remove NLS option
  - Add stage support

Modified:
  head/emulators/hercules/Makefile
  head/emulators/hercules/distinfo
  head/emulators/hercules/pkg-plist

Modified: head/emulators/hercules/Makefile
==============================================================================
--- head/emulators/hercules/Makefile	Fri Oct 25 18:33:35 2013	(r331622)
+++ head/emulators/hercules/Makefile	Fri Oct 25 18:38:03 2013	(r331623)
@@ -2,25 +2,31 @@
 # $FreeBSD$
 
 PORTNAME=	hercules
-PORTVERSION=	3.08
+PORTVERSION=	3.09
 CATEGORIES=	emulators
 MASTER_SITES=	http://downloads.hercules-390.eu/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	System/370, ESA/390, and z/Architecture Emulator
 
-OPTIONS_DEFINE=	DEBUG NLS PTHREADS
-OPTIONS_DEFAULT=	NLS PTHREADS
+OPTIONS_DEFINE=	DEBUG PTHREADS OPTIMIZATIONS DOCS
+OPTIONS_DEFAULT=	PTHREADS
 PTHREADS_DESC=	Build with pthreads instead of fthreads
+OPTIMIZATIONS_DESC=	Enable optimizations
 
 USE_AUTOTOOLS=	libtool libltdl
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 
+CFLAGS+=	-I/usr/local/include
+LDFLAGS+=	-L/usr/local/lib
+
 PORTDOCS=	*
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+DEBUG_CFLAGS=	-g
+PTHREADS_CONFIGURE_ON=	--disable-fthreads
+OPTIMIZATIONS_CONFIGURE_ON=	--enable-optimization="yes"
+OPTIMIZATIONS_CONFIGURE_OFF=	--enable-optimization="no"
 
 post-extract:
 	@${RM} ${WRKSRC}/ltdl.*
@@ -28,39 +34,8 @@ post-extract:
 post-patch:
 	@${REINPLACE_CMD} -e 's@-lpthread@${PTHREAD_LIBS}@g' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's@SOL_TCP@IPPROTO_TCP@g' ${WRKSRC}/hscutl.c
-.if empty(PORT_OPTIONS:MDOCS)
-	@${REINPLACE_CMD} -e 's,^SUBDIRS = decNumber m4 po util html man . crypto,SUBDIRS = decNumber m4 po util man . crypto,g' ${WRKSRC}/Makefile.in
-.else
 	@${REINPLACE_CMD} -e 's,^datadir = @datadir@,datadir = ${PREFIX}/share/doc/,' ${WRKSRC}/html/Makefile.in
-.endif
 	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
 		'/^libherc_la_LIBADD/s|=|= -lltdl |g'
 
-MAN1=			cckddiag.1 dasdseq.1
-MAN4=			cckd.4
-
-post-install:
-	@${CAT} ${PKGMESSAGE}
-
-.if ${PORT_OPTIONS:MDEBUG}
-CFLAGS+=	-g
-.endif
-
-.if ${PORT_OPTIONS:MPTHREADS}
-CONFIGURE_ARGS+=	--disable-fthreads
-.endif
-
-.if empty(PORT_OPTIONS:MNLS)
-CONFIGURE_ARGS+=	--disable-nls
-PLIST_SUB+=		GETTEXT="@comment "
-.else
-CONFIGURE_ARGS+=	--with-libintl-prefix=${LOCALBASE}
-USES+=		gettext
-PLIST_SUB+=		GETTEXT=""
-.endif
-
-.if defined(CFLAGS)
-CONFIGURE_ARGS+=	--enable-optimization="no"
-.endif
-
 .include <bsd.port.mk>

Modified: head/emulators/hercules/distinfo
==============================================================================
--- head/emulators/hercules/distinfo	Fri Oct 25 18:33:35 2013	(r331622)
+++ head/emulators/hercules/distinfo	Fri Oct 25 18:38:03 2013	(r331623)
@@ -1,2 +1,2 @@
-SHA256 (hercules-3.08.tar.gz) = 85e217773587f2278d4b6cb6bc815e042cfc982d0fc14baa0da4a84dea399e9d
-SIZE (hercules-3.08.tar.gz) = 2684844
+SHA256 (hercules-3.09.tar.gz) = 98a6029d908943451635ba53acf97ed61fdf6ebafc4402be7137c620851fe4e7
+SIZE (hercules-3.09.tar.gz) = 2567052

Modified: head/emulators/hercules/pkg-plist
==============================================================================
--- head/emulators/hercules/pkg-plist	Fri Oct 25 18:33:35 2013	(r331622)
+++ head/emulators/hercules/pkg-plist	Fri Oct 25 18:38:03 2013	(r331623)
@@ -72,7 +72,10 @@ lib/hercules/hdteq.la
 lib/hercules/hdteq.so
 lib/hercules/hdtqeth.la
 lib/hercules/hdtqeth.so
-@dirrm lib/hercules
+man/man1/cckddiag.1.gz
+man/man1/dasdseq.1.gz
+man/man1/hercules.1.gz
+man/man4/cckd.4.gz
 %%DATADIR%%/TMOUNT.txt
 %%DATADIR%%/awssl-v19g
 %%DATADIR%%/awswrite.jcl
@@ -81,6 +84,5 @@ lib/hercules/hdtqeth.so
 %%DATADIR%%/rawstape.jcl
 %%DATADIR%%/tapeconv.jcl
 %%DATADIR%%/zzsacard.bin
-@dirrm share/hercules
-%%GETTEXT%%share/locale/de/LC_MESSAGES/hercules.mo
-%%GETTEXT%%share/locale/nl/LC_MESSAGES/hercules.mo
+@dirrm %%DATADIR%%
+@dirrm lib/hercules



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310251838.r9PIc4Dv081053>