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
|
2005-07-20 01:08:54 +02:00
|
|
|
PORTVERSION= 2.1.2
|
2005-11-05 06:22:06 +01:00
|
|
|
PORTREVISION= 1
|
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/ \
|
|
|
|
${MASTER_SITE_SOURCEFORGE}
|
2004-10-13 12:20:10 +02:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
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
|
|
|
|
2004-10-13 12:20:10 +02:00
|
|
|
LIB_DEPENDS= rplay.1:${PORTSDIR}/audio/rplay \
|
2000-12-31 15:07:01 +01:00
|
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
2004-10-13 12:20:10 +02:00
|
|
|
ungif.5:${PORTSDIR}/graphics/libungif \
|
|
|
|
png.5:${PORTSDIR}/graphics/png \
|
2005-02-22 22:37:10 +01:00
|
|
|
freetype.9:${PORTSDIR}/print/freetype2 \
|
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff
|
|
|
|
RUN_DEPENDS= ${X11BASE}/bin/xli:${PORTSDIR}/graphics/xli
|
1996-07-23 09:36:32 +02:00
|
|
|
|
2000-02-17 06:54:15 +01:00
|
|
|
USE_BZIP2= yes
|
2005-07-20 01:08:54 +02:00
|
|
|
USE_GNOME= gtk20
|
2004-10-13 12:20:10 +02:00
|
|
|
USE_PERL5= yes
|
(1) Add new variable, XFREE86_VERSION, to specify which version of
XFree86 (3 or 4) to depend to when USE_XLIB is set.
XFREE86_VERSION defaults to 3 for now, but adventurous users can
override it in /etc/make.conf. When XFREE86_VERSION=3, USE_XLIB
will add a dependency to x11/XFree86; when it is set to 4, the
dependency will be to x11/XFree86-4-libraries. When
XFREE86_VERSION=4, the PKG_IGNORE_DEPENDS and ALWAYS_BUILD_DEPENDS
hacks to avoid messing with XFree86 are turned off.
Since XFree86 version 4 includes some software that used to be
separate ports, when XFREE86_VERSION=3 the following variables are
provided:
USE_DGS LIB_DEPENDS on x11/dgs
USE_FREETYPE LIB_DEPENDS on print/freetype
USE_MESA LIB_DEPENDS on graphics/Mesa3
USE_XPM LIB_DEPENDS on graphics/xpm
When XFREE86_VERSION=4, these variables have no effect. The
LIB_DEPENDS in the tree for the above four ports have all been
converted to the USE_* counterparts. For your information, this
is the count of the number of ports:
USE_DGS 0
USE_FREETYPE 16
USE_MESA 36
USE_XPM 236
There is a new variable, XAWVER, which is set to 6 when
XFREE86_VERSION=3 and 7 when XFREE86_VERSION=4. This is also
passed to PLIST_SUB so ports that build Xaw based shared libraries
can use this variable to substitute the shlib version number.
There is also a provision of using a separate mtree file for
XFREE86_VERSION=4, but that part is not enabled yet.
Reviewed by: the ports list
Tested by: make index (XFREE86_VERSION=3 only)
(2) Add hebrew to list of valid categories.
Submitted by: nbm
2000-08-03 11:28:57 +02:00
|
|
|
USE_XPM= yes
|
2005-07-20 01:08:54 +02:00
|
|
|
USE_X_PREFIX= yes
|
1998-12-23 02:41:23 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2004-10-13 12:20:10 +02:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2002-04-17 09:37:59 +02:00
|
|
|
CONFIGURE_ARGS+=--enable-i18n \
|
2004-10-13 12:20:10 +02:00
|
|
|
--disable-ascp \
|
|
|
|
--disable-send-postcard-to-developer \
|
|
|
|
--with-ungif \
|
2002-04-17 09:37:59 +02:00
|
|
|
--with-png-includes="${LOCALBASE}/include" \
|
2000-02-17 06:54:15 +01:00
|
|
|
--with-png-libs="${LOCALBASE}/lib" \
|
|
|
|
--with-jpeg-includes="${LOCALBASE}/include" \
|
|
|
|
--with-jpeg-libs="${LOCALBASE}/lib" \
|
|
|
|
--with-helpcommand="xterm -e man"
|
2004-10-13 12:20:10 +02:00
|
|
|
MAKE_ENV= INCS_PRIVATE="${CPPFLAGS}" LIBS_PRIVATE="${LDFLAGS}"
|
|
|
|
|
|
|
|
MAN1= ASDatabase.1x ASDatabaseEntry.1x AfterStep.1x Align.1x \
|
2005-05-18 18:43:39 +02:00
|
|
|
Animate.1x AnimateTypes.1x Arrange.1x Audio.1x AudioEvents.1x \
|
2004-10-13 12:20:10 +02:00
|
|
|
AutoExec.1x Base.1x Bevel.1x ColorScheme.1x Feel.1x \
|
2004-12-18 09:18:10 +01:00
|
|
|
FeelWindowBox.1x Functions.1x Gravity.1x Look.1x \
|
|
|
|
MyBackground.1x MyFrame.1x MyStyle.1x Pager.1x \
|
|
|
|
PagerDecorations.1x Placement.1x SupportedHints.1x \
|
2005-07-20 01:08:54 +02:00
|
|
|
TbarLayout.1x Wharf.1x WharfSounds.1x WinCommand.1x \
|
|
|
|
WinList.1x WinTabs.1x afterstep_faq.1x asimagexml.1x
|
2004-10-13 12:20:10 +02:00
|
|
|
|
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib
|
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
|
|
|
|
|
2005-03-26 22:33:30 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "sparc64"
|
|
|
|
BROKEN= "Does not build on sparc64"
|
|
|
|
.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
|
2005-05-18 18:43:39 +02:00
|
|
|
@${PERL} -pi -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
|
2005-05-18 18:43:39 +02:00
|
|
|
@${PERL} -pi.orig -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
|
2005-05-18 18:43:39 +02:00
|
|
|
@${PERL} -pi.orig -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
|
2005-05-18 18:43:39 +02:00
|
|
|
@${PERL} -pi -e 's,ft_version,libafterstep_version,g' \
|
2004-12-05 19:50:46 +01:00
|
|
|
${WRKSRC}/${file}
|
|
|
|
.endfor
|
2001-09-02 15:36:49 +02:00
|
|
|
|
2005-03-26 22:33:30 +01:00
|
|
|
.include <bsd.port.post.mk>
|