mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
29 lines
596 B
Makefile
29 lines
596 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
|
|
|
|
MAN1= rot.1
|
|
PLIST_FILES= bin/rot
|
|
|
|
NO_STAGE= yes
|
|
post-patch:
|
|
@${REINPLACE_CMD} "s:^CFLAGS=:#CFLAGS=:" ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/rot ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/rot.man ${MAN1PREFIX}/man/man1/rot.1
|
|
|
|
.include <bsd.port.mk>
|