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
|
2000-02-17 06:54:15 +01:00
|
|
|
CATEGORIES= x11-wm afterstep
|
2013-07-08 01:01:43 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_AFTERSTEP}
|
|
|
|
MASTER_SITE_SUBDIR= 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
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A stable version of the AfterStep window manager
|
1996-07-23 09:36:32 +02:00
|
|
|
|
2013-07-08 01:01:43 +02:00
|
|
|
LIB_DEPENDS= dbus-1:${PORTSDIR}/devel/dbus \
|
|
|
|
execinfo:${PORTSDIR}/devel/libexecinfo \
|
|
|
|
fontconfig:${PORTSDIR}/x11-fonts/fontconfig \
|
|
|
|
freetype:${PORTSDIR}/print/freetype2 \
|
|
|
|
gif:${PORTSDIR}/graphics/giflib \
|
|
|
|
jpeg:${PORTSDIR}/graphics/jpeg \
|
2012-06-01 07:26:28 +02:00
|
|
|
png15:${PORTSDIR}/graphics/png \
|
2013-07-08 01:01:43 +02:00
|
|
|
tiff:${PORTSDIR}/graphics/tiff
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
RUN_DEPENDS= xli:${PORTSDIR}/graphics/xli
|
1996-07-23 09:36:32 +02:00
|
|
|
|
2000-02-17 06:54:15 +01:00
|
|
|
USE_BZIP2= yes
|
2013-09-09 20:54:28 +02:00
|
|
|
USES= gmake pkgconfig
|
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
|
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
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-devel-${PORTVERSION}
|
2004-10-13 12:20:10 +02:00
|
|
|
|
|
|
|
MAN1= ASDatabase.1x ASDatabaseEntry.1x AfterStep.1x Align.1x \
|
2008-03-29 18:48:50 +01:00
|
|
|
Animate.1x AnimateTypes.1x Arrange.1x AutoExec.1x \
|
|
|
|
BalloonContents.1x Base.1x Bevel.1x ColorScheme.1x \
|
2007-07-12 17:52:55 +02:00
|
|
|
Feel.1x FeelWindowBox.1x Functions.1x Gravity.1x Look.1x \
|
2004-12-18 09:18:10 +01:00
|
|
|
MyBackground.1x MyFrame.1x MyStyle.1x Pager.1x \
|
2008-03-29 18:48:50 +01:00
|
|
|
PagerDecorations.1x Placement.1x Sound.1x SoundEvents.1x \
|
|
|
|
SupportedHints.1x TbarLayout.1x Wharf.1x WharfFolders.1x \
|
|
|
|
WharfSounds.1x WinCommand.1x WinList.1x WinTabs.1x \
|
|
|
|
afterstep_faq.1x asimagexml.1x
|
2000-02-17 06:54:15 +01: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
|
|
|
|
|
2013-09-21 02:01:16 +02:00
|
|
|
NO_STAGE= yes
|
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
|
2013-07-08 01:01:43 +02:00
|
|
|
.for f in configure libAfterBase/configure libAfterConf/Makefile.in libAfterImage/configure
|
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
|
|
|
|
|
2005-03-26 22:33:30 +01:00
|
|
|
.include <bsd.port.post.mk>
|