Hello, On Thu, Aug 21, 2008 at 12:55 PM, Alexey Shuvaev <[EMAIL PROTECTED]> wrote: > Port system does not install man pages for you. This should be done > by the build scripts in the distribution tarball. You should probably look at > various Makefiles* and/or configure script.
Yes, I know. I have looked at the various Makefiles and the configure scripts. It looks like tha man pages should be installed, but for some reason they don't, and I don't understand why > FYI, the port failed to patch with your diff: Strange it worked here. Maybe I messed up something. Anyway, I have made a new diff (attached). And this time I have testedc it on a fresh copy of the ports directory. It applies fine. In this version, I just try to get the english man pages insalled, to simplify my searc for bugs. Still the problen is the same: the ports own "install system" (Makefiles, autmake, whatever) doesn't want to install any other man paes than xas.1 and I don't understand why. Of course this means that the FreeBSD ports system can't find the man pages when it tries to gzip them. Any hints welcome. -- Regards, Torfinn Ingolfsen
--- amule2.org/Makefile 2008-06-09 00:20:03.000000000 +0200 +++ amule2/Makefile 2008-08-21 21:17:27.000000000 +0200 @@ -6,33 +6,39 @@ # PORTNAME= aMule -PORTVERSION= 2.1.3 -PORTREVISION= 7 +PORTVERSION= 2.2.2 +PORTREVISION= 1 CATEGORIES= net-p2p MASTER_SITES= SF/amule -PATCH_SITES= http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/ -PATCHFILES= aMule-wx.patch?rev=1.2 -PATCH_DIST_STRIP= -p1 - MAINTAINER= [EMAIL PROTECTED] COMMENT= The all-platform eMule p2p client +BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex \ + ${LOCALBASE}/lib/libcryptopp.a:${PORTSDIR}/security/cryptopp +LIB_DEPENDS= curl.4:${PORTSDIR}/ftp/curl + LATEST_LINK= aMule2 CONFLICTS= aMule-1.* aMule-devel-[0-9]* ed2k-hash-* USE_BZIP2= yes +USE_XORG= x11 USE_GNOME= gnomehier gnomehack gnomeprefix USE_GMAKE= yes +USE_GETTEXT= yes USE_WX= 2.8 WX_CONF_ARGS= absolute GNU_CONFIGURE= yes -CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} + +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --disable-debug \ + --mandir=${MANPREFIX}/man \ --without-included-gettext \ - --with-libintl-prefix=${LOCALBASE} \ - --with-libiconv-prefix=${LOCALBASE} \ - --enable-embedded_crypto + --with-wx-config=${WX_CONFIG} \ + --with-gdlib-prefix=${LOCALBASE} \ + --with-libpng-prefix=${LOCALBASE} \ + --with-crypto-prefix=${LOCALBASE} \ + --enable-monolithic CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" @@ -48,20 +54,14 @@ .include <bsd.port.pre.mk> -.if !defined(WITHOUT_NLS) -USE_GETTEXT= yes -.else -CONFIGURE_ARGS+= --disable-nls -.endif - # Configure options -.if !defined(WITHOUT_OPTIMIZE) +.if defined(WITH_OPTIMIZE) CONFIGURE_ARGS+= --enable-optimize .else CONFIGURE_ARGS+= --disable-optimize .endif -.if !defined(WITHOUT_ED2K) +.if defined(WITH_ED2K) CONFIGURE_ARGS+= --enable-ed2k PLIST_SUB+= PL_ED2K="" .else @@ -69,7 +69,7 @@ PLIST_SUB+= PL_ED2K="@comment " .endif -.if !defined(WITHOUT_AMULECMD) +.if defined(WITH_AMULECMD) CONFIGURE_ARGS+= --enable-amulecmd PLIST_SUB+= PL_AMULECMD="" .else @@ -77,7 +77,7 @@ PLIST_SUB+= PL_AMULECMD="@comment " .endif -.if !defined(WITHOUT_AMULEWEBSRV) +.if defined(WITH_AMULEWEBSRV) CONFIGURE_ARGS+= --enable-webserver PLIST_SUB+= PL_AMULEWEBSRV="" .else @@ -85,7 +85,7 @@ PLIST_SUB+= PL_AMULEWEBSRV="@comment " .endif -.if !defined(WITHOUT_CAS) +.if defined(WITH_CAS) CONFIGURE_ARGS+= --enable-cas --enable-wxcas PLIST_SUB+= PL_CAS="" .else @@ -93,7 +93,7 @@ PLIST_SUB+= PL_CAS="@comment " .endif -.if !defined(WITHOUT_ALC) +.if defined(WITH_ALC) CONFIGURE_ARGS+= --enable-alc --enable-alcc PLIST_SUB+= PL_ALC="" .else @@ -110,31 +110,11 @@ PLIST_SUB+= PL_AMULEDAEMON="@comment " .endif -.if !defined(WITHOUT_WXUNICODE) +.if defined(WITH_WXUNICODE) WX_UNICODE=yes .endif # Man pages management .include "Makefile.man" -post-install: -# fr manpages are still incomplete and can't be managed -# by MANLANG. Will be done when pages are complete. -.if defined(WITH_AMULECMD) - ${GZIP_CMD} ${PREFIX}/man/fr/man1/amulecmd.1 -.endif -.if defined(WITH_AMULEWEBSRV) - ${GZIP_CMD} ${PREFIX}/man/fr/man1/amuleweb.1 -.endif - ${GZIP_CMD} ${PREFIX}/man/fr/man1/amule.1 -.if defined(WITH_AMULEDAEMON) - ${GZIP_CMD} ${PREFIX}/man/fr/man1/amuled.1 -.endif -.if defined(WITH_ED2K) - ${GZIP_CMD} ${PREFIX}/man/fr/man1/ed2k.1 -.endif -.if defined(WITH_ALC) - ${GZIP_CMD} ${PREFIX}/man/fr/man1/alcc.1 -.endif - .include <bsd.port.post.mk> --- amule2.org/Makefile.man 2006-01-04 06:59:25.000000000 +0100 +++ amule2/Makefile.man 2008-08-21 22:04:53.000000000 +0200 @@ -1,12 +1,12 @@ # TODO : Add fr here when pages are complete -MANLANG= "" de es hu +MANLANG= "" MANCOMPRESSED= no .if defined(WITH_CAS) -MAN1+= cas.1 -MAN1+= wxcas.1 +MAN1_EN+= cas.1 +MAN1_EN+= wxcas.1 .endif .if defined(WITH_ALC) -MAN1+= alc.1 +MAN1_EN+= alc.1 MAN1+= alcc.1 .endif .if defined(WITH_AMULEWEBSRV) @@ -20,6 +20,7 @@ .endif .if defined(WITH_AMULEDAEMON) MAN1+= amuled.1 +MAN1_EN+= amulegui.1 .endif MAN1+= amule.1 -MAN1+= xas.1 +MAN1_EN+= xas.1 --- amule2.org/distinfo 2007-01-12 18:18:48.000000000 +0100 +++ amule2/distinfo 2008-08-21 22:12:15.000000000 +0200 @@ -1,6 +1,3 @@ -MD5 (aMule-2.1.3.tar.bz2) = 0aafdd159edb8ad5f0064da87998b47d -SHA256 (aMule-2.1.3.tar.bz2) = 6e97e947bb7ac231b75e3b21a509a2ec0239bcd7e9dbfc6062c520a6d13b0244 -SIZE (aMule-2.1.3.tar.bz2) = 3248530 -MD5 (aMule-wx.patch?rev=1.2) = 7b61651b0abdee7dc577a03dad8025c1 -SHA256 (aMule-wx.patch?rev=1.2) = c0c0a55fb437fdf618137f2cb0c5ff59a1595aeddf5455a1bad2b2ab11b0a244 -SIZE (aMule-wx.patch?rev=1.2) = 4943 +MD5 (aMule-2.2.2.tar.bz2) = 4bbb5fef3b7acd206c08beddb7fdbb42 +SHA256 (aMule-2.2.2.tar.bz2) = 1b969dd9c2c65bdd5dc5ec67cd623291d0d072b18a68d7e893cae117e61e377b +SIZE (aMule-2.2.2.tar.bz2) = 4669549 --- amule2.org/pkg-plist 2007-10-25 01:36:24.000000000 +0200 +++ amule2/pkg-plist 2008-08-18 00:04:53.000000000 +0200 @@ -39,19 +39,19 @@ @dirrmtry share/locale/it_CH @dirrmtry share/locale/ko_KR/LC_MESSAGES @dirrmtry share/locale/ko_KR -share/doc/aMule-2.1.3/ABOUT-NLS -share/doc/aMule-2.1.3/amulesig.txt -share/doc/aMule-2.1.3/amule-win32.HOWTO.txt -share/doc/aMule-2.1.3/Changelog -share/doc/aMule-2.1.3/Doxyfile -share/doc/aMule-2.1.3/ED2K-Links.HOWTO -share/doc/aMule-2.1.3/INSTALL -share/doc/aMule-2.1.3/license.txt -share/doc/aMule-2.1.3/README -share/doc/aMule-2.1.3/TODO -share/doc/aMule-2.1.3/EC_Protocol.txt -share/doc/aMule-2.1.3/socks4.protocol [EMAIL PROTECTED] share/doc/aMule-2.1.3 +share/doc/aMule-2.2.2/ABOUT-NLS +share/doc/aMule-2.2.2/amulesig.txt +share/doc/aMule-2.2.2/amule-win32.HOWTO.txt +share/doc/aMule-2.2.2/Changelog +share/doc/aMule-2.2.2/Doxyfile +share/doc/aMule-2.2.2/ED2K-Links.HOWTO +share/doc/aMule-2.2.2/INSTALL +share/doc/aMule-2.2.2/license.txt +share/doc/aMule-2.2.2/README +share/doc/aMule-2.2.2/TODO +share/doc/aMule-2.2.2/EC_Protocol.txt +share/doc/aMule-2.2.2/socks4.protocol [EMAIL PROTECTED] share/doc/aMule-2.2.2 @dirrmtry share/doc %%PL_CAS%%share/cas/tmp.html %%PL_CAS%%share/cas/stat.png --- amule2.org/files/patch-amuleDlg.cpp 2006-01-04 06:59:25.000000000 +0100 +++ amule2/files/patch-amuleDlg.cpp 2008-08-17 22:55:41.000000000 +0200 @@ -1,24 +1,24 @@ ---- src/amuleDlg.cpp.orig Sun Jan 1 06:17:25 2006 -+++ src/amuleDlg.cpp Tue Jan 3 19:12:04 2006 -@@ -413,9 +413,9 @@ +--- src/amuleDlg.cpp_org 2008-08-17 22:43:01.000000000 +0200 ++++ src/amuleDlg.cpp 2008-08-17 22:53:13.000000000 +0200 +@@ -455,9 +455,9 @@ { wxString msg = wxT(" "); #ifdef CLIENT_GUI - msg << _("aMule remote control ") << wxT(VERSION); -+ msg << _("aMule remote control ") << wxT(VERSION) << wxT(" for FreeBSD"); ++ msg << _("aMule remote control ") << wxT(VERSION) << wxT(" for FreeBSD"); #else - msg << wxT("aMule ") << wxT(VERSION); -+ msg << wxT("aMule ") << wxT(VERSION) << wxT(" for FreeBSD"); ++ msg << wxT("aMule ") << wxT(VERSION) << wxT(" for FreeBSD"); #endif msg << wxT(" "); - #ifdef CVSDATE -@@ -425,7 +425,8 @@ - " 'All-Platform' p2p client based on eMule \n\n" - " Website: http://www.amule.org \n" - " Forum: http://forum.amule.org \n" -- " FAQ: http://wiki.amule.org \n\n" -+ " FAQ: http://wiki.amule.org \n" -+ " FreeBSD port: http://contribs.martymac.com \n\n" - " Contact: [EMAIL PROTECTED] (administrative issues) \n" - " Copyright (C) 2003-2006 aMule Team \n\n" - " Part of aMule is based on \n" + #ifdef SVNDATE +@@ -466,7 +466,8 @@ + msg << wxT("\n\n") << _(" 'All-Platform' p2p client based on eMule \n\n") << + _(" Website: http://www.amule.org \n") << + _(" Forum: http://forum.amule.org \n") << +- _(" FAQ: http://wiki.amule.org \n\n") << ++ _(" FAQ: http://wiki.amule.org \n") << ++ _(" FreeBSD port: http://contribs.martymac.com \n\n") << + _(" Contact: [EMAIL PROTECTED] (administrative issues) \n") << + _(" Copyright (C) 2003-2008 aMule Team \n\n") << + _(" Part of aMule is based on \n") <<
_______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"