mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
fc0d927e6b
While here, pet portlint and do some other cleanup. Approved by: portmgr (tier-2 blanket)
41 lines
958 B
Makefile
41 lines
958 B
Makefile
# Created by: UMENO Takashi
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gcompmgr
|
|
PORTVERSION= 0.21
|
|
PORTREVISION= 10
|
|
CATEGORIES= x11-wm
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= GNOME interface to xcompmgr
|
|
|
|
BROKEN_powerpc64= fails to compile: params.cc:135:37: 'memset' was not declared in this scope
|
|
|
|
RUN_DEPENDS= xcompmgr:x11-wm/xcompmgr
|
|
|
|
GNU_CONFIGURE= yes
|
|
LIBS+= -L${LOCALBASE}/lib -lX11
|
|
USES= compiler:c++11-lang autoreconf libtool pkgconfig
|
|
USE_CXXSTD= c++11
|
|
USE_GNOME= gtkmm24
|
|
USE_XORG= x11
|
|
|
|
DESKTOP_ENTRIES="gcompmgr" \
|
|
"Configure window effects" \
|
|
"" \
|
|
"gcompmgr" \
|
|
"DesktopSettings;Settings;GTK;" \
|
|
true
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${RM} ${WRKSRC}/INSTALL
|
|
@${REINPLACE_CMD} -e '/^CXXFLAGS=""/d' ${WRKSRC}/configure.in
|
|
@${REINPLACE_CMD} -e 's|connect(SigC::slot|connect(sigc::mem_fun|g ; \
|
|
s|#include <sigc++\/compatibility\.h>||g' \
|
|
${WRKSRC}/src/*.cc
|
|
|
|
.include <bsd.port.mk>
|