1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

runawk is a small wrapper for AWK that impements a modules

system and helps one to write the standalone AWK programs.

WWW: http://runawk.sourceforge.net/

PR:		ports/145126
Submitted by:	Sahil Tandon <sahil at tandon.net>
This commit is contained in:
Ion-Mihai Tetcu 2010-04-03 16:52:52 +00:00
parent 30236ea38a
commit cff5eb4fae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=252135
4 changed files with 56 additions and 0 deletions

View File

@ -296,6 +296,7 @@
SUBDIR += ruby-usersguide
SUBDIR += ruby18
SUBDIR += ruby19
SUBDIR += runawk
SUBDIR += s9fes
SUBDIR += sather-specification
SUBDIR += sather-tutorial

48
lang/runawk/Makefile Normal file
View File

@ -0,0 +1,48 @@
# New ports collection makefile for: runawk
# Date created: 28 March 2010
# Whom: Sahil Tandon <sahil@tandon.net>
#
# $FreeBSD$
#
PORTNAME= runawk
PORTVERSION= 0.21.0
CATEGORIES= lang
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= sahil@tandon.net
COMMENT= Wrapper for AWK interpreter that implements a modules system
MAKE_ENV+= LDFLAGS="-L${LOCALBASE}/lib -Wl,-rpath -Wl,${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include"
MAN1= ${PORTNAME}.1
MANCOMPRESSED= yes
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= ChangeLog NEWS README TODO
PORTEXAMPLES= *
.include <bsd.port.pre.mk>
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
@${MKDIR} ${DATADIR}
@${INSTALL_DATA} ${WRKSRC}/modules/* ${DATADIR}
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1.gz ${MANPREFIX}/man/man1
post-install:
.if !defined(NOPORTDOCS)
@${INSTALL} -o ${DOCOWN} -g ${DOCGRP} -m 555 -d ${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
@${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m 555 -d ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif
@(cd ${WRKSRC}/modules; ${FIND} -s *) \
| ${SED} -ne 's,^,${DATADIR:S,^${PREFIX}/,,}/,p' >> ${TMPPLIST}
@${ECHO_CMD} '@dirrm ${DATADIR:S|${PREFIX}/||}' >> ${TMPPLIST}
.include <bsd.port.post.mk>

3
lang/runawk/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (runawk-0.21.0.tar.gz) = 31656c0203b72b13270119b0b1648a6a
SHA256 (runawk-0.21.0.tar.gz) = adcbd85df9d3c7fced563a07acb53517195cb7da45a2ee828cb7bd41956090b9
SIZE (runawk-0.21.0.tar.gz) = 58022

4
lang/runawk/pkg-descr Normal file
View File

@ -0,0 +1,4 @@
runawk is a small wrapper for AWK that impements a modules
system and helps one to write the standalone AWK programs.
WWW: http://runawk.sourceforge.net/