aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2013-07-27 04:49:31 +0800
committermarino <marino@FreeBSD.org>2013-07-27 04:49:31 +0800
commit381d637436e98efdd2524f0ab4c8be18dad9f80a (patch)
tree3caeab219ffda38dff647b780335e816c056f99c /textproc
parent625e260e65ea4d4412f5de240f97e636450f2063 (diff)
downloadfreebsd-ports-gnome-381d637436e98efdd2524f0ab4c8be18dad9f80a.tar.gz
freebsd-ports-gnome-381d637436e98efdd2524f0ab4c8be18dad9f80a.tar.zst
freebsd-ports-gnome-381d637436e98efdd2524f0ab4c8be18dad9f80a.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)
Diffstat (limited to 'textproc')
-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