aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/rot/Makefile
blob: b466d072060e0802f59074a794f9c57535dcceb8 (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
# Created by: ijliao
# $FreeBSD$

PORTNAME=   rot
PORTVERSION=    1.2
CATEGORIES= textproc
MASTER_SITES=   http://www.xs4all.nl/~henkoers/
DISTNAME=   ${PORTNAME}
EXTRACT_SUFX=   .tar.Z

MAINTAINER= ports@FreeBSD.org
COMMENT=    Rotates a file so that lines become columns and vice versa

ALL_TARGET= ${PORTNAME}
CFLAGS+=    -Wno-return-type

PLIST_FILES=    bin/rot man/man1/rot.1.gz

post-patch:
    @${REINPLACE_CMD} "s:^CFLAGS=:#CFLAGS=:" ${WRKSRC}/Makefile

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

.include <bsd.port.mk>