Index: head/mail/whoson/Makefile =================================================================== --- head/mail/whoson/Makefile (revision 421837) +++ head/mail/whoson/Makefile (revision 421838) @@ -1,33 +1,34 @@ # Created by: Sergey Matveychuk # $FreeBSD$ PORTNAME= whoson PORTVERSION= 2.05 PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Implementation of `WHO iS ONline' protocol +LICENSE= PD OpenSSL +LICENSE_COMB= multi + USES= libtool GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-config=${PREFIX}/etc/whoson.conf USE_LDCONFIG= yes USE_RC_SUBR= whoson PORTDOCS= README ChangeLog OPTIONS_DEFINE= DOCS -.include - post-install: -.if ${PORT_OPTIONS:MDOCS} + @${STRIP_CMD} ${STAGEDIR}/${PREFIX}/lib/libwhoson.so + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}/${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} -.endif - ${STRIP_CMD} ${STAGEDIR}/${PREFIX}/lib/libwhoson.so.0 .include Index: head/mail/whoson/files/patch-Makefile.in =================================================================== --- head/mail/whoson/files/patch-Makefile.in (revision 421837) +++ head/mail/whoson/files/patch-Makefile.in (revision 421838) @@ -1,25 +1,25 @@ ---- Makefile.in.orig 2008-01-17 15:59:21.000000000 +0300 -+++ Makefile.in 2008-07-02 19:37:47.000000000 +0400 +--- Makefile.in.orig 2009-04-08 12:35:09 UTC ++++ Makefile.in @@ -336,7 +336,7 @@ whosond_SOURCES = whosond.c mainloop.c l nodist_whosond_SOURCES = servlist.c EXTRA_whosond_SOURCES = serv_tcp.c serv_unix.c serv_unixd.c serv_udp.c whosond_LDADD = $(lib_LTLIBRARIES) @LIBOBJS@ @SERV_CONN_OBJ@ -whosond_DEPENDENCIES = @SERV_CONN_OBJ@ +whosond_DEPENDENCIES = @SERV_CONN_OBJ@ $(lib_LTLIBRARIES) libwhoson_la_SOURCES = clnt_common.c rtconfig.c checkperm.c nodist_libwhoson_la_SOURCES = clntlist.c EXTRA_libwhoson_la_SOURCES = clnt_tcp.c clnt_unix.c clnt_unixd.c clnt_udp.c @@ -982,12 +982,7 @@ uninstall-man: uninstall-man3 uninstall- install-data-hook: - if test -f $(DESTDIR)$(DEFAULT_CONFIG); then \ - $(ECHO) "$(DESTDIR)$(DEFAULT_CONFIG) exists, not overwritten"; \ - else \ - $(mkinstalldirs) `dirname $(DESTDIR)$(DEFAULT_CONFIG)`; \ - $(INSTALL_DATA) $(srcdir)/whoson.conf $(DESTDIR)$(DEFAULT_CONFIG); \ - fi; \ + $(INSTALL_DATA) $(srcdir)/whoson.conf $(DESTDIR)$(DEFAULT_CONFIG).sample; \ for f in $(MAN3XTRA); do \ rm -f $(DESTDIR)$(man3dir)/$$f; \ $(LN) $(DESTDIR)$(man3dir)/whoson.3 $(DESTDIR)$(man3dir)/$$f; \