diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-01-31 12:41:19 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-01-31 12:41:19 +0800 |
commit | 5cb50822e73d6fb65fd9cc1b7b3e72577d729c6e (patch) | |
tree | a90c82ce77e1c00d330cdbffb05cd9ec612b50da /x11/gnome-screensaver/Makefile | |
parent | d0458bab30e4ee9ed2111566909de562d3dca96a (diff) | |
download | marcuscom-ports-5cb50822e73d6fb65fd9cc1b7b3e72577d729c6e.tar marcuscom-ports-5cb50822e73d6fb65fd9cc1b7b3e72577d729c6e.tar.gz marcuscom-ports-5cb50822e73d6fb65fd9cc1b7b3e72577d729c6e.tar.bz2 marcuscom-ports-5cb50822e73d6fb65fd9cc1b7b3e72577d729c6e.tar.lz marcuscom-ports-5cb50822e73d6fb65fd9cc1b7b3e72577d729c6e.tar.xz marcuscom-ports-5cb50822e73d6fb65fd9cc1b7b3e72577d729c6e.tar.zst marcuscom-ports-5cb50822e73d6fb65fd9cc1b7b3e72577d729c6e.zip |
-Update to 2.21.6.
-Remove libgnomeui and add libnotify dependency.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10306 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnome-screensaver/Makefile')
-rw-r--r-- | x11/gnome-screensaver/Makefile | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/x11/gnome-screensaver/Makefile b/x11/gnome-screensaver/Makefile new file mode 100644 index 000000000..d79ef6fd8 --- /dev/null +++ b/x11/gnome-screensaver/Makefile @@ -0,0 +1,71 @@ +# New ports collection makefile for: gnome-screensaver +# Date created: 09 June 2005 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= gnome-screensaver +PORTVERSION= 2.21.6 +CATEGORIES= x11 gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= GNOME screen saver and locker + +LIB_DEPENDS= notify.1:${PORTSDIR}/devel/libnotify +RUN_DEPENDS= xscreensaver-gl-helper:${PORTSDIR}/x11/xscreensaver-gnome-hacks + +USE_BZIP2= yes +USE_XLIB= yes +USE_GMAKE= yes +USE_GETTEXT= yes +GNU_CONFIGURE= yes +USE_GNOME= gnomeprefix gnomehack intlhack gnomemenus libgnomekbd +CONFIGURE_ARGS= --with-gdm-config=${LOCALBASE}/etc/gdm/custom.conf \ + --with-xscreensaverdir=${XSCREENSAVER_DIR} \ + --with-xscreensaverhackdir=${LOCALBASE}/bin/xscreensaver-hacks +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +GCONF_SCHEMAS= gnome-screensaver.schemas +MAN1= gnome-screensaver-command.1 gnome-screensaver-preferences.1 \ + gnome-screensaver.1 + + +PLIST= ${WRKDIR}/pkg-plist + +XSCREENSAVER_DIR= ${LOCALBASE}/share/xscreensaver/config +SCREENSAVER_DIR= share/applications/screensavers + +XSCREENSAVER_EXCLUDE= "(popsquares.xml)" + +OPTIONS= PAM "Pluggable Authentication Module support" off + +.include <bsd.port.pre.mk> + +.if !defined(WITH_PAM) +CONFIGURE_ARGS+= --disable-pam +.endif + +pre-install: + @${CAT} ${.CURDIR}/pkg-plist > ${PLIST} + @cd ${XSCREENSAVER_DIR} && ${FIND} -s * -maxdepth 1 -type f -name "*.xml" | \ + ${GREP} -Ev ${XSCREENSAVER_EXCLUDE} | \ + ${SED} -e 's:^:${SCREENSAVER_DIR}/:' | \ + ${SED} -e 's:[.]xml$$:.desktop:' >> ${PLIST} + @${ECHO_CMD} @dirrm ${SCREENSAVER_DIR} >> ${PLIST} + +post-install: + ${CHOWN} root ${PREFIX}/libexec/gnome-screensaver-dialog + ${CHMOD} +s ${PREFIX}/libexec/gnome-screensaver-dialog + ${MKDIR} ${PREFIX}/${SCREENSAVER_DIR} + cd ${PREFIX}/${SCREENSAVER_DIR} && \ + ${FIND} -s ${XSCREENSAVER_DIR} -maxdepth 1 -type f -name "*.xml" | \ + ${GREP} -Ev ${XSCREENSAVER_EXCLUDE} | \ + ${XARGS} ${WRKSRC}/data/migrate-xscreensaver-config.sh + +.include <bsd.port.post.mk> |