mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
8bfc86fab6
Noticed on: bento
47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
# New ports collection makefile for: scriba
|
|
# Date created: 07 January 2001
|
|
# Whom: George Reid <greid@ukug.uk.freebsd.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= scriba
|
|
PORTVERSION= 10b21
|
|
CATEGORIES= lang
|
|
MASTER_SITES= http://www.scriptbasic.com/
|
|
DISTNAME= ${PORTNAME}-v${PORTVERSION}
|
|
|
|
MAINTAINER= greid@ukug.uk.freebsd.org
|
|
|
|
PRFXFILES= variations/standard/basiccmd.c \
|
|
variations/standalone/basicc.c \
|
|
configurer.c scriba.c scriba.conf.unix.lsp \
|
|
testconf.c
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
USE_PERL5= yes
|
|
|
|
post-patch:
|
|
.for P in ${PRFXFILES}
|
|
@(cd ${WRKSRC} && ${SED} -e 's,%%PREFIX%%,${PREFIX},g' $P > foo && \
|
|
${MV} foo $P)
|
|
.endfor
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/etc/scriba
|
|
${MKDIR} ${PREFIX}/include/scriba
|
|
${MKDIR} ${PREFIX}/lib/scriba
|
|
${CHMOD} 1666 ${PREFIX}/lib/scriba
|
|
${INSTALL_PROGRAM} ${WRKSRC}/scriba ${PREFIX}/bin
|
|
.for M in cgi hash re
|
|
${INSTALL_PROGRAM} ${WRKSRC}/$M.so ${PREFIX}/lib/scriba
|
|
.endfor
|
|
.for I in bdb cgi error gd hash heb md5 mysql re test time trial zlib ../heber
|
|
${INSTALL_DATA} ${WRKSRC}/include/$I.bas ${PREFIX}/include/scriba
|
|
.endfor
|
|
${INSTALL_DATA} ${WRKSRC}/basicc.a ${PREFIX}/lib/scriba
|
|
${WRKSRC}/cftc ${WRKSRC}/scriba.conf.unix.lsp \
|
|
${PREFIX}/etc/scriba/basic.conf
|
|
|
|
.include <bsd.port.mk>
|