aboutsummaryrefslogtreecommitdiffstats
path: root/misc/xsw/Makefile
blob: 9a89472abbb94b629332dc52bade18d79eb9eaea (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
# Created by: corky1951@comcast.net
# $FreeBSD$

PORTNAME=   xsw
PORTVERSION=    0.3.5
PORTREVISION=   7
CATEGORIES= misc
MASTER_SITES=   GOOGLE_CODE

MAINTAINER= ports@FreeBSD.org
COMMENT=    Tool for creating presentations

OPTIONS_DEFINE= DOCS

RUN_DEPENDS=    convert:${PORTSDIR}/graphics/ImageMagick

USE_SDL=    sdl ttf image gfx

GNU_CONFIGURE=  yes

CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -lpthread -L${LOCALBASE}/lib

DOCS=       AUTHORS \
        COPYING \
        NEWS \
        README \
        REFERENCE \
        THANKS \
        TODO \
        doc/xsw.vim

post-patch:
    @${REINPLACE_CMD} -e "s,./install-fonts ,./install-fonts \$$(DESTDIR)," \
        ${WRKSRC}/data/Makefile.in

post-install:
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>