1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/x11/xscreensaver-gnome-hacks/Makefile
2014-07-24 16:33:10 +00:00

43 lines
1.2 KiB
Makefile

# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
PORTNAME= xscreensaver-gnome-hacks
PORTREVISION= 1
MAINTAINER= ports@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_DEFINE= ALL_FORTUNES
ALL_FORTUNES_DESC= Enable support for all fortunes
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
NO_STAGE= yes
post-build:
@cd ${WRKSRC}/driver && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${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"