blob: ce5322c9399b7b11c57973eb3cda57d2e1637824 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# New ports collection makefile for: wikicalc
# Date created: June 24, 2007
# Whom: hrs@FreeBSD.org
#
# $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
USE_PERL5= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
SUB_FILES= setup.sh
post-extract:
@${RM} -f ${WRKSRC}/gpl.txt
post-patch:
${REINPLACE_CMD} 's,/usr/bin/perl,${PERL5} -I${DATADIR},' ${WRKSRC}/*.pl
do-install:
${MKDIR} ${DATADIR}
cd ${WRKSRC} && \
${FIND} . -type f -a ! -name \*.pl -a ! -name \*.bak | \
${XARGS} -J % ${INSTALL_DATA} % ${DATADIR}/$${i}; \
${FIND} . -type f -a -name \*.pl | \
${XARGS} -J % ${INSTALL_SCRIPT} % ${DATADIR}/$${i}; \
${INSTALL_SCRIPT} ${WRKDIR}/setup.sh ${DATADIR}
.include <bsd.port.mk>
|