diff options
author | netchild <netchild@FreeBSD.org> | 2014-06-04 04:04:00 +0800 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2014-06-04 04:04:00 +0800 |
commit | 0f14421e4e4069da785deaaff892df6477bb1226 (patch) | |
tree | 0ab34acbd5282a1f81c4f042d4d6cfd103b71636 /textproc | |
parent | 1f5747d30b5f438b037b6c33877f9f0f866cc636 (diff) | |
download | freebsd-ports-gnome-0f14421e4e4069da785deaaff892df6477bb1226.tar.gz freebsd-ports-gnome-0f14421e4e4069da785deaaff892df6477bb1226.tar.zst freebsd-ports-gnome-0f14421e4e4069da785deaaff892df6477bb1226.zip |
- stage-ify
- convert to USES-libtool
- convert to new lib depends
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/modlogan/Makefile | 24 | ||||
-rw-r--r-- | textproc/modlogan/pkg-plist | 1 |
2 files changed, 10 insertions, 15 deletions
diff --git a/textproc/modlogan/Makefile b/textproc/modlogan/Makefile index e69f982c551d..197508561849 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 8620b052d68c..cd7da79573f2 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 |