svn commit: r356402 - head/textproc/modlogan
Alexander Leidinger
netchild at FreeBSD.org
Tue Jun 3 20:04:02 UTC 2014
Author: netchild
Date: Tue Jun 3 20:04:00 2014
New Revision: 356402
URL: http://svnweb.freebsd.org/changeset/ports/356402
QAT: https://qat.redports.org/buildarchive/r356402/
Log:
- stage-ify
- convert to USES-libtool
- convert to new lib depends
Modified:
head/textproc/modlogan/Makefile
head/textproc/modlogan/pkg-plist
Modified: head/textproc/modlogan/Makefile
==============================================================================
--- head/textproc/modlogan/Makefile Tue Jun 3 19:59:52 2014 (r356401)
+++ head/textproc/modlogan/Makefile Tue Jun 3 20:04:00 2014 (r356402)
@@ -10,13 +10,12 @@ MASTER_SITES= http://www.mirrorservice.o
MAINTAINER= netchild at FreeBSD.org
COMMENT= A modular log file analysis program
-LIB_DEPENDS= adns:${PORTSDIR}/dns/adns \
- gd:${PORTSDIR}/graphics/gd \
- pcre:${PORTSDIR}/devel/pcre \
- expat:${PORTSDIR}/textproc/expat2
+LIB_DEPENDS= libadns.so:${PORTSDIR}/dns/adns \
+ libgd.so:${PORTSDIR}/graphics/gd \
+ libpcre.so:${PORTSDIR}/devel/pcre \
+ libexpat.so:${PORTSDIR}/textproc/expat2
-USE_AUTOTOOLS= libtool
-USES= gettext
+USES= gettext libtool:keepla
# Please don't remove the comments, as soon as autoconf/libtool get's
# updated in the ports collection the comments may be removed.
@@ -31,11 +30,9 @@ CONFIGURE_ARGS+=--with-mysql
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-MAN1= modlogan.1
DOC1= faq.txt glosar manual.txt translations.txt \
using-plugins.txt writing-plugins.txt
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's:\@config_path\@:${PREFIX}/etc/modlogan:g' ${WRKSRC}/doc/modlogan.conf-dist.in
@@ -44,17 +41,14 @@ post-patch:
post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/modlogan
+ ${MKDIR} ${STAGEDIR}/${PREFIX}/share/doc/modlogan
.for i in ${DOC1}
- @${INSTALL_DATA} ${WRKSRC}/doc/${i} ${PREFIX}/share/doc/modlogan/${i}
+ @${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}/${PREFIX}/share/doc/modlogan/${i}
.endfor
.endif
- ${MKDIR} ${PREFIX}/share/examples/modlogan
+ ${MKDIR} ${STAGEDIR}/${PREFIX}/share/examples/modlogan
.for i in footer.ihtml header.ihtml output.tmpl convert_history_to_07x.pl convert_to_055.pl convert_to_060.pl
- @${INSTALL_DATA} ${WRKSRC}/doc/${i} ${PREFIX}/share/examples/modlogan/${i}
-.endfor
-.for i in css conf def.conf
- [ -f ${PREFIX}/etc/modlogan/modlogan.${i} ] || ${INSTALL_DATA} ${PREFIX}/etc/modlogan/modlogan.${i}-dist ${PREFIX}/etc/modlogan/modlogan.${i}
+ @${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}/${PREFIX}/share/examples/modlogan/${i}
.endfor
.include <bsd.port.mk>
Modified: head/textproc/modlogan/pkg-plist
==============================================================================
--- head/textproc/modlogan/pkg-plist Tue Jun 3 19:59:52 2014 (r356401)
+++ head/textproc/modlogan/pkg-plist Tue Jun 3 20:04:00 2014 (r356402)
@@ -134,6 +134,7 @@ lib/libmla_processor_telecom.so
lib/libmla_processor_web.a
lib/libmla_processor_web.la
lib/libmla_processor_web.so
+man/man1/modlogan.1.gz
%%PORTDOCS%%%%DOCSDIR%%/faq.txt
%%PORTDOCS%%%%DOCSDIR%%/glosar
%%PORTDOCS%%%%DOCSDIR%%/manual.txt
More information about the svn-ports-head
mailing list