diff options
author | Andrew Pantyukhin <sat@FreeBSD.org> | 2008-05-15 19:08:27 +0000 |
---|---|---|
committer | Andrew Pantyukhin <sat@FreeBSD.org> | 2008-05-15 19:08:27 +0000 |
commit | b2d007767e0fb6def7adf0b4763af5ad524aa57d (patch) | |
tree | a6fa9e49af90772397b7a2fda4570d1ce68ceb84 /devel/liblogging | |
parent | 5e6d3f4f88434a6850606df85ec139c9ef215c55 (diff) |
Notes
Diffstat (limited to 'devel/liblogging')
-rw-r--r-- | devel/liblogging/Makefile | 28 | ||||
-rw-r--r-- | devel/liblogging/distinfo | 6 | ||||
-rw-r--r-- | devel/liblogging/pkg-plist | 9 |
3 files changed, 18 insertions, 25 deletions
diff --git a/devel/liblogging/Makefile b/devel/liblogging/Makefile index 2c6a3a2a15d4..a427ff21b771 100644 --- a/devel/liblogging/Makefile +++ b/devel/liblogging/Makefile @@ -6,35 +6,19 @@ # PORTNAME= liblogging -PORTVERSION= 0.6.0 +PORTVERSION= 0.7.1 CATEGORIES= devel -MASTER_SITES= SF http://download.adiscon.com/ +MASTER_SITES= CENKES http://download.rsyslog.com/liblogging/ MAINTAINER= infofarmer@FreeBSD.org COMMENT= Easy to use system logging library -USE_DOS2UNIX= yes USE_LDCONFIG= yes -USE_ZIP= yes -WRKSRC= ${WRKDIR}/src -MAKEFILE= makefile -CFLAGS+= -fPIC -PLIST_FILES= include/${PORTNAME}.h include/${PORTNAME}-config.h include/srAPI.h \ - include/syslogmessage.h lib/${PORTNAME}.so lib/${PORTNAME}.so.0 - -post-extract: - @${MV} ${WRKSRC}/config.h ${WRKSRC}/${PORTNAME}-config.h +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --disable-static post-patch: - @${REINPLACE_CMD} -e 's|config\.h|${PORTNAME}-config.h|' ${WRKSRC}/*.[ch] \ - ${WRKSRC}/${MAKEFILE} - @${REINPLACE_CMD} -e 's|\.a|.so|g;s|[(]AR[)] cru|{CC} ${CFLAGS} -shared -o|'\ - ${WRKSRC}/${MAKEFILE} - -do-install: - @cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTNAME}.h ${PORTNAME}-config.h \ - srAPI.h syslogmessage.h ${PREFIX}/include/ - @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}.so ${PREFIX}/lib/ - @${LN} -sf ${PORTNAME}.so ${PREFIX}/lib/${PORTNAME}.so.0 + @${REINPLACE_CMD} -e '/^pkgconfigdir =/s|=.*| \ + = ${PREFIX}/libdata/pkgconfig|' ${WRKSRC}/Makefile.in .include <bsd.port.mk> diff --git a/devel/liblogging/distinfo b/devel/liblogging/distinfo index 281ff5202428..c43fed783e64 100644 --- a/devel/liblogging/distinfo +++ b/devel/liblogging/distinfo @@ -1,3 +1,3 @@ -MD5 (liblogging-0.6.0.zip) = c01c2c674a458e56a908b96db00831d7 -SHA256 (liblogging-0.6.0.zip) = 7af82e60b67c888d0dcd8d1bf44f63800efc647f5b7482253ef44655fc837e5d -SIZE (liblogging-0.6.0.zip) = 459139 +MD5 (liblogging-0.7.1.tar.gz) = 17a0de3f2a403f6baafcf608d8728690 +SHA256 (liblogging-0.7.1.tar.gz) = 2c3aaf6b5e8d2240d3db43781f7f13d1691f31083c8d4274285ef38fdef5dbbc +SIZE (liblogging-0.7.1.tar.gz) = 525925 diff --git a/devel/liblogging/pkg-plist b/devel/liblogging/pkg-plist new file mode 100644 index 000000000000..4e8ca7198dd1 --- /dev/null +++ b/devel/liblogging/pkg-plist @@ -0,0 +1,9 @@ +include/liblogging/liblogging.h +include/liblogging/settings.h +include/liblogging/srAPI.h +include/liblogging/syslogmessage.h +lib/liblogging.la +lib/liblogging.so +lib/liblogging.so.0 +libdata/pkgconfig/liblogging.pc +@dirrm include/liblogging |