diff options
author | Sahil Tandon <sahil@FreeBSD.org> | 2011-01-23 19:11:41 +0000 |
---|---|---|
committer | Sahil Tandon <sahil@FreeBSD.org> | 2011-01-23 19:11:41 +0000 |
commit | 9ce61053e868431b0cf261f859345a36bc494233 (patch) | |
tree | ed3c55439edb909f5befe1683a02f74f43afd2f3 /lang/runawk | |
parent | Aggregate perl modules, often useful for template expansion. (diff) |
Update to 1.3.1 and simplify the conditional
installation of examples and documentation.
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=268137
Diffstat (limited to 'lang/runawk')
-rw-r--r-- | lang/runawk/Makefile | 30 | ||||
-rw-r--r-- | lang/runawk/distinfo | 5 |
2 files changed, 17 insertions, 18 deletions
diff --git a/lang/runawk/Makefile b/lang/runawk/Makefile index 04137a6e8ecf..b556d680f5f5 100644 --- a/lang/runawk/Makefile +++ b/lang/runawk/Makefile @@ -6,28 +6,36 @@ # PORTNAME= runawk -PORTVERSION= 1.2.0 +PORTVERSION= 1.3.1 CATEGORIES= lang MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= sahil@FreeBSD.org COMMENT= Wrapper for AWK interpreter that implements a modules system -BUILD_DEPENDS= mk-configure>=0.20.0:${PORTSDIR}/devel/mk-configure +BUILD_DEPENDS= mk-configure>=0.21.0:${PORTSDIR}/devel/mk-configure MAKE_ENV+= LDFLAGS="-L${LOCALBASE}/lib -Wl,-rpath -Wl,${LOCALBASE}/lib" \ - CPPFLAGS="-I${LOCALBASE}/include" + CPPFLAGS="-I${LOCALBASE}/include" SUBPRJ_DFLT="${SUBPRJ_DFLT}" MAN1= ${PORTNAME}.1 alt_getopt.1 PLIST_FILES= bin/${PORTNAME} bin/alt_getopt bin/alt_getopt.sh -PORTDOCS= ChangeLog NEWS README TODO -PORTEXAMPLES= * +SUBPRJ_DFLT= runawk modules LICENSE= MIT -.include <bsd.port.pre.mk> +.if !defined(NOPORTDOCS) +PORTDOCS= * +SUBPRJ_DFLT+= doc +.endif + +.if !defined(NOPORTEXAMPLES) +PORTEXAMPLES= * +SUBPRJ_DFLT+= examples +MAKE_ENV+= EGDIR="${EXAMPLESDIR}" +.endif do-build: @${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/mkcmake -C ${WRKSRC} @@ -36,17 +44,9 @@ do-install: @${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/mkcmake -C ${WRKSRC} ${INSTALL_TARGET} 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 ${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} -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/lang/runawk/distinfo b/lang/runawk/distinfo index 9d087eeb901e..1ff4864bbd2d 100644 --- a/lang/runawk/distinfo +++ b/lang/runawk/distinfo @@ -1,3 +1,2 @@ -MD5 (runawk-1.2.0.tar.gz) = 0840c8a0ff63f323dcd6c6c5580295b8 -SHA256 (runawk-1.2.0.tar.gz) = fc71c6459026ebb59e66737beda3acbe8d375a9fd52a17c06085306b0a890b2e -SIZE (runawk-1.2.0.tar.gz) = 71957 +SHA256 (runawk-1.3.1.tar.gz) = 1645b680521f2e1b8004a797e5ec50de1e788f7361f018d2243507678b81b16c +SIZE (runawk-1.3.1.tar.gz) = 74276 |