diff options
author | Marcelo Araujo <araujo@FreeBSD.org> | 2008-02-07 00:39:58 +0000 |
---|---|---|
committer | Marcelo Araujo <araujo@FreeBSD.org> | 2008-02-07 00:39:58 +0000 |
commit | e5b80ccc29d6ab03a572a272b9ced7519157bf4a (patch) | |
tree | dc60e897eed51dec8ef4f4714526438c001f492b /sysutils/pv | |
parent | 1801c8f54e9a9f46b24c0a9b9b8fdd615e48f5e3 (diff) |
- Update to 1.1.0.
- Use SF macro.
PR: ports/119760
Submitted by: Felippe de Meirelles Motta <lippemail@gmail.com>
Reworked by: araujo (myself)
Approved by: stas (mentor, implicit), maintainer timeout (> 2 weeks)
Notes
Notes:
svn path=/head/; revision=206801
Diffstat (limited to 'sysutils/pv')
-rw-r--r-- | sysutils/pv/Makefile | 43 | ||||
-rw-r--r-- | sysutils/pv/distinfo | 6 |
2 files changed, 36 insertions, 13 deletions
diff --git a/sysutils/pv/Makefile b/sysutils/pv/Makefile index 1618403423fd..ce8d5253efb8 100644 --- a/sysutils/pv/Makefile +++ b/sysutils/pv/Makefile @@ -6,9 +6,9 @@ # PORTNAME= pv -PORTVERSION= 0.9.6 +PORTVERSION= 1.1.0 CATEGORIES= sysutils -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITES= SF MASTER_SITE_SUBDIR= pipeviewer MAINTAINER= daniel@roe.ch @@ -18,21 +18,44 @@ USE_BZIP2= yes USE_GMAKE= yes GNU_CONFIGURE= yes -PLIST_FILES= bin/pv MAN1= pv.1 -INFO= pv -PORTDOCS= README NEWS TODO manual.html +PLIST_FILES= bin/pv +PORTDOCS= README COPYING INSTALL NEWS PACKAGE \ + TODO VERSION release-checklist +OPTIONS= DEBUG "Enable debug support" off \ + PROFILER "Enable profiling support" off \ + LFS "Enable LFS support" on \ + NLS "Use Native Language Support" off + +.include <bsd.port.pre.mk> + +.if defined(WITH_DEBUG) +CONFIGURE_ARGS+= --enable-debugging +.endif +.if defined(WITH_PROFILER) +CONFIGURE_ARGS+= --enable-profiling +.endif +.if defined(WITHOUT_LFS) +CONFIGURE_ARGS+= --disable-lfs +.endif +.if defined(WITH_NLS) +CONFIGURE_ARGS+= --enable-static-nls +.else +CONFIGURE_ARGS+= --disable-nls +.endif post-patch: @${CP} ${WRKSRC}/README ${WRKSRC}/doc do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/pv ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/doc/quickref.1 ${PREFIX}/man/man1/pv.1 - ${INSTALL_DATA} ${WRKSRC}/doc/pv.info ${PREFIX}/${INFO_PATH} + ${INSTALL_PROGRAM} ${WRKSRC}/pv ${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/doc/quickref.1 ${MAN1PREFIX}/man/man1/pv.1 .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} - cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${DOCSDIR}/ .endif -.include <bsd.port.mk> +test: + cd ${WRKSRC} && make test + +.include <bsd.port.post.mk> diff --git a/sysutils/pv/distinfo b/sysutils/pv/distinfo index 338a305bc28a..74dcc652e27d 100644 --- a/sysutils/pv/distinfo +++ b/sysutils/pv/distinfo @@ -1,3 +1,3 @@ -MD5 (pv-0.9.6.tar.bz2) = 24584962a940375a9cd195fb7cf32061 -SHA256 (pv-0.9.6.tar.bz2) = 428f492fddc58d93631e5b9cf8b0f078bea64d3d7e421f95ae2a9ab3b839d312 -SIZE (pv-0.9.6.tar.bz2) = 88983 +MD5 (pv-1.1.0.tar.bz2) = c0ca1f0cac602ac04ea1d8834231af99 +SHA256 (pv-1.1.0.tar.bz2) = 46e0bef4f45a52dbc084d41d75919eda9cfeab8f913045c2f2a0906ea5f5f9ee +SIZE (pv-1.1.0.tar.bz2) = 81122 |