aboutsummaryrefslogtreecommitdiff
path: root/misc/sword15/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-11 09:36:33 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-11 09:36:33 +0000
commit9be0014e2170ff27036f7f1fafcb4d85f78fd180 (patch)
tree9f42b5b59ec9dee2c5cbc0540c7bb595ecc79a6c /misc/sword15/Makefile
parent1a20bbfd71d9b87cce52c83772ed839f3a7d195e (diff)
downloadports-9be0014e2170ff27036f7f1fafcb4d85f78fd180.tar.gz
ports-9be0014e2170ff27036f7f1fafcb4d85f78fd180.zip
Notes
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>