diff options
author | Sahil Tandon <sahil@FreeBSD.org> | 2010-10-25 03:16:22 +0000 |
---|---|---|
committer | Sahil Tandon <sahil@FreeBSD.org> | 2010-10-25 03:16:22 +0000 |
commit | f3de49c5258f2cb34e177620b32a5ddd5495837a (patch) | |
tree | 6df8c052678b218fd2c596094c1626373176a5a3 /lang/runawk | |
parent | fc438b947f6f5955e0cd56f894d2b3b15d29e9e0 (diff) | |
download | ports-f3de49c5258f2cb34e177620b32a5ddd5495837a.tar.gz ports-f3de49c5258f2cb34e177620b32a5ddd5495837a.zip |
Notes
Diffstat (limited to 'lang/runawk')
-rw-r--r-- | lang/runawk/Makefile | 23 | ||||
-rw-r--r-- | lang/runawk/distinfo | 6 |
2 files changed, 16 insertions, 13 deletions
diff --git a/lang/runawk/Makefile b/lang/runawk/Makefile index 82f3465410ae..04137a6e8ecf 100644 --- a/lang/runawk/Makefile +++ b/lang/runawk/Makefile @@ -6,32 +6,34 @@ # PORTNAME= runawk -PORTVERSION= 1.1.0 +PORTVERSION= 1.2.0 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 + MAKE_ENV+= LDFLAGS="-L${LOCALBASE}/lib -Wl,-rpath -Wl,${LOCALBASE}/lib" \ CPPFLAGS="-I${LOCALBASE}/include" -MAN1= ${PORTNAME}.1 -MANCOMPRESSED= yes +MAN1= ${PORTNAME}.1 alt_getopt.1 -PLIST_FILES= bin/${PORTNAME} +PLIST_FILES= bin/${PORTNAME} bin/alt_getopt bin/alt_getopt.sh PORTDOCS= ChangeLog NEWS README TODO PORTEXAMPLES= * +LICENSE= MIT + .include <bsd.port.pre.mk> +do-build: + @${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/mkcmake -C ${WRKSRC} + do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - @${MKDIR} ${DATADIR} - @${INSTALL_DATA} ${WRKSRC}/modules/*.awk \ - ${WRKSRC}/modules/gawk/* ${DATADIR} - @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1.gz ${MANPREFIX}/man/man1 + @${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/mkcmake -C ${WRKSRC} ${INSTALL_TARGET} post-install: .if !defined(NOPORTDOCS) @@ -42,8 +44,9 @@ post-install: @${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m 555 -d ${EXAMPLESDIR} @${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} .endif - @(cd ${DATADIR}; ${FIND} -s *) \ + @(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> diff --git a/lang/runawk/distinfo b/lang/runawk/distinfo index d475ec8b557e..9d087eeb901e 100644 --- a/lang/runawk/distinfo +++ b/lang/runawk/distinfo @@ -1,3 +1,3 @@ -MD5 (runawk-1.1.0.tar.gz) = 0fb31bb334ea1eec2a24f67159601a29 -SHA256 (runawk-1.1.0.tar.gz) = f2abbbca3c84ad453c114a40cd925f1cc8e264c96f04578249d159426a25412b -SIZE (runawk-1.1.0.tar.gz) = 70784 +MD5 (runawk-1.2.0.tar.gz) = 0840c8a0ff63f323dcd6c6c5580295b8 +SHA256 (runawk-1.2.0.tar.gz) = fc71c6459026ebb59e66737beda3acbe8d375a9fd52a17c06085306b0a890b2e +SIZE (runawk-1.2.0.tar.gz) = 71957 |