freebsd-ports/ftp/rexx-curl/Makefile
Antoine Brodin ac33800381 Mark BROKEN: Fails to install/package with new rexx-regina
/wrkdirs/usr/ports/ftp/rexx-curl/work/stage/usr/local/bin/rexxcurl ./preinst.rexx /usr/local/bin/rexxcurl ./demo/testcurl.rexx /wrkdirs/usr/ports/ftp/rexx-curl/work/stage/usr/local/share/rexxcurl/testcurl.rexx
Error 13 running "/wrkdirs/usr/ports/ftp/rexx-curl/work/stage/usr/local/bin/rexxcurl", line 1: Invalid character in program
Error 13.1: Invalid character in program "('7f'X)"
...
===>  Building package for rexx-curl-1.4_4
pkg-static: lstat(/wrkdirs/usr/ports/ftp/rexx-curl/work/stage/usr/local/share/rexxcurl/getright.rexx): No such file or directory
pkg-static: lstat(/wrkdirs/usr/ports/ftp/rexx-curl/work/stage/usr/local/share/rexxcurl/httppost.rexx): No such file or directory
pkg-static: lstat(/wrkdirs/usr/ports/ftp/rexx-curl/work/stage/usr/local/share/rexxcurl/mirror.rexx): No such file or directory
pkg-static: lstat(/wrkdirs/usr/ports/ftp/rexx-curl/work/stage/usr/local/share/rexxcurl/scp.rexx): No such file or directory
pkg-static: lstat(/wrkdirs/usr/ports/ftp/rexx-curl/work/stage/usr/local/share/rexxcurl/testcurl.rexx): No such file or directory
pkg-static: lstat(/wrkdirs/usr/ports/ftp/rexx-curl/work/stage/usr/local/share/rexxcurl/upload.rexx): No such file or directory

Reported by:	pkg-fallout
2014-06-28 08:00:11 +00:00

43 lines
1.1 KiB
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= curl
PORTVERSION= 1.4
PORTREVISION= 4
CATEGORIES= ftp
MASTER_SITES= SF/rexx${PORTNAME}/rexx${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= rexx-
DISTNAME= RexxCURL-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= External function package providing an interface to the cURL package
BROKEN= Fails to install/package with new rexx-regina
OPTIONS_DEFINE= DOCS
BUILD_DEPENDS= rexx:${PORTSDIR}/lang/rexx-regina
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
RUN_DEPENDS= rexx:${PORTSDIR}/lang/rexx-regina
USES= gmake
GNU_CONFIGURE= yes
CPPFLAGS+= ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LIBS}
CONFIGURE_ARGS= --with-rexx=regina
USE_LDCONFIG= yes
DOCSDIR= ${PREFIX}/share/doc/rexx${PORTNAME}
DATADIR= ${PREFIX}/share/rexx${PORTNAME}
post-patch:
@${REINPLACE_CMD} -e "s| -lc | |g" -e "/\$(sharedir)\/images/d" \
-e "/index.html/d" -e "/rxcurl64.png/d" ${WRKSRC}/Makefile.in
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/index.html ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}/images
${INSTALL_DATA} ${WRKSRC}/doc/images/rxcurl64.png ${STAGEDIR}${DOCSDIR}/images
.include <bsd.port.mk>