aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xsnow/Makefile
blob: 69ad98447687a7caf78bf1a606e24672543f5b2b (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
# New ports collection makefile for:    xsnow
# Date created:         12 November 1994
# Whom:                 jmz
#
# $FreeBSD$
#

PORTNAME=   xsnow
PORTVERSION=    1.41
PORTREVISION=   0
CATEGORIES= x11
MASTER_SITES=   http://www.euronet.nl/~rja/Xsnow/

MAINTAINER= jmz@FreeBSD.org
COMMENT=    Create a snowy and Santa-y desktop

USE_IMAKE=  yes
USE_XPM=    yes
MAN6=       xsnow.6

pre-build:
    @cd ${WRKSRC} && ${MV} Makefile Makefile~  && ${SED} \
     -e 's: BINDIR .*:BINDIR=${PREFIX}/bin:' \
     -e 's: MANDIR .*:MANDIR=${PREFIX}/man/man6:' \
     -e 's: MANSUFFIX .*:MANSUFFIX=6:' <Makefile~ >Makefile

pre-install:
    @${MKDIR} ${PREFIX}/bin
    @${MKDIR} ${PREFIX}/man/man6
    @(cd ${WRKSRC}; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} install.man)

.include <bsd.port.mk>