aboutsummaryrefslogtreecommitdiffstats
path: root/misc/sword15
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2004-02-09 04:31:24 +0800
committerlinimon <linimon@FreeBSD.org>2004-02-09 04:31:24 +0800
commitd81db6d167ee6b5943b28518819e6f7c65509752 (patch)
tree84dd26b0f5648b7c48abb6f226f175a006d1d8a6 /misc/sword15
parent0f11da81658af4e419757abbac620f68d7a07a3f (diff)
downloadfreebsd-ports-gnome-d81db6d167ee6b5943b28518819e6f7c65509752.tar.gz
freebsd-ports-gnome-d81db6d167ee6b5943b28518819e6f7c65509752.tar.zst
freebsd-ports-gnome-d81db6d167ee6b5943b28518819e6f7c65509752.zip
Unbreak misc/cheatah by reworking the Makefile of its master port,
misc/sword. Submitted by: Willem van Engen <wvengen@stack.nl> (maintainer of both)
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
+