diff --git a/sysutils/gsmartcontrol/Makefile b/sysutils/gsmartcontrol/Makefile index 43cfd83b3a6c..c0cc5fa2dcb0 100644 --- a/sysutils/gsmartcontrol/Makefile +++ b/sysutils/gsmartcontrol/Makefile @@ -1,47 +1,48 @@ PORTNAME= gsmartcontrol PORTVERSION= 1.1.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Graphical user interface for smartmontools WWW= https://gsmartcontrol.sourceforge.io LICENSE= BSD3CLAUSE BSL GPLv2 GPLv3 PD ZLIB LICENSE_COMB= multi LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/LICENSE_bsd-ac.txt LICENSE_FILE_BSL= ${WRKSRC}/LICENSE_boost_1_0.txt LICENSE_FILE_GPLv2= ${WRKSRC}/LICENSE_gpl2.txt LICENSE_FILE_GPLv3= ${WRKSRC}/LICENSE_gpl3.txt LICENSE_FILE_PD= ${WRKSRC}/LICENSE_unlicense.txt LICENSE_FILE_ZLIB= ${WRKSRC}/LICENSE_zlib.txt LIB_DEPENDS= libpcre.so:devel/pcre RUN_DEPENDS= bash:shells/bash \ pkexec:sysutils/polkit \ smartctl:sysutils/smartmontools \ xterm:x11/xterm USES= compiler:c++11-lang gnome libtool pkgconfig tar:bzip2 USE_CXXSTD= c++11 USE_GNOME= atkmm cairo glibmm gtk30 gtkmm30 libsigc++20 pangomm GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --disable-libglade OPTIONS_DEFINE= DOCS post-patch: # Avoid conflict with C++20 by ignoring <...> under WRKSRC @${REINPLACE_CMD} -i .c++20 '/ADDITIONAL_INCLUDES/s/-I/-iquote/g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -i .c++20 's/-I/-iquote/g' \ ${WRKSRC}/src/Makefile.in \ ${WRKSRC}/src/*/Makefile.in @${REINPLACE_CMD} -i .c++20 '/config\.h/y/<>/""/' \ ${WRKSRC}/src/global_macros.h @${REINPLACE_CMD} -i '' 's|%%PREFIX%%|${PREFIX}|g' \ ${WRKSRC}/data/org.gsmartcontrol.policy .include diff --git a/sysutils/gsmartcontrol/pkg-plist b/sysutils/gsmartcontrol/pkg-plist index 0b9787b1ef14..bd9eaca01a66 100644 --- a/sysutils/gsmartcontrol/pkg-plist +++ b/sysutils/gsmartcontrol/pkg-plist @@ -1,28 +1,28 @@ bin/gsmartcontrol-root -man/man1/gsmartcontrol-root.1.gz -man/man1/gsmartcontrol.1.gz +share/man/man1/gsmartcontrol-root.1.gz +share/man/man1/gsmartcontrol.1.gz sbin/gsmartcontrol share/applications/gsmartcontrol.desktop %%PORTDOCS%%%%DOCSDIR%%/AUTHORS.txt %%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%%%DOCSDIR%%/LICENSE_gsmartcontrol.txt %%PORTDOCS%%%%DOCSDIR%%/NEWS %%PORTDOCS%%%%DOCSDIR%%/README.txt %%PORTDOCS%%%%DOCSDIR%%/contrib/cron-based_noadmin/README %%PORTDOCS%%%%DOCSDIR%%/contrib/cron-based_noadmin/cron_gather_smart.sh %%PORTDOCS%%%%DOCSDIR%%/contrib/cron-based_noadmin/crontab.example %%PORTDOCS%%%%DOCSDIR%%/contrib/cron-based_noadmin/smartctl_subst.sh %%DATADIR%%/icon_cddvd.png %%DATADIR%%/icon_hdd.png share/icons/hicolor/128x128/apps/gsmartcontrol.png share/icons/hicolor/16x16/apps/gsmartcontrol.png share/icons/hicolor/22x22/apps/gsmartcontrol.png share/icons/hicolor/24x24/apps/gsmartcontrol.png share/icons/hicolor/256x256/apps/gsmartcontrol.png share/icons/hicolor/32x32/apps/gsmartcontrol.png share/icons/hicolor/48x48/apps/gsmartcontrol.png share/icons/hicolor/64x64/apps/gsmartcontrol.png share/metainfo/gsmartcontrol.appdata.xml share/pixmaps/gsmartcontrol.png share/pixmaps/gsmartcontrol.xpm share/polkit-1/actions/org.gsmartcontrol.policy