aboutsummaryrefslogtreecommitdiff
path: root/textproc/words
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2013-07-26 20:49:31 +0000
committerJohn Marino <marino@FreeBSD.org>2013-07-26 20:49:31 +0000
commitbcdb8c1dc9029f231c8818385e3761932eb824b0 (patch)
tree3caeab219ffda38dff647b780335e816c056f99c /textproc/words
parent25b5722c1e9f7583ce7196eaf51046f8b6a70ddd (diff)
downloadports-bcdb8c1dc9029f231c8818385e3761932eb824b0.tar.gz
ports-bcdb8c1dc9029f231c8818385e3761932eb824b0.zip
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)
Notes
Notes: svn path=/head/; revision=323752
Diffstat (limited to 'textproc/words')
-rw-r--r--textproc/words/Makefile20
-rw-r--r--textproc/words/pkg-descr3
2 files changed, 10 insertions, 13 deletions
diff --git a/textproc/words/Makefile b/textproc/words/Makefile
index 4445f7089bae..79451ce5c392 100644
--- a/textproc/words/Makefile
+++ b/textproc/words/Makefile
@@ -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
diff --git a/textproc/words/pkg-descr b/textproc/words/pkg-descr
index 3f9824ad78b7..5a30656e6a7d 100644
--- a/textproc/words/pkg-descr
+++ b/textproc/words/pkg-descr
@@ -11,5 +11,4 @@ late Latin, but medieval Latin entries are increasing. WORDS provides 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