2013-06-13 13:58:57 +02:00
|
|
|
# Created by: ijliao
|
2001-09-21 03:54:58 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= rot
|
|
|
|
PORTVERSION= 1.2
|
|
|
|
CATEGORIES= textproc
|
2011-03-24 07:18:04 +01:00
|
|
|
MASTER_SITES= http://www.xs4all.nl/~henkoers/
|
2001-09-21 03:54:58 +02:00
|
|
|
DISTNAME= ${PORTNAME}
|
|
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:21:36 +01:00
|
|
|
COMMENT= Rotates a file so that lines become columns and vice versa
|
2001-09-21 03:54:58 +02:00
|
|
|
|
|
|
|
ALL_TARGET= ${PORTNAME}
|
2013-06-13 13:58:57 +02:00
|
|
|
CFLAGS+= -Wno-return-type
|
2001-09-21 03:54:58 +02:00
|
|
|
|
2014-01-06 22:50:26 +01:00
|
|
|
PLIST_FILES= bin/rot man/man1/rot.1.gz
|
2001-09-21 03:54:58 +02:00
|
|
|
|
2013-06-13 13:58:57 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} "s:^CFLAGS=:#CFLAGS=:" ${WRKSRC}/Makefile
|
|
|
|
|
2001-09-21 03:54:58 +02:00
|
|
|
do-install:
|
2014-01-06 22:50:26 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/rot ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/rot.man ${STAGEDIR}${MAN1PREFIX}/man/man1/rot.1
|
2001-09-21 03:54:58 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|