mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-28 10:08:24 +00:00
net-p2p/amule-devel: remove optional dependency on expired KDE4
This commit is contained in:
parent
c46bc92224
commit
84c1e2fa86
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=488780
@ -36,7 +36,7 @@ CXXFLAGS+= `pkgconf --cflags-only-other libcryptopp`
|
||||
LDFLAGS+= -lpthread -L${LOCALBASE}/lib
|
||||
|
||||
OPTIONS_DEFINE= ALC ALCC AMULECMD AMULEDAEMON AMULEGUI CAS DEBUG DOCS ED2K \
|
||||
FILEVIEW GEOIP MMAP MONOLITHIC NLS OPTIMIZED_CFLAGS PLASMAMULE UPNP \
|
||||
FILEVIEW GEOIP MMAP MONOLITHIC NLS OPTIMIZED_CFLAGS UPNP \
|
||||
WEBSERVER WXCAS XAS
|
||||
ALC_DESC= Compile aMule Link Creator for GUI
|
||||
ALCC_DESC= Compile aMule Link Creator for console
|
||||
@ -48,7 +48,6 @@ ED2K_DESC= Compile aMule ed2k links handler
|
||||
FILEVIEW_DESC= Compile file viewer for console
|
||||
MMAP_DESC= Use mapped memory
|
||||
MONOLITHIC_DESC= Compile monolithic aMule
|
||||
PLASMAMULE_DESC= Compile aMule plasma applet and engine
|
||||
WXCAS_DESC= Compile aMule Statistics for GUI
|
||||
XAS_DESC= Install XChat2 plugin
|
||||
OPTIONS_DEFAULT=ALC ALCC AMULECMD AMULEDAEMON AMULEGUI CAS ED2K \
|
||||
@ -90,14 +89,6 @@ MMAP_CONFIGURE_ON= --enable-mmap
|
||||
|
||||
MONOLITHIC_CONFIGURE_OFF= --disable-monolithic
|
||||
|
||||
PLASMAMULE_CONFIGURE_ON= --enable-plasmamule
|
||||
PLASMAMULE_USES= kde:4 qt:4
|
||||
PLASMAMULE_USE= KDE=kdelibs QT=dbus,gui,moc_build
|
||||
PLASMAMULE_CONFIGURE_ENV= \
|
||||
ac_cv_path_KDE4_CONFIG=${KDE_PREFIX}/bin/kde4-config \
|
||||
KBUILDSYCOCA=${KDE_PREFIX}/bin/kbuildsycoca4 \
|
||||
UPDATE_MIME_DATABASE=/usr/bin/true
|
||||
|
||||
UPNP_LIB_DEPENDS= libupnp.so:devel/upnp
|
||||
UPNP_CONFIGURE_OFF= --disable-upnp
|
||||
|
||||
@ -111,11 +102,6 @@ XAS_USE= PERL5+=run
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MPLASMAMULE}
|
||||
DEPRECATED= Qt4 has been EOL since december 2015
|
||||
EXPIRATION_DATE= 2018-12-31
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MED2K}
|
||||
CONFLICTS+= ed2k-hash*
|
||||
.endif
|
||||
@ -132,11 +118,6 @@ post-patch: .SILENT
|
||||
${REINPLACE_CMD} 's/install-data-am:.*/install-data-am:/' \
|
||||
${WRKSRC}/docs/Makefile.in
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MPLASMAMULE}
|
||||
${REINPLACE_CMD} -e 's|@prefix@|${KDE_PREFIX}|' \
|
||||
-e 's|LDFLAGS =|& -L${KDE_PREFIX}/lib |' \
|
||||
${WRKSRC}/src/utils/plasmamule/Makefile.in
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MFILEVIEW}
|
||||
|
@ -1,17 +1,3 @@
|
||||
%%PLASMAMULE%%@cwd %%KDE_PREFIX%%
|
||||
%%PLASMAMULE%%bin/plasmamule-engine-feeder
|
||||
%%PLASMAMULE%%lib/kde4/plasma-applet-plasmamule.so
|
||||
%%PLASMAMULE%%lib/kde4/plasma-engine-plasmamule.so
|
||||
%%PLASMAMULE%%share/applications/plasmamule-engine-feeder.desktop
|
||||
%%PLASMAMULE%%share/icons/hicolor/scalable/mimetypes/application-x-emulecollection.svg
|
||||
%%PLASMAMULE%%share/kde4/services/ed2k.protocol
|
||||
%%PLASMAMULE%%share/kde4/services/magnet.protocol
|
||||
%%PLASMAMULE%%share/kde4/services/plasma-applet-plasmamule.desktop
|
||||
%%PLASMAMULE%%share/kde4/services/plasma-engine-plasmamule.desktop
|
||||
%%PLASMAMULE%%share/mime/amule.xml
|
||||
%%PLASMAMULE%%@postexec [ -f %%LOCALBASE%%/bin/update-mime-database ] && %%LOCALBASE%%/bin/update-mime-database %D/share/mime >/dev/null 2>&1 || true
|
||||
%%PLASMAMULE%%@postunexec [ -f %%LOCALBASE%%/bin/update-mime-database ] && %%LOCALBASE%%/bin/update-mime-database %D/share/mime >/dev/null 2>&1 || true
|
||||
%%PLASMAMULE%%@cwd %%RESETPREFIX%%
|
||||
%%ALC%%bin/alc
|
||||
%%ALCC%%bin/alcc
|
||||
%%MONOLITHIC%%bin/amule
|
||||
|
Loading…
Reference in New Issue
Block a user