svn commit: r323752 - head/textproc/words

John Marino marino at FreeBSD.org
Fri Jul 26 20:49:32 UTC 2013


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 at infor.org>
-#
+# Created by: Leland Wang <llwang at 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 at 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 at erols.com>
-WWW: http://users.erols.com/whitaker/words.htm
+WWW: http://archives.nd.edu/whitaker/wordsdoc.htm


More information about the svn-ports-all mailing list