diff --git a/Mk/bsd.options.desc.mk b/Mk/bsd.options.desc.mk index 136afb14b972..f18640cc7125 100644 --- a/Mk/bsd.options.desc.mk +++ b/Mk/bsd.options.desc.mk @@ -98,6 +98,7 @@ LASH_DESC?= Enable LDASH audio support LASTFM_DESC?= Support Last.FM stream input LCMS2_DESC?= Enable LCMS2 support LDAP_DESC?= Enable LDAP support +LFS_DESC?= Enable Large Files Support LIBBLURAY_DESC?= Enable libbluray support LIBEXTRACTOR_DESC?= Enable libextractor support LIBPAPER_DESC?= Enable libpaper support diff --git a/sysutils/pv/Makefile b/sysutils/pv/Makefile index dbf5b7e99bf3..2a70daba5700 100644 --- a/sysutils/pv/Makefile +++ b/sysutils/pv/Makefile @@ -7,6 +7,7 @@ PORTNAME= pv PORTVERSION= 1.2.0 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \ SF/${PROJECTHOST}/${PROJECTHOST}/${PORTVERSION} @@ -14,9 +15,11 @@ MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \ MAINTAINER= martymac@FreeBSD.org COMMENT= A pipe throughput monitor -PROJECTHOST= pipeviewer LICENSE= ART20 +CONFLICTS= waon-[0-9]* + +PROJECTHOST= pipeviewer USE_BZIP2= yes USE_GMAKE= yes GNU_CONFIGURE= yes @@ -25,15 +28,19 @@ MAN1= pv.1 PLIST_FILES= bin/pv PORTDOCS= README INSTALL NEWS PACKAGE \ TODO VERSION release-checklist -OPTIONS= LFS "Use large filesystem support" on \ - NLS "Use Native Language Support" off + +OPTIONS_DEFINE= NLS LFS +OPTIONS_DEFAULT= LFS .include -.if defined(WITHOUT_LFS) +.if ${PORT_OPTIONS:MLFS} +CONFIGURE_ARGS+= --enable-lfs +.else CONFIGURE_ARGS+= --disable-lfs .endif -.if defined(WITH_NLS) + +.if ${PORT_OPTIONS:MNLS} CONFIGURE_ARGS+= --enable-static-nls .else CONFIGURE_ARGS+= --disable-nls @@ -45,7 +52,7 @@ post-patch: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pv ${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/doc/quickref.1 ${MAN1PREFIX}/man/man1/pv.1 -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} .for doc in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${DOCSDIR}