aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xballoon/Makefile
blob: 4fc4db286e2cab6a7c2350957dea937c232bdfde (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
# Created by: Sakai Hiroaki <sakai@miya.ee.kagu.sut.ac.jp>
# $FreeBSD$

PORTNAME=   xballoon
PORTVERSION=    1.0
PORTREVISION=   3
CATEGORIES= x11
MASTER_SITES=   http://kozos.jp/myfreesoft/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Balloons move on root window

USE_XORG=   xpm xmu xaw
ALL_TARGET= xballoon

PLIST_FILES=    bin/xballoon \
        man/man1/xballoon.1.gz

post-patch:
    @${REINPLACE_CMD} -e 's|/usr/X11R6|$${LOCALBASE}|g ; \
         s|gcc |$${CC} |g ; \
         s|-O |$${CFLAGS} |g' ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/xballoon ${STAGEDIR}${PREFIX}/bin/xballoon
    ${INSTALL_MAN} ${WRKSRC}/xballoon.man ${STAGEDIR}${MANPREFIX}/man/man1/xballoon.1

.include <bsd.port.mk>