summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2014-06-03 20:04:00 +0000
committernetchild <netchild@FreeBSD.org>2014-06-03 20:04:00 +0000
commit0f14421e4e4069da785deaaff892df6477bb1226 (patch)
tree0ab34acbd5282a1f81c4f042d4d6cfd103b71636
parent1f5747d30b5f438b037b6c33877f9f0f866cc636 (diff)
downloadFreeBSD-ports-0f14421e4e4069da785deaaff892df6477bb1226.zip
FreeBSD-ports-0f14421e4e4069da785deaaff892df6477bb1226.tar.gz
- stage-ify
- convert to USES-libtool - convert to new lib depends
-rw-r--r--textproc/modlogan/Makefile24
-rw-r--r--textproc/modlogan/pkg-plist1
2 files changed, 10 insertions, 15 deletions
diff --git a/textproc/modlogan/Makefile b/textproc/modlogan/Makefile
index e69f982..1975085 100644
--- a/textproc/modlogan/Makefile
+++ b/textproc/modlogan/Makefile
@@ -10,13 +10,12 @@ MASTER_SITES= http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfile
MAINTAINER= netchild@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>
diff --git a/textproc/modlogan/pkg-plist b/textproc/modlogan/pkg-plist
index 8620b05..cd7da79 100644
--- a/textproc/modlogan/pkg-plist
+++ b/textproc/modlogan/pkg-plist
@@ -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
OpenPOWER on IntegriCloud