summaryrefslogtreecommitdiff
path: root/misc/sword15
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-04-21 17:42:56 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-04-21 17:42:56 +0000
commit3e8d36d894e6a77cc612578d1bf698bdda5d01e3 (patch)
treeb5f4719ac60b56b91c9ae58d52d1fe3fbaacb097 /misc/sword15
parentBROKEN: Does not compile (diff)
- Unbreak
- Fix build with HEAD PR: 111976 Submitted by: Thomas Abthorpe <thomas@goodking.ca>
Notes
Notes: svn path=/head/; revision=190587
Diffstat (limited to 'misc/sword15')
-rw-r--r--misc/sword15/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/misc/sword15/Makefile b/misc/sword15/Makefile
index 423947ad1230..56259faed6ea 100644
--- a/misc/sword15/Makefile
+++ b/misc/sword15/Makefile
@@ -21,17 +21,11 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS= automake:19
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ARGS+= --without-conf --without-clucene
+CONFIGURE_ARGS+= --without-conf --without-lucene
USE_LDCONFIG= yes
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
-.include <bsd.port.pre.mk>
-
-.if ( ${OSVERSION} >= 700000 )
-BROKEN= does not build on 7.X
-.endif
-
.if defined(WITHOUT_CURL)
CONFIGURE_ARGS+= --without-curl
PLIST_SUB+= INSTALLMGR="@comment "
@@ -51,7 +45,7 @@ post-patch:
post-install:
@${MKDIR} ${PREFIX}/share/sword/mods.d
.if !exists(${PREFIX}/etc/sword.conf)
- @(cd ${WRKSRC} && make install_config)
+ @(cd ${WRKSRC} && ${GMAKE} install_config)
.else
@${ECHO_CMD} "Config file not installed since ${PREFIX}/etc/sword.conf already exists."
@${ECHO_CMD} "Please check that DataPath points to your modules (default ${DATADIR}).";
@@ -60,6 +54,6 @@ post-install:
@${CAT} ${PKGMESSAGE}
register:
- @(cd ${WRKSRC} && make register)
+ @(cd ${WRKSRC} && ${GMAKE} register)
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>