2013-07-08 01:01:43 +02:00
|
|
|
# Created by: Brett Taylor <brett@peloton.physics.montana.edu>
|
1999-08-31 05:04:38 +02:00
|
|
|
# $FreeBSD$
|
1996-07-23 09:36:32 +02:00
|
|
|
|
2000-04-10 21:50:46 +02:00
|
|
|
PORTNAME= afterstep
|
2013-07-08 01:01:43 +02:00
|
|
|
PORTVERSION= 2.2.12
|
2017-02-01 21:20:51 +01:00
|
|
|
PORTREVISION= 5
|
2000-02-17 06:54:15 +01:00
|
|
|
CATEGORIES= x11-wm afterstep
|
2015-05-14 12:15:04 +02:00
|
|
|
MASTER_SITES= AFTERSTEP/stable
|
2000-04-10 21:50:46 +02:00
|
|
|
DISTNAME= AfterStep-${PORTVERSION}
|
1996-07-23 09:36:32 +02:00
|
|
|
|
2004-11-09 18:15:35 +01:00
|
|
|
MAINTAINER= glewis@FreeBSD.org
|
2014-08-08 10:42:44 +02:00
|
|
|
COMMENT= Stable version of the AfterStep window manager
|
1996-07-23 09:36:32 +02:00
|
|
|
|
2016-04-01 16:33:55 +02:00
|
|
|
LIB_DEPENDS= libdbus-1.so:devel/dbus \
|
|
|
|
libfontconfig.so:x11-fonts/fontconfig \
|
|
|
|
libfreetype.so:print/freetype2 \
|
|
|
|
libgif.so:graphics/giflib \
|
|
|
|
libpng.so:graphics/png \
|
|
|
|
libtiff.so:graphics/tiff
|
|
|
|
RUN_DEPENDS= xli:graphics/xli
|
1996-07-23 09:36:32 +02:00
|
|
|
|
2017-09-22 12:48:28 +02:00
|
|
|
USES= gmake jpeg pkgconfig shebangfix tar:bzip2
|
2017-02-05 04:30:43 +01:00
|
|
|
USE_CSTD= gnu89
|
2013-07-08 01:01:43 +02:00
|
|
|
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 librsvg2 pango
|
|
|
|
USE_XORG+= ice sm x11 xcomposite xcursor xdamage xext xfixes xi xinerama \
|
|
|
|
xrandr xrender
|
1998-12-23 02:41:23 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2014-05-18 15:21:12 +02:00
|
|
|
SHEBANG_FILES= tools/ascommand.pl \
|
|
|
|
tools/importasmenu
|
2012-02-25 19:10:47 +01:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2007-02-05 21:49:22 +01:00
|
|
|
CONFIGURE_ARGS+=--disable-ascp \
|
2009-08-23 22:57:57 +02:00
|
|
|
--enable-i18n \
|
2004-10-13 12:20:10 +02:00
|
|
|
--disable-send-postcard-to-developer \
|
2007-02-05 21:49:22 +01:00
|
|
|
--with-helpcommand="xterm -e man" \
|
2013-07-08 01:01:43 +02:00
|
|
|
--x-includes="${LOCALBASE}/include" \
|
2000-02-17 06:54:15 +01:00
|
|
|
--with-jpeg-includes="${LOCALBASE}/include" \
|
2007-02-05 21:49:22 +01:00
|
|
|
--with-png-includes="${LOCALBASE}/include" \
|
2013-07-08 01:01:43 +02:00
|
|
|
--with-gif
|
2014-05-18 15:21:12 +02:00
|
|
|
MAKE_ENV+= HOME=-
|
2013-07-08 01:01:43 +02:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-devel-${PORTVERSION}
|
2004-10-13 12:20:10 +02:00
|
|
|
|
2000-04-17 02:19:02 +02:00
|
|
|
.if defined(WITH_DIFFERENT_LOOKNFEELS)
|
2000-02-17 06:54:15 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-different-looknfeels
|
|
|
|
.endif
|
|
|
|
|
2000-04-17 02:19:02 +02:00
|
|
|
.if !defined(WITH_SAVEWINDOWS)
|
2000-02-17 06:54:15 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-savewindows
|
|
|
|
.endif
|
|
|
|
|
2009-09-06 08:41:59 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2009-08-23 22:57:57 +02:00
|
|
|
.if exists(${PREFIX}/share/gnome/wm-properties)
|
|
|
|
PLIST_SUB+= GNOME=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= GNOME="@comment "
|
|
|
|
.endif
|
|
|
|
|
2004-10-13 12:20:10 +02:00
|
|
|
post-extract:
|
|
|
|
${CP} ${FILESDIR}/monitor_bsd.xpm \
|
|
|
|
${WRKSRC}/afterstep/desktop/icons/xml/monitor-bsd.xpm
|
2000-02-17 06:54:15 +01:00
|
|
|
|
2001-09-02 15:36:49 +02:00
|
|
|
post-patch:
|
2013-07-08 01:01:43 +02:00
|
|
|
.for f in afterstep/database
|
2006-08-01 20:27:53 +02:00
|
|
|
@${REINPLACE_CMD} -e 's,linux-penguin,monitor-bsd,' \
|
2013-07-08 01:01:43 +02:00
|
|
|
${WRKSRC}/${f}
|
2004-10-13 12:20:10 +02:00
|
|
|
.endfor
|
2013-07-08 01:01:43 +02:00
|
|
|
.for f in libAfterBase/Makefile.in libAfterImage/Makefile.in
|
2006-08-01 20:27:53 +02:00
|
|
|
@${REINPLACE_CMD} -e 's,^install\.,noinstall.,g ; \
|
2013-07-08 01:01:43 +02:00
|
|
|
s,^install:,install:#,g' ${WRKSRC}/${f}
|
2004-10-13 12:20:10 +02:00
|
|
|
.endfor
|
2013-07-08 01:01:43 +02:00
|
|
|
.for f in libAfterBase/configure libAfterImage/configure
|
2006-08-01 20:27:53 +02:00
|
|
|
@${REINPLACE_CMD} -e 's,="-O3",="$$CFLAGS",g' \
|
2013-07-08 01:01:43 +02:00
|
|
|
${WRKSRC}/${f}
|
2002-04-17 09:37:59 +02:00
|
|
|
.endfor
|
2013-07-08 01:01:43 +02:00
|
|
|
.for f in libAfterStep/afterstep-config.in
|
2006-08-01 20:27:53 +02:00
|
|
|
@${REINPLACE_CMD} -e 's,ft_version,libafterstep_version,g' \
|
2013-07-08 01:01:43 +02:00
|
|
|
${WRKSRC}/${f}
|
2004-12-05 19:50:46 +01:00
|
|
|
.endfor
|
2014-05-18 15:21:12 +02:00
|
|
|
.for f in configure libAfterBase/configure libAfterConf/Makefile.in libAfterImage/configure tools/makeastheme.pl.in tools/installastheme.pl.in
|
2006-08-01 20:27:53 +02:00
|
|
|
@${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' \
|
2013-07-08 01:01:43 +02:00
|
|
|
${WRKSRC}/${f}
|
2006-08-01 20:27:53 +02:00
|
|
|
.endfor
|
|
|
|
|
2014-05-25 00:34:30 +02:00
|
|
|
.if exists(${PREFIX}/share/gnome/wm-properties)
|
|
|
|
pre-install:
|
|
|
|
${MKDIR} ${STAGEDIR}/${PREFIX}/share/gnome/wm-properties
|
|
|
|
.endif
|
|
|
|
|
2005-03-26 22:33:30 +01:00
|
|
|
.include <bsd.port.post.mk>
|