aboutsummaryrefslogtreecommitdiff
path: root/devel/R-cran-getopt/Makefile
blob: 2686b7ff3bec45c46b93309b5c95f61b155180a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
PORTNAME=	getopt
DISTVERSION=	1.20.3
PORTREVISION=	1
CATEGORIES=	devel
DISTNAME=	${PORTNAME}_${DISTVERSION}

MAINTAINER=	jwb@FreeBSD.org
COMMENT=	Accept short and long flags in Rscript

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		cran:auto-plist

post-patch:
	@${REINPLACE_CMD} -i '' -e \
		's|/path/to/Rscript|${LOCALBASE}/bin/Rscript|' \
		${WRKSRC}/exec/example.R

.include <bsd.port.mk>