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

PORTNAME=   xstarroll
PORTVERSION=    1.1b
PORTREVISION=   3
PORTEPOCH=  1
CATEGORIES= x11
MASTER_SITES=   http://kozos.jp/myfreesoft/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Letters fly to far, far, far away

WRKSRC=     ${WRKDIR}/${PORTNAME}-1.1

USE_XORG=   xpm xt xaw
ALL_TARGET= xstarroll

PLIST_FILES=    bin/xstarroll \
        man/man1/xstarroll.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}/xstarroll ${STAGEDIR}${PREFIX}/bin/xstarroll
    ${INSTALL_MAN} ${WRKSRC}/xstarroll.man ${STAGEDIR}${MANPREFIX}/man/man1/xstarroll.1

.include <bsd.port.mk>