freebsd-ports/devel/R-cran-getopt/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

20 lines
402 B
Makefile

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>