Upgrade to 1.5.2.
PR: ports/192208 Submitted by: tkato432 at yahoo.com
This commit is contained in:
parent
1d7e7d37d3
commit
1ba093cba8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363293
2 changed files with 15 additions and 33 deletions
|
@ -2,50 +2,32 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= runawk
|
||||
PORTVERSION= 1.5.0
|
||||
PORTVERSION= 1.5.1
|
||||
CATEGORIES= lang
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Wrapper for AWK interpreter that implements a modules system
|
||||
|
||||
BUILD_DEPENDS= mk-configure>=0.21.0:${PORTSDIR}/devel/mk-configure
|
||||
|
||||
MAKE_ENV+= SUBPRJ_DFLT="${SUBPRJ_DFLT}"
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib -Wl,-rpath -Wl,${LOCALBASE}/lib
|
||||
|
||||
MAN1= ${PORTNAME}.1 alt_getopt.1
|
||||
MAN3= ${PORTNAME}_modules.3
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME} bin/alt_getopt bin/alt_getopt.sh
|
||||
|
||||
SUBPRJ_DFLT= runawk modules
|
||||
|
||||
LICENSE= MIT
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
PORTDOCS= *
|
||||
SUBPRJ_DFLT+= doc
|
||||
.endif
|
||||
BUILD_DEPENDS= mk-configure>=0.26.0:${PORTSDIR}/devel/mk-configure
|
||||
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
PORTEXAMPLES= *
|
||||
SUBPRJ_DFLT+= examples
|
||||
MAKE_ENV+= EGDIR="${EXAMPLESDIR}"
|
||||
.endif
|
||||
MAKE_ENV= DESTDIR="${STAGEDIR}" EGDIR="${EXAMPLESDIR}" \
|
||||
SUBPRJ_DFLT="${SUBPRJ_DFLT}"
|
||||
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
SUBPRJ_DFLT= runawk modules doc examples
|
||||
|
||||
NO_STAGE= yes
|
||||
do-build:
|
||||
@${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/mkcmake -C ${WRKSRC}
|
||||
|
||||
do-install:
|
||||
@${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/mkcmake -C ${WRKSRC} ${INSTALL_TARGET}
|
||||
|
||||
post-install:
|
||||
@(cd ${DATADIR}; ${FIND} -s . -type f) \
|
||||
| ${SED} -ne 's,^,${DATADIR:S,^${PREFIX}/,,}/,p' >> ${TMPPLIST}
|
||||
@${ECHO_CMD} '@dirrm ${DATADIR:S|${PREFIX}/||}/gawk' >> ${TMPPLIST}
|
||||
@${ECHO_CMD} '@dirrm ${DATADIR:S|${PREFIX}/||}' >> ${TMPPLIST}
|
||||
@${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/mkcmake -C ${WRKSRC} \
|
||||
${INSTALL_TARGET}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (runawk-1.5.0.tar.gz) = e3f6e14de8ad87ec28047aba36a6c4be7e13a45421e3cacce994726de80da6fa
|
||||
SIZE (runawk-1.5.0.tar.gz) = 75675
|
||||
SHA256 (runawk-1.5.1.tar.gz) = 74ecf303ce8267d4a34fbd3bae9880395d7a247364e11801f5bd463918843b8c
|
||||
SIZE (runawk-1.5.1.tar.gz) = 75217
|
||||
|
|
Loading…
Reference in a new issue