b7f05445c0
It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)
87 lines
2.3 KiB
Makefile
87 lines
2.3 KiB
Makefile
PORTNAME= thunar
|
|
DISTVERSION= 4.16.11
|
|
CATEGORIES= x11-fm xfce
|
|
MASTER_SITES= XFCE
|
|
DIST_SUBDIR= xfce4
|
|
|
|
MAINTAINER= xfce@FreeBSD.org
|
|
COMMENT= Xfce file manager
|
|
WWW= https://docs.xfce.org/xfce/thunar/Start
|
|
|
|
LICENSE= GPLv2 LGPL20
|
|
LICENSE_COMB= multi
|
|
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING
|
|
LICENSE_FILE_LGPL20= ${WRKSRC}/COPYING.LIB
|
|
|
|
LIB_DEPENDS= libtumbler-1.so:deskutils/xfce4-tumbler \
|
|
libharfbuzz.so:print/harfbuzz
|
|
RUN_DEPENDS= pkexec:sysutils/polkit
|
|
|
|
USES= compiler:c11 cpe desktop-file-utils gettext-tools gmake gnome \
|
|
libtool pathfix perl5 pkgconfig tar:bzip2 xfce xorg
|
|
USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 intltool
|
|
USE_LDCONFIG= yes
|
|
USE_XFCE= libexo xfconf
|
|
USE_XORG= ice sm x11
|
|
|
|
CPE_VENDOR= xfce
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-gio-unix \
|
|
--disable-gudev
|
|
INSTALL_TARGET= install-strip
|
|
|
|
PORTSCOUT= limitw:1,even
|
|
|
|
OPTIONS_DEFINE= GIR NLS NOTIFY
|
|
OPTIONS_GROUP= PLUGINS
|
|
OPTIONS_GROUP_PLUGINS= PLUG_APR PLUG_SBR PLUG_TPA PLUG_UCA PLUG_WALL
|
|
OPTIONS_DEFAULT= NOTIFY PLUG_APR PLUG_SBR PLUG_TPA PLUG_UCA PLUG_WALL
|
|
OPTIONS_SUB= yes
|
|
|
|
# Override NOTIFY_DESC
|
|
GIR_DESC= Use Gobject Introspection
|
|
NOTIFY_DESC= Display notifications
|
|
PLUG_APR_DESC= Advanced Properties plugin
|
|
PLUG_SBR_DESC= Simple Builtin Renamers plugin
|
|
PLUG_TPA_DESC= Trash Panel Applet plugin
|
|
PLUG_UCA_DESC= User Customizable Actions plugin
|
|
PLUG_WALL_DESC= Wallpaper plugin
|
|
|
|
GIR_USE= gnome=introspection:build
|
|
GIR_CONFIGURE_ON= --enable-introspection=yes
|
|
GIR_CONFIGURE_OFF= --enable-introspection=no
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
NLS_USES= gettext-runtime
|
|
|
|
NOTIFY_CONFIGURE_ENABLE= notifications
|
|
NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify
|
|
|
|
PLUG_APR_CONFIGURE_ENABLE= apr-plugin exif
|
|
PLUG_APR_LIB_DEPENDS= libexif.so:graphics/libexif
|
|
|
|
PLUG_SBR_CONFIGURE_ENABLE= sbr-plugin pcre
|
|
PLUG_SBR_LIB_DEPENDS= libpcre.so:devel/pcre
|
|
|
|
PLUG_TPA_CONFIGURE_ENABLE= tpa-plugin
|
|
PLUG_TPA_USE= gnome=gvfs xfce=panel
|
|
|
|
PLUG_UCA_CONFIGURE_ENABLE= uca-plugin
|
|
PLUG_WALL_CONFIGURE_ENABLE= wallpaper-plugin
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|mail-send|emblem-mail|' \
|
|
${WRKSRC}/plugins/thunar-sendto-email/thunar-sendto-email.desktop.in.in
|
|
|
|
post-install:
|
|
${RM} ${STAGEDIR}${PREFIX}/lib/systemd/user/thunar.service
|
|
(cd ${STAGEDIR}${PREFIX}/lib && ${RMDIR} -p systemd/user)
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_DEBUG)
|
|
CONFIGURE_ARGS+= --enable-debug
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|