aboutsummaryrefslogtreecommitdiffstats
path: root/misc/biblereader
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-10-05 14:42:57 +0800
committerreg <reg@FreeBSD.org>2000-10-05 14:42:57 +0800
commit72ce7050d03c812e37966786e11996a90713afea (patch)
tree9ec01d647da1c4e80223e31fc766740c2a43ebff /misc/biblereader
parent97830337b8c0333a12d15a49ea1f9c9cdc3dfddf (diff)
downloadfreebsd-ports-gnome-72ce7050d03c812e37966786e11996a90713afea.tar.gz
freebsd-ports-gnome-72ce7050d03c812e37966786e11996a90713afea.tar.zst
freebsd-ports-gnome-72ce7050d03c812e37966786e11996a90713afea.zip
Implement USE_GTK, part 2.
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>