1999-01-17 04:03:44 +01:00
|
|
|
# New ports collection makefile for: afterstep-stable
|
1998-05-18 05:24:46 +02:00
|
|
|
# Date created: 1 May 1998
|
2005-12-26 14:39:44 +01:00
|
|
|
# Whom: Brett Taylor <brett@peloton.physics.montana.edu>
|
1996-08-07 04:29:48 +02:00
|
|
|
#
|
1999-08-31 05:04:38 +02:00
|
|
|
# $FreeBSD$
|
1996-08-07 04:29:48 +02:00
|
|
|
#
|
1996-07-23 09:36:32 +02:00
|
|
|
|
2000-04-10 21:50:46 +02:00
|
|
|
PORTNAME= afterstep
|
2011-04-18 07:30:24 +02:00
|
|
|
PORTVERSION= 2.2.11
|
2000-02-17 06:54:15 +01:00
|
|
|
CATEGORIES= x11-wm afterstep
|
2005-05-04 22:40:34 +02:00
|
|
|
MASTER_SITES= ftp://ftp.afterstep.org/stable/ \
|
2009-09-06 08:41:59 +02:00
|
|
|
SF/${PORTNAME}/AfterStep/${PORTVERSION}
|
2009-08-22 02:39:37 +02:00
|
|
|
|
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
|
|
|
|
2007-10-29 05:36:04 +01:00
|
|
|
LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo \
|
|
|
|
execinfo.1:${PORTSDIR}/devel/libexecinfo \
|
2007-02-05 21:49:22 +01:00
|
|
|
freetype.9:${PORTSDIR}/print/freetype2 \
|
2010-02-05 12:46:55 +01:00
|
|
|
jpeg.11:${PORTSDIR}/graphics/jpeg \
|
2010-03-28 08:47:48 +02:00
|
|
|
png.6:${PORTSDIR}/graphics/png \
|
2007-02-05 21:49:22 +01:00
|
|
|
rplay.1:${PORTSDIR}/audio/rplay \
|
|
|
|
rsvg-2.2:${PORTSDIR}/graphics/librsvg2 \
|
2006-08-01 20:27:53 +02:00
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff \
|
2007-02-05 21:49:22 +01:00
|
|
|
ungif.5:${PORTSDIR}/graphics/libungif
|
- 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
|
2007-10-29 05:36:04 +01:00
|
|
|
USE_GNOME= glib20 gtk20 pango
|
|
|
|
USE_ICONV= yes
|
|
|
|
USE_XORG+= ice sm x11 xcursor xext xfixes xi xinerama xrandr xrender
|
1998-12-23 02:41:23 +01:00
|
|
|
GNU_CONFIGURE= 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" \
|
2000-02-17 06:54:15 +01:00
|
|
|
--with-jpeg-includes="${LOCALBASE}/include" \
|
|
|
|
--with-jpeg-libs="${LOCALBASE}/lib" \
|
2007-02-05 21:49:22 +01:00
|
|
|
--with-png-includes="${LOCALBASE}/include" \
|
|
|
|
--with-png-libs="${LOCALBASE}/lib" \
|
|
|
|
--with-ungif
|
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
|
|
|
|
|
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:
|
2004-10-13 12:20:10 +02:00
|
|
|
.for file in afterstep/database
|
2006-08-01 20:27:53 +02:00
|
|
|
@${REINPLACE_CMD} -e 's,linux-penguin,monitor-bsd,' \
|
2004-10-13 12:20:10 +02:00
|
|
|
${WRKSRC}/${file}
|
|
|
|
.endfor
|
|
|
|
.for file in libAfterBase/Makefile.in libAfterImage/Makefile.in
|
2006-08-01 20:27:53 +02:00
|
|
|
@${REINPLACE_CMD} -e 's,^install\.,noinstall.,g ; \
|
2004-10-13 12:20:10 +02:00
|
|
|
s,^install:,install:#,g' ${WRKSRC}/${file}
|
|
|
|
.endfor
|
|
|
|
.for file in libAfterBase/configure libAfterImage/configure
|
2006-08-01 20:27:53 +02:00
|
|
|
@${REINPLACE_CMD} -e 's,="-O3",="$$CFLAGS",g' \
|
2004-10-13 12:20:10 +02:00
|
|
|
${WRKSRC}/${file}
|
2002-04-17 09:37:59 +02:00
|
|
|
.endfor
|
2004-12-05 19:50:46 +01:00
|
|
|
.for file in libAfterStep/afterstep-config.in
|
2006-08-01 20:27:53 +02:00
|
|
|
@${REINPLACE_CMD} -e 's,ft_version,libafterstep_version,g' \
|
2004-12-05 19:50:46 +01:00
|
|
|
${WRKSRC}/${file}
|
|
|
|
.endfor
|
2006-08-01 20:27:53 +02:00
|
|
|
.for file in configure libAfterBase/configure libAfterConf/Makefile.in libAfterImage/configure
|
|
|
|
@${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' \
|
|
|
|
${WRKSRC}/${file}
|
|
|
|
.endfor
|
|
|
|
|
2005-03-26 22:33:30 +01:00
|
|
|
.include <bsd.port.post.mk>
|