Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jul 2013 20:49:32 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r323752 - head/textproc/words
Message-ID:  <201307262049.r6QKnWJn015528@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Fri Jul 26 20:49:31 2013
New Revision: 323752
URL: http://svnweb.freebsd.org/changeset/ports/323752

Log:
  textproc/words: Move to Ada framework
  
  Currently this port has a hard dependency on lang/gnat.  This has been
  replaced with USES+=ada and minor changes to incorporate it into the Ada
  framework with a PORTREVISION bump.
  
  The MASTER_SITES url did not resolve, so the distfile was unfetchable.
  Luckily the entire site was archived, so the MASTER_SITES and primary
  site fetching has been restored.  The makefile header was trimmed, the
  AUTHOR was removed as the email may not longer be valid, NOPORTDOCS
  was replaced with the DOCS option, and now portlint is happy.
  
  Approved by:	bapt & culot (mentors)

Modified:
  head/textproc/words/Makefile
  head/textproc/words/pkg-descr

Modified: head/textproc/words/Makefile
==============================================================================
--- head/textproc/words/Makefile	Fri Jul 26 19:46:21 2013	(r323751)
+++ head/textproc/words/Makefile	Fri Jul 26 20:49:31 2013	(r323752)
@@ -1,26 +1,24 @@
-# New ports collection makefile for:	words
-# Date created:		2 January 2004
-# Whom:			Leland Wang <llwang@infor.org>
-#
+# Created by: Leland Wang <llwang@infor.org>
 # $FreeBSD$
-#
 
 PORTNAME=	words
 PORTVERSION=	1.97F
+PORTREVISION=	1
 CATEGORIES=	textproc
-MASTER_SITES=	http://users.erols.com/whitaker/
+MASTER_SITES=	http://archives.nd.edu/whitaker/
 DISTNAME=	${PORTNAME}all
-EXTRACT_SUFX=	.zip
 
 MAINTAINER=	llwang@infor.org
 COMMENT=	A Latin-English Dictionary Program
 
-BUILD_DEPENDS=	gnatmake:${PORTSDIR}/lang/gnat
-
+USES=		ada
 USE_ZIP=	yes
 NO_WRKSUBDIR=	yes
+GNATMAKE=	env ${MAKE_ENV} gnatmake
+
+OPTIONS_DEFINE=	DOCS
 
-GNATMAKE=	gnatmake
+.include <bsd.port.options.mk>
 
 do-build:
 	@cd ${WRKSRC} && \
@@ -46,7 +44,7 @@ do-install:
 	${INSTALL_DATA} ${WRKSRC}/ADDONS.LAT ${DATADIR}
 	${INSTALL_DATA} ${WRKSRC}/UNIQUES.LAT ${DATADIR}
 	${INSTALL_SCRIPT} ${WRKDIR}/words.sh ${PREFIX}/bin/words
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/wordsdoc.htm ${DOCSDIR}
 .endif

Modified: head/textproc/words/pkg-descr
==============================================================================
--- head/textproc/words/pkg-descr	Fri Jul 26 19:46:21 2013	(r323751)
+++ head/textproc/words/pkg-descr	Fri Jul 26 20:49:31 2013	(r323752)
@@ -11,5 +11,4 @@ late Latin, but medieval Latin entries a
 tool to help in translations for the Latin student and a memory jog for
 researchers.
 
-Author: William Whitaker <whitaker@erols.com>
-WWW: http://users.erols.com/whitaker/words.htm
+WWW: http://archives.nd.edu/whitaker/wordsdoc.htm



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