aboutsummaryrefslogtreecommitdiff
path: root/deskutils/sysctlview/Makefile
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2019-04-15 16:20:22 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2019-04-15 16:20:22 +0000
commit345816483c960eab2cd3e9bf681d1d1e01ed5bc4 (patch)
tree27b8cdb642d08853c2fcc102ba9d82493454801e /deskutils/sysctlview/Makefile
parent86c3f76bc236cc0d1099b48c3b603fa184a5a846 (diff)
downloadports-345816483c960eab2cd3e9bf681d1d1e01ed5bc4.tar.gz
ports-345816483c960eab2cd3e9bf681d1d1e01ed5bc4.zip
Notes
Diffstat (limited to 'deskutils/sysctlview/Makefile')
-rw-r--r--deskutils/sysctlview/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/deskutils/sysctlview/Makefile b/deskutils/sysctlview/Makefile
index 9a0555742d0b..aa568852a63f 100644
--- a/deskutils/sysctlview/Makefile
+++ b/deskutils/sysctlview/Makefile
@@ -2,6 +2,7 @@
PORTNAME= sysctlview
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= deskutils
MAINTAINER= alfix86@gmail.com
@@ -12,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libsysctlmibinfo.so:devel/libsysctlmibinfo
-USES= pkgconfig gettext-runtime gnome
+USES= compiler:c++11-lang pkgconfig gettext-runtime gnome
USE_GNOME= gtkmm30 atkmm glibmm pangomm glibmm gtk30 pango atk \
cairo glib20 cairomm libsigc++20 gdkpixbuf2 glib20
@@ -31,6 +32,9 @@ OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
+post-patch:
+ @${REINPLACE_CMD} '/CXX =/d; s/^CXXFLAGS =/CXXFLAGS +=/; s/^LDFLAGS =/LDFLAGS +=/' ${WRKSRC}/Makefile
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sysctlview ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/sysctlview.1 ${STAGEDIR}${MAN1PREFIX}/man/man1