diff options
Diffstat (limited to 'misc/sword15')
-rw-r--r-- | misc/sword15/Makefile | 12 | ||||
-rw-r--r-- | misc/sword15/Makefile.common | 11 |
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 + |