diff --git a/sysutils/apachetop/Makefile b/sysutils/apachetop/Makefile index 15c53cc13d5c..1d05137cef10 100644 --- a/sysutils/apachetop/Makefile +++ b/sysutils/apachetop/Makefile @@ -6,7 +6,7 @@ # PORTNAME= apachetop -PORTVERSION= 0.4 +PORTVERSION= 0.6 CATEGORIES= sysutils MASTER_SITES= http://clueful.shagged.org/apachetop/files/ DISTNAME= ${PORTNAME}-${PORTVERSION} @@ -14,12 +14,17 @@ DISTNAME= ${PORTNAME}-${PORTVERSION} MAINTAINER= esn@x123.info COMMENT= Apache RealTime log stats -WRKSRC= ${WRKDIR}/ApacheTop-${PORTVERSION} +BUILD_DEPENDS= ${LOCALBASE}/bin/autoconf257:${PORTSDIR}/devel/autoconf257 -do-build: - cd ${WRKSRC}; ${MAKE} freebsd +GNU_CONFIGURE= yes +USE_REINPLACE= yes -do-install: - ${CP} -rp ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin +MAN1= apachetop.1 + +post-configure: + ${REINPLACE_CMD} \ + -e 's/--run autoconf$$/--run autoconf257/' \ + -e 's/--run autoheader$$/--run autoheader257/' \ + ${WRKSRC}/Makefile .include diff --git a/sysutils/apachetop/distinfo b/sysutils/apachetop/distinfo index 2ce54cf333a4..fa76fcf9b1af 100644 --- a/sysutils/apachetop/distinfo +++ b/sysutils/apachetop/distinfo @@ -1 +1 @@ -MD5 (apachetop-0.4.tar.gz) = b0258a0e771c943415717591606c909e +MD5 (apachetop-0.6.tar.gz) = b68994e5dab65ac273465d0218083b71