aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2003-04-09 08:28:44 +0000
committerKevin Lo <kevlo@FreeBSD.org>2003-04-09 08:28:44 +0000
commit1b347c345c4ee964fd8e956847357d0843692f53 (patch)
tree2702ed3e1876fa793e060efd3b7ae9b96adce072 /sysutils
parent2c2587e36733025da7c9bd01ab4ed356e919be67 (diff)
downloadports-1b347c345c4ee964fd8e956847357d0843692f53.tar.gz
ports-1b347c345c4ee964fd8e956847357d0843692f53.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/metalog/Makefile21
-rw-r--r--sysutils/metalog/distinfo2
-rw-r--r--sysutils/metalog/pkg-plist12
3 files changed, 18 insertions, 17 deletions
diff --git a/sysutils/metalog/Makefile b/sysutils/metalog/Makefile
index 680ccff104f3..e337b6a4d714 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 3c97aad3658a..dcf2010d8863 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 5a6c795ad503..064af5272177 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%%