mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
27 lines
609 B
Makefile
27 lines
609 B
Makefile
# 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>
|