diff options
author | kevlo <kevlo@FreeBSD.org> | 2003-04-09 16:28:44 +0800 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2003-04-09 16:28:44 +0800 |
commit | 0b23dea19b4b2904c1faf7e3d0d95783bfc5ec3d (patch) | |
tree | a6c22d4c26154216bf3a0b02fb206e5f7d6ed72e /sysutils/metalog | |
parent | d0ea1ba598700a87c157a42d1c76ef58fd0cb3da (diff) | |
download | freebsd-ports-graphics-0b23dea19b4b2904c1faf7e3d0d95783bfc5ec3d.tar.gz freebsd-ports-graphics-0b23dea19b4b2904c1faf7e3d0d95783bfc5ec3d.tar.zst freebsd-ports-graphics-0b23dea19b4b2904c1faf7e3d0d95783bfc5ec3d.zip |
- Update to 0.7 and bump PORTEPOCH since 0.7 < 0.7b
- Silence configure warning by adding CONFIGURE_TARGET
- Allow user to override CPFLAGS/LDFLAGS
- Do not install yet another copy of GPL
- Use DOCSDIR/EXAMPLESDIR in pkg-plist
PR: 50717
Submitted by: MAINTAINER
Diffstat (limited to 'sysutils/metalog')
-rw-r--r-- | sysutils/metalog/Makefile | 21 | ||||
-rw-r--r-- | sysutils/metalog/distinfo | 2 | ||||
-rw-r--r-- | sysutils/metalog/pkg-plist | 12 |
3 files changed, 18 insertions, 17 deletions
diff --git a/sysutils/metalog/Makefile b/sysutils/metalog/Makefile index 680ccff104f..e337b6a4d71 100644 --- a/sysutils/metalog/Makefile +++ b/sysutils/metalog/Makefile @@ -6,12 +6,11 @@ # PORTNAME= metalog -PORTVERSION= 0.7b +PORTVERSION= 0.7 +PORTEPOCH= 1 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} -DISTNAME= ${PORTNAME}-${PORTVERSION:S/b/beta/} -EXTRACT_SUFX= .tgz MAINTAINER= sergei@kolobov.com COMMENT= Modern syslogd replacement with PCRE support @@ -19,20 +18,22 @@ COMMENT= Modern syslogd replacement with PCRE support LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} + +# Needed for metalog's configure to find installed devel/pcre port +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib MAN8= metalog.8 -DOCS= COPYING NEWS README +DOCS= AUTHORS NEWS README -.if !defined(NOPORTDOCS) post-install: @${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/metalog.conf ${EXAMPLESDIR} +.if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} -.for file in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} -.endfor + cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/sysutils/metalog/distinfo b/sysutils/metalog/distinfo index 3c97aad3658..dcf2010d886 100644 --- a/sysutils/metalog/distinfo +++ b/sysutils/metalog/distinfo @@ -1 +1 @@ -MD5 (metalog-0.7beta.tgz) = 9b6878d5aac4edcf771d95c4f857cec6 +MD5 (metalog-0.7.tar.gz) = 40940eb9829de7d5776b9bbd514f9d7e diff --git a/sysutils/metalog/pkg-plist b/sysutils/metalog/pkg-plist index 5a6c795ad50..064af527217 100644 --- a/sysutils/metalog/pkg-plist +++ b/sysutils/metalog/pkg-plist @@ -1,7 +1,7 @@ sbin/metalog -%%PORTDOCS%%share/doc/metalog/COPYING -%%PORTDOCS%%share/doc/metalog/NEWS -%%PORTDOCS%%share/doc/metalog/README -%%PORTDOCS%%@dirrm share/doc/metalog -%%PORTDOCS%%share/examples/metalog/metalog.conf -%%PORTDOCS%%@dirrm share/examples/metalog +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%EXAMPLESDIR%%/metalog.conf +@dirrm %%EXAMPLESDIR%% |