2000-08-02 18:03:08 +00:00
|
|
|
# New ports collection makefile for: biblereader
|
|
|
|
# Date created: 16 April 2000
|
|
|
|
# Whom: Patrick Seal <patseal@hyperhost.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= biblereader
|
2000-10-24 10:59:50 +00:00
|
|
|
PORTVERSION= 0.3.3
|
2000-10-04 06:40:08 +00:00
|
|
|
CATEGORIES= misc
|
2000-08-02 18:03:08 +00:00
|
|
|
MASTER_SITES= ftp://ftp.whitevine.com/biblereader/
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} kjv.tar.gz
|
2000-08-06 15:29:04 +00:00
|
|
|
.if defined(WITH_TRANSLATIONS)
|
|
|
|
DISTFILES+= asv.tar.gz darby.tar.gz
|
|
|
|
.endif
|
2000-10-24 10:59:50 +00: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 15:29:04 +00:00
|
|
|
.endif
|
2000-08-02 18:03:08 +00:00
|
|
|
|
|
|
|
MAINTAINER= patseal@hyperhost.net
|
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
2000-10-05 06:42:57 +00:00
|
|
|
USE_GTK= yes
|
|
|
|
PLIST= ${WRKDIR}/PLIST
|
2000-08-06 15:29:04 +00:00
|
|
|
|
2000-10-05 06:42:57 +00:00
|
|
|
DATAFILES= ${WRKDIR}/kjv/kjv
|
2000-08-06 15:29:04 +00:00
|
|
|
.if defined(WITH_TRANSLATIONS)
|
2000-10-22 13:29:21 +00:00
|
|
|
PLISTS+= ${PKGDIR}/pkg-plist.translations
|
2000-10-24 10:59:50 +00:00
|
|
|
DATAFILES+= ${WRKDIR}/asv/asv ${WRKDIR}/darby/darby
|
2000-08-06 15:29:04 +00:00
|
|
|
.endif
|
2000-10-24 10:59:50 +00:00
|
|
|
.if defined(WITH_NOTES)
|
|
|
|
PLISTS+= ${PKGDIR}/pkg-plist.notes
|
|
|
|
DATAFILES+= ${WRKDIR}/mhc/mhc
|
2000-08-06 15:29:04 +00:00
|
|
|
.endif
|
2000-10-24 10:59:50 +00: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 15:29:04 +00:00
|
|
|
|
|
|
|
pre-fetch:
|
2000-10-24 10:59:50 +00: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 15:29:04 +00:00
|
|
|
@${ECHO_MSG}
|
2000-10-24 10:59:50 +00:00
|
|
|
@${ECHO_MSG} "To download/install commentary and notes use"
|
|
|
|
@${ECHO_MSG} "\"make install -DWITH_NOTES\""
|
2000-08-06 15:29:04 +00:00
|
|
|
@${ECHO_MSG}
|
|
|
|
.endif
|
2000-10-24 10:59:50 +00:00
|
|
|
.if !defined(WITH_DICTIONARIES)
|
2000-08-06 15:29:04 +00:00
|
|
|
@${ECHO_MSG}
|
2000-10-24 10:59:50 +00:00
|
|
|
@${ECHO_MSG} "To download/install dictionaries and notes use"
|
|
|
|
@${ECHO_MSG} "\"make install -DWITH_DICTONARIES\""
|
2000-08-06 15:29:04 +00:00
|
|
|
@${ECHO_MSG}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/biblereader ${PREFIX}/bin/biblereader
|
|
|
|
${MKDIR} ${PREFIX}/share/biblereader
|
2000-10-24 10:59:50 +00:00
|
|
|
for file in ${DATAFILES}; do \
|
2000-08-06 15:29:04 +00:00
|
|
|
${INSTALL_DATA} $${file} ${PREFIX}/share/biblereader; \
|
|
|
|
done
|
2000-10-05 06:42:57 +00:00
|
|
|
@${CAT} ${PLISTS} > ${PLIST}
|
2000-08-02 18:03:08 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|