aboutsummaryrefslogtreecommitdiff
path: root/x11/xscreensaver-gnome/Makefile
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-08-02 17:50:54 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-08-02 17:50:54 +0000
commit859f7ce80cb5c4e4dff115cb55d0414058e030ac (patch)
tree71ee4cc570ff557ed82f320415fe558c94e2d36b /x11/xscreensaver-gnome/Makefile
parent8a8b2b184d40cbfcfc5cfe83ec70ea9e547c4f92 (diff)
downloadports-859f7ce80cb5c4e4dff115cb55d0414058e030ac.tar.gz
ports-859f7ce80cb5c4e4dff115cb55d0414058e030ac.zip
Notes
Diffstat (limited to 'x11/xscreensaver-gnome/Makefile')
-rw-r--r--x11/xscreensaver-gnome/Makefile48
1 files changed, 45 insertions, 3 deletions
diff --git a/x11/xscreensaver-gnome/Makefile b/x11/xscreensaver-gnome/Makefile
index 538a67216d36..2c2a53abfc86 100644
--- a/x11/xscreensaver-gnome/Makefile
+++ b/x11/xscreensaver-gnome/Makefile
@@ -5,12 +5,54 @@
# $FreeBSD$
#
+MAINDIR= ${.CURDIR}/../xscreensaver
+
+PORTNAME= xscreensaver-gnome
+PORTVERSION!= ${MAKE} -V PORTVERSION -f ${MAINDIR}/${MAKEFILE}
+PORTREVISION!= ${MAKE} -V PORTREVISION -f ${MAINDIR}/${MAKEFILE}
+PORTEPOCH!= ${MAKE} -V PORTEPOCH -f ${MAINDIR}/${MAKEFILE}
CATEGORIES= x11 gnome
+DISTFILES=
MAINTAINER= gnome@FreeBSD.org
-MASTERDIR= ${.CURDIR}/../xscreensaver
+FETCH_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/x11/xscreensaver:patch
+BUILD_DEPENDS!= ${MAKE} -V BUILD_DEPENDS -f ${MAINDIR}/${MAKEFILE}
+LIB_DEPENDS!= ${MAKE} -V LIB_DEPENDS -f ${MAINDIR}/${MAKEFILE}
+RUN_DEPENDS!= ${MAKE} -V RUN_DEPENDS -f ${MAINDIR}/${MAKEFILE}
+
+RUN_DEPENDS+= xscreensaver:${PORTSDIR}/x11/xscreensaver
+
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomehier gnomelibs libcapplet gdkpixbuf
+GNU_CONFIGURE= yes
+OLD_CONFIGURE_ARGS!= ${MAKE} -V CONFIGURE_ARGS -f ${MAINDIR}/${MAKEFILE}
+CONFIGURE_ARGS= ${OLD_CONFIGURE_ARGS:N--without-gnome} --with-gnome
+CONFIGURE_ENV!= ${MAKE} -V CONFIGURE_ENV -f ${MAINDIR}/${MAKEFILE}
+
+post-extract:
+ @${CP} -Rp ${WRKDIRPREFIX}${MAINDIR}/work/xscreensaver-${PORTVERSION} \
+ ${WRKSRC}
+ @${RM} -f ${WRKSRC}/config.cache
+
+do-build:
+ @cd ${WRKSRC}/driver && ${GMAKE} clean xscreensaver-demo \
+ screensaver-properties.desktop
-WITH_GNOME= yes
+do-install:
+ @${INSTALL_DATA} ${WRKSRC}/utils/images/screensaver-*.xpm \
+ ${PREFIX}/share/gnome/pixmaps
+ @${INSTALL_DATA} ${WRKSRC}/utils/images/logo-50.xpm \
+ ${PREFIX}/share/gnome/pixmaps/xscreensaver.xpm
+ @${INSTALL_PROGRAM} ${WRKSRC}/driver/xscreensaver-demo \
+ ${PREFIX}/bin/xscreensaver-gnome
+ @${INSTALL_SCRIPT} ${WRKSRC}/driver/screensaver-properties-capplet \
+ ${PREFIX}/bin
+ @${INSTALL_DATA} ${WRKSRC}/driver/screensaver-properties.desktop \
+ ${PREFIX}/share/gnome/apps/Settings/Desktop
+ @${INSTALL_DATA} ${WRKSRC}/driver/screensaver-properties.desktop \
+ ${PREFIX}/share/gnome/control-center/Desktop
-.include "${MASTERDIR}/Makefile"
+.include <bsd.port.mk>