aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
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 /x11-wm
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 'x11-wm')
-rw-r--r--x11-wm/amaterus/Makefile7
-rw-r--r--x11-wm/spager/Makefile22
-rw-r--r--x11-wm/wmthemeinstall/Makefile11
3 files changed, 17 insertions, 23 deletions
diff --git a/x11-wm/amaterus/Makefile b/x11-wm/amaterus/Makefile
index 3bd46adbcb5b..b96605d6bf95 100644
--- a/x11-wm/amaterus/Makefile
+++ b/x11-wm/amaterus/Makefile
@@ -12,15 +12,12 @@ MASTER_SITES= http://www.taiyaki.org/src/
MAINTAINER= nakai@FreeBSD.org
-LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
- xml.5:${PORTSDIR}/textproc/libxml
-
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
+LIB_DEPENDS= xml.5:${PORTSDIR}/textproc/libxml
USE_X_PREFIX= yes
+USE_GTK= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- GTK_CONFIG="${GTK_CONFIG}" \
LIBS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>
diff --git a/x11-wm/spager/Makefile b/x11-wm/spager/Makefile
index 826605459cd7..7d327fdececc 100644
--- a/x11-wm/spager/Makefile
+++ b/x11-wm/spager/Makefile
@@ -13,26 +13,24 @@ MASTER_SITES= http://www.stanford.edu/~satyakid/
MAINTAINER= nakai@FreeBSD.org
RUN_DEPENDS= sawfish:${PORTSDIR}/x11-wm/sawfish
-LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
-
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
USE_X_PREFIX= yes
-MAKE_ENV= GTK_CONFIG="${GTK_CONFIG}"
+USE_GTK= yes
+
ALL_TARGET= spager
post-extract:
- ${RM} -f ${WRKSRC}/spager
+ ${RM} -f ${WRKSRC}/spager
post-patch:
- ${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/sample.rc
+ ${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/sample.rc
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/spager ${PREFIX}/bin/
- ${MKDIR} ${PREFIX}/share/spager
- ${INSTALL_SCRIPT} ${WRKSRC}/spager.jl ${PREFIX}/share/spager
- ${INSTALL_SCRIPT} ${WRKSRC}/x-message.jl ${PREFIX}/share/spager
- ${INSTALL_DATA} ${WRKSRC}/sample.rc ${PREFIX}/share/spager
- @${CAT} ${PKGMESSAGE}
+ ${INSTALL_PROGRAM} ${WRKSRC}/spager ${PREFIX}/bin/
+ ${MKDIR} ${PREFIX}/share/spager
+ ${INSTALL_SCRIPT} ${WRKSRC}/spager.jl ${PREFIX}/share/spager
+ ${INSTALL_SCRIPT} ${WRKSRC}/x-message.jl ${PREFIX}/share/spager
+ ${INSTALL_DATA} ${WRKSRC}/sample.rc ${PREFIX}/share/spager
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/x11-wm/wmthemeinstall/Makefile b/x11-wm/wmthemeinstall/Makefile
index 6628c6bff2dd..0c3c915fb896 100644
--- a/x11-wm/wmthemeinstall/Makefile
+++ b/x11-wm/wmthemeinstall/Makefile
@@ -14,24 +14,23 @@ MASTER_SITE_SUBDIR= will
MAINTAINER= ports@FreeBSD.org
RUN_DEPENDS= wmaker:${PORTSDIR}/x11-wm/windowmaker
-LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
USE_X_PREFIX= yes
USE_GMAKE= yes
+USE_GTK= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk12-config"
DOCS_DIR= ${PREFIX}/share/wmthemeinstall
pre-build:
@${PERL} -pi -e "s:/usr/local:${PREFIX}:g" ${WRKSRC}/wmOptions.c
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/wmthemeinstall ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/wmthemeinstall ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCS_DIR}
- @${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCS_DIR}
- @${INSTALL_DATA} ${WRKSRC}/README ${DOCS_DIR}
- @${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCS_DIR}
+ ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCS_DIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCS_DIR}
+ ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCS_DIR}
@${ECHO}
@${ECHO} "Documentation was installed in ${DOCS_DIR}."
@${ECHO}