summaryrefslogtreecommitdiff
path: root/misc/sword/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-13 02:53:57 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-13 02:53:57 +0000
commitca237d85f5fd2e10d8d0f3bf77cea8dca4c50f15 (patch)
tree5a08746c1f72214517bca55b2940e710ad25782f /misc/sword/Makefile
parentUse mail/mew2 (for emacs21, repocopied from mai/mew2-emacs20) as master (diff)
upgrade to 1.5.2
PR: 32751 Submitted by: maintainer
Diffstat (limited to 'misc/sword/Makefile')
-rw-r--r--misc/sword/Makefile32
1 files changed, 17 insertions, 15 deletions
diff --git a/misc/sword/Makefile b/misc/sword/Makefile
index fc233b593c9a..d8b0d13efcf6 100644
--- a/misc/sword/Makefile
+++ b/misc/sword/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= sword
-PORTVERSION= 1.5.1a
+PORTVERSION= 1.5.2
CATEGORIES= misc
MASTER_SITES= ftp://ftp.crosswire.org/pub/sword/source/v1.5/ \
http://www.crosswire.org/sword/download/ftpmirror/pub/sword/source/v1.5/ \
@@ -19,18 +19,19 @@ USE_GMAKE= yes
INSTALLS_SHLIB= yes
INCLUDES= Greek2Greek.h GreekChars.h canon.h cipherfil.h defs.h \
- echomod.h femain.h filemgr.h gbffootnotes.h gbfhtml.h \
- gbfplain.h gbfrtf.h gbfstrongs.h gbfthml.h hrefcom.h \
- listkey.h localemgr.h lzsscomprs.h plainfootnotes.h \
- plainhtml.h rawcom.h rawfiles.h rawgbf.h rawld.h rawstr.h \
- rawtext.h rawverse.h regex.h rtfhtml.h rwphtml.h rwprtf.h \
- sapphire.h strkey.h swcipher.h swcom.h swcomprs.h \
- swconfig.h swdisp.h swdisprtf.h swdisprtfchap.h swfilter.h \
- swkey.h swld.h swlocale.h swlog.h swmacs.h swmgr.h \
- swmodule.h swtext.h swwinlog.h tbdisp.h thmlgbf.h \
- thmlhtml.h thmlplain.h thmlrtf.h unixstr.h utilconf.h \
- utilfuns.h utilstr.h versekey.h zcom.h zipcomprs.h ztext.h \
- zverse.h
+ echomod.h entriesblk.h femain.h filemgr.h gbffootnotes.h \
+ gbfheadings.h gbfhtml.h gbfmorph.h gbfplain.h gbfrtf.h \
+ gbfstrongs.h gbfthml.h hrefcom.h listkey.h localemgr.h \
+ lzsscomprs.h plainfootnotes.h plainhtml.h rawcom.h rawfiles.h \
+ rawgbf.h rawld.h rawld4.h rawstr.h rawstr4.h rawtext.h \
+ rawverse.h regex.h roman.h rtfhtml.h rwphtml.h rwprtf.h \
+ sapphire.h strkey.h swcipher.h swcom.h swcomprs.h swconfig.h \
+ swdisp.h swdisprtf.h swdisprtfchap.h swfilter.h swkey.h swld.h \
+ swlocale.h swlog.h swmacs.h swmgr.h swmodule.h swobject.h \
+ swtext.h swunicod.h swwinlog.h tbdisp.h thmlgbf.h thmlhtml.h \
+ thmlolb.h thmlplain.h thmlrtf.h unicodertf.h unixstr.h untgz.h \
+ utilconf.h utilfuns.h utilstr.h versekey.h zcom.h zconf.h \
+ zipcomprs.h zlib.h ztext.h zverse.h
pre-build:
@${ECHO} "instdir:= ${PREFIX}" >${WRKSRC}/localport.cfg
@@ -38,8 +39,9 @@ pre-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lib/libsword.a ${PREFIX}/lib
${INSTALL_PROGRAM} ${WRKSRC}/lib/libsword.so ${PREFIX}/lib/libsword.so.1
- ${LN} -s ${PREFIX}/lib/libsword.so.1 ${PREFIX}/lib/libsword.so
- ${INSTALL_DATA} ${FILESDIR}/sword.conf ${PREFIX}/etc
+ ${LN} -sf ${PREFIX}/lib/libsword.so.1 ${PREFIX}/lib/libsword.so
+ @${ECHO} "[Install]" >${PREFIX}/etc/sword.conf
+ @${ECHO} "DataPath=${DATADIR}" >>${PREFIX}/etc/sword.conf
${MKDIR} ${DATADIR}
${MKDIR} ${PREFIX}/include/sword
.for file in ${INCLUDES}