diff options
author | Barbara Guida <bar@FreeBSD.org> | 2014-04-28 23:27:36 +0000 |
---|---|---|
committer | Barbara Guida <bar@FreeBSD.org> | 2014-04-28 23:27:36 +0000 |
commit | ffd9d45b4a1fa77eb289cc5b27656c5ffb3ed11a (patch) | |
tree | e2590d622975f3559722016c193dfa473e977013 /net-p2p/amule-devel | |
parent | ed5302cc0f1ec58985d382c9cfc25c6e34420aae (diff) | |
download | ports-ffd9d45b4a1fa77eb289cc5b27656c5ffb3ed11a.tar.gz ports-ffd9d45b4a1fa77eb289cc5b27656c5ffb3ed11a.zip |
Notes
Diffstat (limited to 'net-p2p/amule-devel')
-rw-r--r-- | net-p2p/amule-devel/Makefile | 186 | ||||
-rw-r--r-- | net-p2p/amule-devel/distinfo | 4 | ||||
-rw-r--r-- | net-p2p/amule-devel/pkg-plist | 60 |
3 files changed, 76 insertions, 174 deletions
diff --git a/net-p2p/amule-devel/Makefile b/net-p2p/amule-devel/Makefile index cdbf491ce363..614efa9bb36f 100644 --- a/net-p2p/amule-devel/Makefile +++ b/net-p2p/amule-devel/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= amule -PORTVERSION= 10832 +PORTVERSION= 10834 CATEGORIES= net-p2p MASTER_SITES= http://amule.sourceforge.net/tarballs/ PKGNAMESUFFIX= -devel @@ -14,15 +14,11 @@ COMMENT= The all-platform eMule p2p client LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual -LICENSE_FILE_GPLv2=${WRKSRC}/docs/COPYING - -BUILD_DEPENDS= ${FLEX}:${PORTSDIR}/textproc/flex \ - ${LOCALBASE}/lib/libcryptopp.a:${PORTSDIR}/security/cryptopp +BUILD_DEPENDS= ${LOCALBASE}/lib/libcryptopp.a:${PORTSDIR}/security/cryptopp CONFLICTS= amule-[0-9]* -USE_BZIP2= yes -USES= bison gmake pkgconfig perl5 shebangfix +USES= bison gmake pkgconfig perl5 shebangfix tar:bzip2 USE_PERL5= build USE_WX= 2.8 WX_CONF_ARGS= absolute @@ -57,174 +53,84 @@ XAS_DESC= Install XChat2 plugin OPTIONS_DEFAULT=ALC ALCC AMULECMD AMULEDAEMON AMULEGUI CAS ED2K \ FILEVIEW MONOLITHIC WEBSERVER WXCAS WXUNICODE XAS -FLEX?= ${LOCALBASE}/bin/flex +OPTIONS_SUB= yes SHEBANG_FILES= src/utils/scripts/*.pl src/utils/xas/*.pl src/libs/ec/*.pl -.include <bsd.port.options.mk> - -.if ${ARCH} == "i386" && ( ${OSVERSION} >= 1000024 || ${CXX:T} == "clang++" ) -CPPFLAGS+= -DCRYPTOPP_DISABLE_ASM -.endif - -.if empty(PORT_OPTIONS:MDEBUG) -CONFIGURE_ARGS+=--disable-debug -.endif +LICENSE_FILE_GPLv2=${WRKSRC}/docs/COPYING -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif +DEBUG_CONFIGURE_ON= --enable-debug -.if ${PORT_OPTIONS:MALC} -CONFIGURE_ARGS+= --enable-alc -PLIST_SUB+= ALC="" -.else -CONFIGURE_ARGS+= --disable-alc -PLIST_SUB+= ALC="@comment " -.endif +NLS_USES= gettext +NLS_CONFIGURE_OFF= --disable-nls -.if ${PORT_OPTIONS:MALCC} -CONFIGURE_ARGS+= --enable-alcc -PLIST_SUB+= ALCC="" -.else -CONFIGURE_ARGS+= --disable-alcc -PLIST_SUB+= ALCC="@comment " -.endif +ALC_CONFIGURE_ON= --enable-alc -.if ${PORT_OPTIONS:MAMULECMD} -CONFIGURE_ARGS+= --enable-amulecmd -PLIST_SUB+= AMULECMD="" -.else -CONFIGURE_ARGS+= --disable-amulecmd -PLIST_SUB+= AMULECMD="@comment " -.endif +ALCC_CONFIGURE_ON= --enable-alcc -.if ${PORT_OPTIONS:MAMULEDAEMON} -CONFIGURE_ARGS+= --enable-amule-daemon -PLIST_SUB+= AMULEDAEMON="" -USE_RC_SUBR= amuled -.else -CONFIGURE_ARGS+= --disable-amule-daemon -PLIST_SUB+= AMULEDAEMON="@comment " -.endif +AMULECMD_CONFIGURE_ON= --enable-amulecmd -.if ${PORT_OPTIONS:MAMULEGUI} -CONFIGURE_ARGS+= --enable-amule-gui -PLIST_SUB+= AMULEGUI="" -.else -CONFIGURE_ARGS+= --disable-amule-gui -PLIST_SUB+= AMULEGUI="@comment " -.endif +AMULEDAEMON_CONFIGURE_ON= --enable-amule-daemon +AMULEDAEMON_USE= RC_SUBR=amuled -.if ${PORT_OPTIONS:MCAS} -CONFIGURE_ARGS+= --enable-cas -LIB_DEPENDS+= libgd.so:${PORTSDIR}/graphics/gd -PLIST_SUB+= CAS="" -.else -CONFIGURE_ARGS+= --disable-cas -PLIST_SUB+= CAS="@comment " -.endif +AMULEGUI_CONFIGURE_ON= --enable-amule-gui -.if ${PORT_OPTIONS:MED2K} -CONFLICTS+= ed2k-hash* -CONFIGURE_ARGS+= --enable-ed2k -PLIST_SUB+= ED2K="" -.else -CONFIGURE_ARGS+= --disable-ed2k -PLIST_SUB+= ED2K="@comment " -.endif +CAS_CONFIGURE_ON= --enable-cas +CAS_LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd -.if ${PORT_OPTIONS:MFILEVIEW} -CONFIGURE_ARGS+= --enable-fileview -PLIST_SUB+= FILEVIEW="" -.else -CONFIGURE_ARGS+= --disable-fileview -PLIST_SUB+= FILEVIEW="@comment " -.endif +ED2K_CONFIGURE_OFF= --disable-ed2k -.if ${PORT_OPTIONS:MGEOIP} -CONFIGURE_ARGS+= --enable-geoip -LIB_DEPENDS+= libGeoIP.so:${PORTSDIR}/net/GeoIP -.else -CONFIGURE_ARGS+= --disable-geoip -.endif +FILEVIEW_CONFIGURE_ON= --enable-fileview -.if ${PORT_OPTIONS:MMMAP} -CONFIGURE_ARGS+= --enable-mmap -.else -CONFIGURE_ARGS+= --disable-mmap -.endif +GEOIP_CONFIGURE_ON= --enable-geoip +GEOIP_LIB_DEPENDS= libGeoIP.so:${PORTSDIR}/net/GeoIP -.if ${PORT_OPTIONS:MMONOLITHIC} -CONFIGURE_ARGS+= --enable-monolithic -PLIST_SUB+= MONOLITHIC="" -.else -CONFIGURE_ARGS+= --disable-monolithic -PLIST_SUB+= MONOLITHIC="@comment " -.endif +MMAP_CONFIGURE_ON= --enable-mmap -.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} -CONFIGURE_ARGS+= --enable-optimize -.endif +MONOLITHIC_CONFIGURE_OFF= --disable-monolithic -.if ${PORT_OPTIONS:MPLASMAMULE} -CONFIGURE_ENV+= ac_cv_path_KDE4_CONFIG=${KDE4_PREFIX}/bin/kde4-config \ +PLASMAMULE_CONFIGURE_ON= --enable-plasmamule +PLASMAMULE_USE= KDE4=kdelibs QT4=dbus,gui,moc_build +PLASMAMULE_CONFIGURE_ENV= \ + ac_cv_path_KDE4_CONFIG=${KDE4_PREFIX}/bin/kde4-config \ KBUILDSYCOCA=${KDE4_PREFIX}/bin/kbuildsycoca4 \ UPDATE_MIME_DATABASE=/usr/bin/true -CONFIGURE_ARGS+= --enable-plasmamule -USE_KDE4= kdelibs -USE_QT4= dbus gui moc_build -PLIST_SUB+= PLASMAMULE="" -.else -CONFIGURE_ARGS+= --disable-plasmamule -PLIST_SUB+= PLASMAMULE="@comment " -.endif +PLASMAMULE_PLIST_SUB+= RESETPREFIX=${PREFIX} + +UPNP_LIB_DEPENDS= libupnp.so:${PORTSDIR}/devel/upnp +UPNP_CONFIGURE_OFF= --disable-upnp + +WEBSERVER_CONFIGURE_ON= --enable-webserver + +WXCAS_CONFIGURE_ON= --enable-wxcas -.if ${PORT_OPTIONS:MUPNP} -LIB_DEPENDS+= libupnp.so:${PORTSDIR}/devel/upnp -.else -CONFIGURE_ARGS+= --disable-upnp +XAS_CONFIGURE_ON= --enable-xas +XAS_USE= PERL5+=run + +.include <bsd.port.options.mk> + +.if ${ARCH} == "i386" && ( ${OSVERSION} >= 1000024 || ${CXX:T} == "clang++" ) +CPPFLAGS+= -DCRYPTOPP_DISABLE_ASM .endif -.if ${PORT_OPTIONS:MWEBSERVER} -CONFIGURE_ARGS+= --enable-webserver -PLIST_SUB+= WEBSERVER="" -.else -CONFIGURE_ARGS+= --disable-webserver -PLIST_SUB+= WEBSERVER="@comment " +.if ${PORT_OPTIONS:MED2K} +CONFLICTS+= ed2k-hash* .endif -.if ${PORT_OPTIONS:MWXCAS} -CONFIGURE_ARGS+= --enable-wxcas -PLIST_SUB+= WXCAS="" -.else -CONFIGURE_ARGS+= --disable-wxcas -PLIST_SUB+= WXCAS="@comment " +.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} +CONFIGURE_ARGS+= --enable-optimize .endif .if ${PORT_OPTIONS:MWXUNICODE} WX_UNICODE= yes .endif -.if ${PORT_OPTIONS:MXAS} -USE_PERL5+= run -CONFIGURE_ARGS+= --enable-xas -PLIST_SUB+= XAS="" -.else -CONFIGURE_ARGS+= --disable-xas -PLIST_SUB+= XAS="@comment " -.endif - post-patch: .SILENT ${REINPLACE_CMD} -e '/LDFLAGS/s/-lpthread/${PTHREAD_LIBS}/' \ -e 's/test.*-print-file-name.*`/true/' \ -e '/if.*test/s/==/=/' \ ${WRKSRC}/configure -.if empty(PORT_OPTIONS:MDOCS) +.if ! ${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} 's/install-data-am:.*/install-data-am:/' \ ${WRKSRC}/docs/Makefile.in .endif diff --git a/net-p2p/amule-devel/distinfo b/net-p2p/amule-devel/distinfo index 811d71359ba7..18f45e905d0e 100644 --- a/net-p2p/amule-devel/distinfo +++ b/net-p2p/amule-devel/distinfo @@ -1,2 +1,2 @@ -SHA256 (aMule-SVN-r10832.tar.bz2) = efabe9c0cb2f1105583de3bca29bba4f7ec451ff730e0469542b4dd30fbe8ca9 -SIZE (aMule-SVN-r10832.tar.bz2) = 4637562 +SHA256 (aMule-SVN-r10834.tar.bz2) = dd9170e43a51d3f6dd581d6abb178cf1deca66210eab9799a8eb16fb0c03f09a +SIZE (aMule-SVN-r10834.tar.bz2) = 4636398 diff --git a/net-p2p/amule-devel/pkg-plist b/net-p2p/amule-devel/pkg-plist index 0271786acc94..ad2edeb38f83 100644 --- a/net-p2p/amule-devel/pkg-plist +++ b/net-p2p/amule-devel/pkg-plist @@ -11,7 +11,7 @@ %%PLASMAMULE%%share/mime/amule.xml %%PLASMAMULE%%@exec [ -f %%LOCALBASE%%/bin/update-mime-database ] && %%LOCALBASE%%/bin/update-mime-database %D/share/mime >/dev/null 2>&1 || true %%PLASMAMULE%%@unexec [ -f %%LOCALBASE%%/bin/update-mime-database ] && %%LOCALBASE%%/bin/update-mime-database %D/share/mime >/dev/null 2>&1 || true -%%PLASMAMULE%%@cwd +%%PLASMAMULE%%@cwd %%RESETPREFIX%% %%ALC%%bin/alc %%ALCC%%bin/alcc %%MONOLITHIC%%bin/amule @@ -252,37 +252,33 @@ %%MONOLITHIC%%share/pixmaps/amule.xpm %%AMULEGUI%%share/pixmaps/amulegui.xpm %%WXCAS%%share/pixmaps/wxcas.xpm -%%NLS%%@dirrmtry share/locale/ko_KR/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/ko_KR -%%NLS%%@dirrmtry share/locale/it_CH/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/it_CH -%%NLS%%@dirrmtry share/locale/et_EE/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/et_EE -%%NLS%%@dirrmtry share/locale/ast/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/ast -%%PORTDOCS%%@dirrmtry %%DOCSDIR%% -%%CAS%%@dirrmtry share/cas +%%XAS%%@dirrmtry lib/xchat/plugins +%%XAS%%@dirrmtry lib/xchat +@dirrmtry man/de/man1 +@dirrmtry man/de +@dirrmtry man/es/man1 +@dirrmtry man/es +@dirrmtry man/fr/man1 +@dirrmtry man/fr +@dirrmtry man/hu/man1 +@dirrmtry man/hu +@dirrmtry man/it/man1 +@dirrmtry man/it +@dirrmtry man/ru/man1 +@dirrmtry man/ru +@dirrmtry man/tr/man1 +@dirrmtry man/tr +@dirrmtry man/zh_TW/man1 +@dirrmtry man/zh_TW +@dirrmtry %%DATADIR%%/skins %%WEBSERVER%%@dirrmtry %%DATADIR%%/webserver/default %%WEBSERVER%%@dirrmtry %%DATADIR%%/webserver -@dirrmtry %%DATADIR%%/skins @dirrmtry %%DATADIR%% -@dirrmtry man/zh_TW/man1 -@dirrmtry man/zh_TW -@dirrmtry man/tr/man1 -@dirrmtry man/tr -@dirrmtry man/ru/man1 -@dirrmtry man/ru -@dirrmtry man/it/man1 -@dirrmtry man/it -@dirrmtry man/hu/man1 -@dirrmtry man/hu -@dirrmtry man/fr/man1 -@dirrmtry man/fr -@dirrmtry man/es/man1 -@dirrmtry man/es -@dirrmtry man/de/man1 -@dirrmtry man/de -%%XAS%%@dirrmtry lib/xchat/plugins -%%XAS%%@dirrmtry lib/xchat -@exec [ -f %%LOCALBASE%%/bin/update-desktop-database ] && %%LOCALBASE%%/bin/update-desktop-database %D/share/applications 2>/dev/null || true -@unexec [ -f %%LOCALBASE%%/bin/update-desktop-database ] && %%LOCALBASE%%/bin/update-desktop-database %D/share/applications 2>/dev/null || true +%%CAS%%@dirrmtry share/cas +%%NLS%%@dirrmtry share/locale/et_EE/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/et_EE +%%NLS%%@dirrmtry share/locale/it_CH/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/it_CH +%%NLS%%@dirrmtry share/locale/ko_KR/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/ko_KR +%%PORTDOCS%%@dirrmtry %%DOCSDIR%% |