aboutsummaryrefslogtreecommitdiffstats
path: root/misc/sword15/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-12-11 17:36:33 +0800
committerijliao <ijliao@FreeBSD.org>2001-12-11 17:36:33 +0800
commit7391a3ace2d8aee4e87cf8d5005b308eaaa65a85 (patch)
tree058af4c2b5c631befafcc31e8c9ab532fdf3c4b7 /misc/sword15/Makefile
parent4d36c7936405939a4c8bfa11cd50aeb614b4caf6 (diff)
downloadfreebsd-ports-gnome-7391a3ace2d8aee4e87cf8d5005b308eaaa65a85.tar.gz
freebsd-ports-gnome-7391a3ace2d8aee4e87cf8d5005b308eaaa65a85.tar.zst
freebsd-ports-gnome-7391a3ace2d8aee4e87cf8d5005b308eaaa65a85.zip
add sword
A project framework for manipulating Bible texts PR: 28450 Submitted by: Willem van Engen <wvengen@stack.nl>
Diffstat (limited to 'misc/sword15/Makefile')
-rw-r--r--misc/sword15/Makefile63
1 files changed, 63 insertions, 0 deletions
diff --git a/misc/sword15/Makefile b/misc/sword15/Makefile
new file mode 100644
index 000000000000..fc233b593c9a
--- /dev/null
+++ b/misc/sword15/Makefile
@@ -0,0 +1,63 @@
+# New ports collection makefile for: sword
+# Date created: 22 may 2001
+# Whom: Willem van Engen <wvengen@stack.nl>
+#
+# $FreeBSD$
+#
+
+PORTNAME= sword
+PORTVERSION= 1.5.1a
+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/ \
+ ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= wvengen@stack.nl
+
+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
+
+pre-build:
+ @${ECHO} "instdir:= ${PREFIX}" >${WRKSRC}/localport.cfg
+
+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
+ ${MKDIR} ${DATADIR}
+ ${MKDIR} ${PREFIX}/include/sword
+.for file in ${INCLUDES}
+ ${INSTALL_DATA} ${WRKSRC}/include/${file} ${PREFIX}/include/sword
+.endfor
+
+post-install: register
+ @${ECHO} ""
+ @${CAT} ${PKGMESSAGE}
+
+register:
+.if !defined(BATCH)
+ @${ECHO} "Do you want to help the authors of SWORD to keep track of how many"
+ @${ECHO} -n "people use this program and register now ? [y/n] "
+ @read answer; \
+ if [ x$$answer = xy -o x$$answer = xY ]; then \
+ (cd ${WRKSRC}; ${GMAKE} register;); \
+ fi
+.endif
+
+.include <bsd.port.mk>