aboutsummaryrefslogtreecommitdiff
path: root/misc/biblereader
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-10-05 06:42:57 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-10-05 06:42:57 +0000
commit99290b0d61db9bcb3c960f5507a8ccb0126a0cf9 (patch)
treebac8f356dc259524716a41398446e5c7d8f95a21 /misc/biblereader
parentfda2e985daa21bcac7cf4e4882e560933d7ad5e8 (diff)
downloadports-99290b0d61db9bcb3c960f5507a8ccb0126a0cf9.tar.gz
ports-99290b0d61db9bcb3c960f5507a8ccb0126a0cf9.zip
Notes
Diffstat (limited to 'misc/biblereader')
-rw-r--r--misc/biblereader/Makefile24
1 files changed, 9 insertions, 15 deletions
diff --git a/misc/biblereader/Makefile b/misc/biblereader/Makefile
index 6250f9edbe99..f78ba9b931a1 100644
--- a/misc/biblereader/Makefile
+++ b/misc/biblereader/Makefile
@@ -19,26 +19,21 @@ DISTFILES+= easton.tar.gz mhc.tar.gz
MAINTAINER= patseal@hyperhost.net
-LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
-
USE_X_PREFIX= yes
-MAKE_ENV= GTK_CONFIG=${GTK_CONFIG}
-PLIST= ${WRKDIR}/PLIST
+USE_GTK= yes
+PLIST= ${WRKDIR}/PLIST
-DATAFILES= ${WRKDIR}/kjv/kjv
+DATAFILES= ${WRKDIR}/kjv/kjv
+PLISTS= ${PKGDIR}/PLIST
.if defined(WITH_TRANSLATIONS)
-DATAFILES+= ${WRKDIR}/asv/asv ${WRKDIR}/darby/darby
-PLISTS+= ${PKGDIR}/PLIST.translations
+DATAFILES+= ${WRKDIR}/asv/asv ${WRKDIR}/darby/darby
+PLISTS+= ${PKGDIR}/PLIST.translations
.endif
.if defined(WITH_SUPPLEMENTS)
-DATAFILES+= ${WRKDIR}/easton/easton.dict ${WRKDIR}/mhc/mhc
-PLISTS+= ${PKGDIR}/PLIST.supplements
+DATAFILES+= ${WRKDIR}/easton/easton.dict ${WRKDIR}/mhc/mhc
+PLISTS+= ${PKGDIR}/PLIST.supplements
.endif
-PLISTS+= ${PKGDIR}/PLIST
-
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
-
.if !defined(WITH_TRANSLATIONS)
pre-fetch:
@${ECHO_MSG}
@@ -54,12 +49,11 @@ pre-fetch:
.endif
do-install:
- @echo ${DATAFILES}
${INSTALL_PROGRAM} ${WRKSRC}/biblereader ${PREFIX}/bin/biblereader
${MKDIR} ${PREFIX}/share/biblereader
@for file in ${DATAFILES}; do \
${INSTALL_DATA} $${file} ${PREFIX}/share/biblereader; \
done
- @cat ${PLISTS} > ${PLIST}
+ @${CAT} ${PLISTS} > ${PLIST}
.include <bsd.port.mk>