aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xscreensaver-gnome-hacks/Makefile
blob: 7f7afc08829eb6cfbcf13b19fe6663ee08c516e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# New ports collection makefile for:    xscreensaver-gnome-hacks
# Date created:             12 September 2005
# Whom:                 Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   xscreensaver-gnome-hacks
PORTREVISION=   1

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Screensaver modules for use with xscreensaver and gnome-screensaver

MASTERDIR=  ${.CURDIR}/../xscreensaver-gnome
DESCR=      ${.CURDIR}/pkg-descr
PLIST=      ${.CURDIR}/pkg-plist

CONFLICTS=  xscreensaver-[0-9]* xscreensaver-gnome-[0-9]*

OPTIONS=    ALL_FORTUNES "Enable support for all fortunes" off

EXTRA_PATCHES=  ${FILESDIR}/extra-patch-nodriver

SS_SCRIPTS= xscreensaver-getimage-desktop xscreensaver-getimage-file \
        xscreensaver-getimage xscreensaver-getimage-video \
        xscreensaver-text

MAN1=       xscreensaver-getimage-desktop.1 xscreensaver-getimage-file.1 \
        xscreensaver-getimage-video.1 xscreensaver-getimage.1 \
        xscreensaver-text.1

post-build:
    @cd ${WRKSRC}/driver && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
        Makefile ${MAKE_ARGS} xscreensaver-getimage

post-install-slave:
    ${MKDIR} ${PREFIX}/bin
.for sf in ${SS_SCRIPTS}
    ${INSTALL_SCRIPT} ${WRKSRC}/driver/${sf} ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/driver/${sf}.man \
        ${MAN1PREFIX}/man/man1/${sf}.1
.endfor

.include "${MASTERDIR}/Makefile"