2000-08-02 20:03:08 +02:00
|
|
|
# New ports collection makefile for: biblereader
|
|
|
|
# Date created: 16 April 2000
|
|
|
|
# Whom: Patrick Seal <patseal@hyperhost.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= biblereader
|
2000-10-24 12:59:50 +02:00
|
|
|
PORTVERSION= 0.3.3
|
2000-10-04 08:40:08 +02:00
|
|
|
CATEGORIES= misc
|
2000-08-02 20:03:08 +02:00
|
|
|
MASTER_SITES= ftp://ftp.whitevine.com/biblereader/
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} kjv.tar.gz
|
2000-08-06 17:29:04 +02:00
|
|
|
.if defined(WITH_TRANSLATIONS)
|
|
|
|
DISTFILES+= asv.tar.gz darby.tar.gz
|
|
|
|
.endif
|
2000-10-24 12:59:50 +02:00
|
|
|
.if defined(WITH_NOTES)
|
|
|
|
DISTFILES+= mhc.tar.gz
|
|
|
|
.endif
|
|
|
|
.if defined(WITH_DICTIONARIES)
|
|
|
|
DISTFILES+= easton.tar.gz strongs.tar.gz torrey.tar.gz
|
2000-08-06 17:29:04 +02:00
|
|
|
.endif
|
2000-08-02 20:03:08 +02:00
|
|
|
|
2002-11-23 03:25:42 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= A GUI based Bible program for X11
|
2000-08-02 20:03:08 +02:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
2002-09-01 17:13:16 +02:00
|
|
|
USE_GNOMENG= yes
|
|
|
|
USE_GNOME= gtk12
|
2000-10-05 08:42:57 +02:00
|
|
|
PLIST= ${WRKDIR}/PLIST
|
2000-08-06 17:29:04 +02:00
|
|
|
|
2000-10-05 08:42:57 +02:00
|
|
|
DATAFILES= ${WRKDIR}/kjv/kjv
|
2000-08-06 17:29:04 +02:00
|
|
|
.if defined(WITH_TRANSLATIONS)
|
2000-10-22 15:29:21 +02:00
|
|
|
PLISTS+= ${PKGDIR}/pkg-plist.translations
|
2000-10-24 12:59:50 +02:00
|
|
|
DATAFILES+= ${WRKDIR}/asv/asv ${WRKDIR}/darby/darby
|
2000-08-06 17:29:04 +02:00
|
|
|
.endif
|
2000-10-24 12:59:50 +02:00
|
|
|
.if defined(WITH_NOTES)
|
|
|
|
PLISTS+= ${PKGDIR}/pkg-plist.notes
|
|
|
|
DATAFILES+= ${WRKDIR}/mhc/mhc
|
2000-08-06 17:29:04 +02:00
|
|
|
.endif
|
2000-10-24 12:59:50 +02:00
|
|
|
.if defined(WITH_DICTIONARIES)
|
|
|
|
PLISTS+= ${PKGDIR}/pkg-plist.dictionaries
|
|
|
|
DATAFILES+= ${WRKDIR}/easton/eastons.dict ${WRKDIR}/torrey/torrey.dict
|
|
|
|
DATAFILES+= ${WRKDIR}/strongs/kjv-strongs ${WRKDIR}/strongs/strongs-greek.dict ${WRKDIR}/strongs/strongs-hebrew.dict
|
|
|
|
.endif
|
|
|
|
PLISTS+= ${PKGDIR}/pkg-plist
|
2000-08-06 17:29:04 +02:00
|
|
|
|
|
|
|
pre-fetch:
|
2000-10-24 12:59:50 +02:00
|
|
|
.if !defined(WITH_TRANSLATIONS)
|
|
|
|
@${ECHO_MSG}
|
|
|
|
@${ECHO_MSG} "To download/install additional translations use"
|
|
|
|
@${ECHO_MSG} "\"make install -DWITH_TRANSLATIONS\""
|
|
|
|
@${ECHO_MSG}
|
|
|
|
.endif
|
|
|
|
.if !defined(WITH_NOTES)
|
2000-08-06 17:29:04 +02:00
|
|
|
@${ECHO_MSG}
|
2000-10-24 12:59:50 +02:00
|
|
|
@${ECHO_MSG} "To download/install commentary and notes use"
|
|
|
|
@${ECHO_MSG} "\"make install -DWITH_NOTES\""
|
2000-08-06 17:29:04 +02:00
|
|
|
@${ECHO_MSG}
|
|
|
|
.endif
|
2000-10-24 12:59:50 +02:00
|
|
|
.if !defined(WITH_DICTIONARIES)
|
2000-08-06 17:29:04 +02:00
|
|
|
@${ECHO_MSG}
|
2000-10-24 12:59:50 +02:00
|
|
|
@${ECHO_MSG} "To download/install dictionaries and notes use"
|
|
|
|
@${ECHO_MSG} "\"make install -DWITH_DICTONARIES\""
|
2000-08-06 17:29:04 +02:00
|
|
|
@${ECHO_MSG}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/biblereader ${PREFIX}/bin/biblereader
|
|
|
|
${MKDIR} ${PREFIX}/share/biblereader
|
2000-10-24 12:59:50 +02:00
|
|
|
for file in ${DATAFILES}; do \
|
2000-08-06 17:29:04 +02:00
|
|
|
${INSTALL_DATA} $${file} ${PREFIX}/share/biblereader; \
|
|
|
|
done
|
2000-10-05 08:42:57 +02:00
|
|
|
@${CAT} ${PLISTS} > ${PLIST}
|
2000-08-02 20:03:08 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|