summaryrefslogtreecommitdiff
path: root/misc/sword15
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2004-02-08 20:31:24 +0000
committerMark Linimon <linimon@FreeBSD.org>2004-02-08 20:31:24 +0000
commitbbca5a953b617f81aa47b8bc6d1310214f20e5f5 (patch)
treeefc9020a5f38440783ba402294e463b299864e06 /misc/sword15
parent* Fix a bug where Firebird would lock up after typing any text. This had to (diff)
Unbreak misc/cheatah by reworking the Makefile of its master port,
misc/sword. Submitted by: Willem van Engen <wvengen@stack.nl> (maintainer of both)
Notes
Notes: svn path=/head/; revision=100412
Diffstat (limited to 'misc/sword15')
-rw-r--r--misc/sword15/Makefile12
-rw-r--r--misc/sword15/Makefile.common11
2 files changed, 18 insertions, 5 deletions
diff --git a/misc/sword15/Makefile b/misc/sword15/Makefile
index 7430f08bb6a0..ab79ef08a410 100644
--- a/misc/sword15/Makefile
+++ b/misc/sword15/Makefile
@@ -5,13 +5,13 @@
# $FreeBSD$
#
-PORTNAME= sword
-PORTVERSION= 1.5.5
+PORTNAME= ${SWORD_PORTNAME}
+PORTVERSION= ${SWORD_PORTVERSION}
PORTREVISION= 1
CATEGORIES= misc
-MASTER_SITES= ftp://ftp.crosswire.org/pub/sword/source/v1.5/ \
- ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= ${SWORD_MASTER_SITES}
+MASTER_SITE_SUBDIR= ${SWORD_MASTER_SITE_SUBDIR}
+DISTNAME= ${SWORD_DISTNAME}
MAINTAINER= wvengen@stack.nl
COMMENT= A project framework for manipulating Bible texts
@@ -29,6 +29,8 @@ PLIST_SUB+= INSTALLMGR=""
CONFIGURE_ARGS+= --disable-installmgr
PLIST_SUB+= INSTALLMGR="@comment "
+.include "${.CURDIR}/Makefile.common"
+
pre-everything::
@${ECHO_CMD} "Define WITH_INSTALLMGR to include the installmanager (curl)"
.endif
diff --git a/misc/sword15/Makefile.common b/misc/sword15/Makefile.common
new file mode 100644
index 000000000000..a2731b181964
--- /dev/null
+++ b/misc/sword15/Makefile.common
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+SWORD_PORTNAME= sword
+SWORD_PORTVERSION= 1.5.5
+SWORD_MASTER_SITES= ftp://ftp.crosswire.org/pub/sword/source/v1.5/ \
+ ${MASTER_SITE_SOURCEFORGE}
+SWORD_MASTER_SITE_SUBDIR= ${PORTNAME}
+SWORD_DISTNAME= ${SWORD_PORTNAME}-${SWORD_PORTVERSION}
+
+MD5_FILE?= ${PORTSDIR}/misc/sword/distinfo
+