aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2021-04-12 19:36:03 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2021-04-13 16:18:05 +0000
commitdf78603da1d3bd1b518bc3199c27d5e67e7b76ab (patch)
treeebb3b2f7e00f6aa4ef17c22614fe71d2ecfad93c
parentfa1ac95098ea149545a3ecba19ff0e7b821cf865 (diff)
downloadports-df78603da1d3bd1b518bc3199c27d5e67e7b76ab.tar.gz
ports-df78603da1d3bd1b518bc3199c27d5e67e7b76ab.zip
x11-wm/compiz-plugins-extra: minor fixes
- Switch to USES=localbase - Optionize NLS - Add WWW Approved by: portmgr blanket
-rw-r--r--x11-wm/compiz-plugins-extra/Makefile8
-rw-r--r--x11-wm/compiz-plugins-extra/pkg-descr2
2 files changed, 7 insertions, 3 deletions
diff --git a/x11-wm/compiz-plugins-extra/Makefile b/x11-wm/compiz-plugins-extra/Makefile
index 24c51fa2cc41..0c75814a112a 100644
--- a/x11-wm/compiz-plugins-extra/Makefile
+++ b/x11-wm/compiz-plugins-extra/Makefile
@@ -22,7 +22,7 @@ BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/compiz.pc:x11-wm/compiz \
${LOCALBASE}/libdata/pkgconfig/compiz-text.pc:x11-wm/compiz-plugins-main
RUN_DEPENDS:= ${BUILD_DEPENDS}
-USES= gettext-runtime gettext-tools gmake gl gnome libtool:keepla \
+USES= gettext-tools gmake gl gnome libtool:keepla localbase:ldflags \
pathfix pkgconfig tar:bzip2 xorg
USE_GL= glu
USE_CSTD= gnu89
@@ -30,8 +30,6 @@ USE_GNOME= gconf2 gdkpixbuf2 intltool libxslt
USE_XORG= ice sm x11 xcomposite xdamage xext xfixes xinerama xorgproto xrandr xrender
USE_LDCONFIG= yes
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --enable-schemas
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
@@ -63,6 +61,10 @@ GCONF_SCHEMAS= compiz-3d.schemas \
compiz-wallpaper.schemas \
compiz-widget.schemas
+OPTIONS_DEFINE= NLS
+NLS_USES= gettext-runtime
+NLS_CONFIGURE_ENABLE= nls
+
post-patch:
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' \
${WRKSRC}/src/group/group-internal.h \
diff --git a/x11-wm/compiz-plugins-extra/pkg-descr b/x11-wm/compiz-plugins-extra/pkg-descr
index a9668971ae30..2f7fab15a38e 100644
--- a/x11-wm/compiz-plugins-extra/pkg-descr
+++ b/x11-wm/compiz-plugins-extra/pkg-descr
@@ -1 +1,3 @@
This is the extra set of plugins for Compiz fusion.
+
+WWW: https://gitlab.com/compiz/compiz-plugins-extra