mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
56041ab274
- Use shebangfix.
34 lines
867 B
Makefile
34 lines
867 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= wikicalc
|
|
PORTVERSION= 1.0
|
|
CATEGORIES= www math
|
|
MASTER_SITES= http://www.peapodcast.com/sgi/downloads/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S,.,-,}
|
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
|
COMMENT= An Open Source Wiki-Spreadsheet
|
|
|
|
RUN_DEPENDS= p5-libwww>=0:${PORTSDIR}/www/p5-libwww
|
|
|
|
USES= perl5 shebangfix
|
|
NO_BUILD= yes
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
SUB_FILES= setup.sh
|
|
SHEBANG_FILES= *.pl
|
|
perl_CMD= ${LOCALBASE}/bin/perl -I${DATADIR}
|
|
|
|
post-extract:
|
|
@${RM} -f ${WRKSRC}/gpl.txt
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
|
cd ${WRKSRC} && \
|
|
${FIND} . -type f -a ! -name \*.pl -a ! -name \*.bak | \
|
|
${XARGS} -J % ${INSTALL_DATA} % ${STAGEDIR}${DATADIR}/$${i}; \
|
|
${FIND} . -type f -a -name \*.pl | \
|
|
${XARGS} -J % ${INSTALL_SCRIPT} % ${STAGEDIR}${DATADIR}/$${i}; \
|
|
${INSTALL_SCRIPT} ${WRKDIR}/setup.sh ${STAGEDIR}${DATADIR}
|
|
|
|
.include <bsd.port.mk>
|