Edit

IABSD.fr/ports/x11/afterstep/Makefile

Branch :

  • Show log

    Commit

  • Author : sthen
    Date : 2024-10-29 09:46:25
    Hash : 091f1156
    Message : more rsvg bumps due to WANTLIB/PLIST_DB; not run into them in the bulk yet but I will

  • x11/afterstep/Makefile
  • COMMENT=	window manager, continuation of the Bowman NeXTSTEP clone
    
    V=		2.2.12
    REVISION=	9
    DISTNAME=	AfterStep-${V}
    PKGNAME=	${DISTNAME:L}
    CATEGORIES=     x11
    SITES=		ftp://ftp.afterstep.org/stable/
    
    WRKDIST=	${WRKDIR}/afterstep-devel-${V}
    
    HOMEPAGE=	http://www.afterstep.org/
    
    # MIT
    PERMIT_PACKAGE=	Yes
    
    WANTLIB =  ICE SM X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
    WANTLIB += Xrandr Xrender atk-1.0 c cairo curses dbus-1 execinfo
    WANTLIB += fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0
    WANTLIB += glib-2.0 gobject-2.0 gtk-x11-2.0 harfbuzz intl jpeg m
    WANTLIB += pango-1.0 pangocairo-1.0 pangoft2-1.0 png readline rsvg-2
    WANTLIB += tiff z
    
    RUN_DEPENDS=	devel/desktop-file-utils \
    		shells/bash \
    		x11/asclock,classic,english \
    		x11/rxvt-unicode \
    		x11/xloadimage
    
    LIB_DEPENDS=	x11/dbus \
    		x11/gnome/librsvg \
    		x11/gtk+2
    
    CPPFLAGS=	-I${LOCALBASE}/include
    CFLAGS +=	${CPPFLAGS}
    
    NO_TEST=	Yes
    USE_GMAKE=	Yes
    
    CONFIGURE_STYLE= gnu
    CONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib" \
    		CPPFLAGS="${CPPFLAGS}"
    
    CONFIGURE_ARGS=	--with-imageloader="xloadimage -onroot -quiet -colors 20" \
    		--with-helpcommand="urxvt -e man" \
    		--without-gnome-session \
    		--enable-i18n \
    		--enable-different-looknfeels \
    		--disable-send-postcard-to-developer
    
    pre-configure:
    	${SUBST_CMD} ${WRKSRC}/configure \
    		${WRKSRC}/libAfter{Base,Image}/configure \
    		${WRKSRC}/libAfterConf/Makefile.in
    	perl -pi -e 's,/bin/bash,${LOCALBASE}/bin/bash,' \
    		${WRKSRC}/tools/importasmenu
    
    pre-install:
    	${INSTALL_DATA_DIR} \
    		${PREFIX}/share/applications \
    		${PREFIX}/share/gnome/wm-properties \
    		${PREFIX}/share/gnome-session/sessions
    
    post-install:
    	${INSTALL_DATA} ${FILESDIR}/monitor_bsd.xpm \
    		${PREFIX}/share/afterstep/desktop/icons/
    	rmdir ${PREFIX}/share/afterstep_old/
    
    .include <bsd.port.mk>