- Switch to USES=tar

- Don't use / in sed regexps to allow paths, unbreaking cross-builds
This commit is contained in:
Dmitry Marakasov 2015-08-05 16:44:30 +00:00
parent 3a225a1a81
commit c63145c5d5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=393594

View file

@ -7,20 +7,20 @@ PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://topo.math.u-psud.fr/~bousch/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Digital camera downloading tool for Fujifilm digital cameras
NO_WRKSUBDIR= yes
USES= tar:tgz
PLIST_FILES= bin/fujiplay bin/yycc2ppm
PORTDOCS= README fujiplay.lsm mx700-commands.html
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's/^\(CC[^g]*\)gcc$$/\1${CC}/' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|^\(CC[^g]*\)gcc$$|\1${CC}|' ${WRKSRC}/Makefile
do-install:
(cd ${WRKDIR}; ${INSTALL_PROGRAM} fujiplay yycc2ppm ${STAGEDIR}${PREFIX}/bin)