aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/afterstep-stable/Makefile
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2014-05-18 13:21:12 +0000
committerGreg Lewis <glewis@FreeBSD.org>2014-05-18 13:21:12 +0000
commite5b6b9ebc7b056cd04836fae0fa40e83d50a95fd (patch)
tree6282d3d2696bc7fb1d49e3a83f933fc755c56665 /x11-wm/afterstep-stable/Makefile
parent4f2b719234c9b07c812cc47d7531d4dcbc6606c0 (diff)
downloadports-e5b6b9ebc7b056cd04836fae0fa40e83d50a95fd.tar.gz
ports-e5b6b9ebc7b056cd04836fae0fa40e83d50a95fd.zip
Notes
Diffstat (limited to 'x11-wm/afterstep-stable/Makefile')
-rw-r--r--x11-wm/afterstep-stable/Makefile18
1 files changed, 14 insertions, 4 deletions
diff --git a/x11-wm/afterstep-stable/Makefile b/x11-wm/afterstep-stable/Makefile
index f80aaa7701a5..f01b995f1e27 100644
--- a/x11-wm/afterstep-stable/Makefile
+++ b/x11-wm/afterstep-stable/Makefile
@@ -22,12 +22,13 @@ LIB_DEPENDS= dbus-1:${PORTSDIR}/devel/dbus \
tiff:${PORTSDIR}/graphics/tiff
RUN_DEPENDS= xli:${PORTSDIR}/graphics/xli
-USE_BZIP2= yes
-USES= gmake pkgconfig
+USES= gmake pkgconfig shebangfix tar:bzip2
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 librsvg2 pango
USE_XORG+= ice sm x11 xcomposite xcursor xdamage xext xfixes xi xinerama \
xrandr xrender
GNU_CONFIGURE= yes
+SHEBANG_FILES= tools/ascommand.pl \
+ tools/importasmenu
MAKE_JOBS_UNSAFE= yes
CONFIGURE_ARGS+=--disable-ascp \
--enable-i18n \
@@ -37,6 +38,7 @@ CONFIGURE_ARGS+=--disable-ascp \
--with-jpeg-includes="${LOCALBASE}/include" \
--with-png-includes="${LOCALBASE}/include" \
--with-gif
+MAKE_ENV+= HOME=-
WRKSRC= ${WRKDIR}/${PORTNAME}-devel-${PORTVERSION}
@@ -58,7 +60,6 @@ CONFIGURE_ARGS+= --enable-different-looknfeels
CONFIGURE_ARGS+= --disable-savewindows
.endif
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if exists(${PREFIX}/share/gnome/wm-properties)
@@ -67,6 +68,12 @@ PLIST_SUB+= GNOME=""
PLIST_SUB+= GNOME="@comment "
.endif
+.if ${OSVERSION} >= 1000000
+STATIC_LIBEXECINFO=
+.else
+STATIC_LIBEXECINFO= ${LOCALBASE}/lib/libexecinfo.a
+.endif
+
post-extract:
${CP} ${FILESDIR}/monitor_bsd.xpm \
${WRKSRC}/afterstep/desktop/icons/xml/monitor-bsd.xpm
@@ -88,9 +95,12 @@ post-patch:
@${REINPLACE_CMD} -e 's,ft_version,libafterstep_version,g' \
${WRKSRC}/${f}
.endfor
-.for f in configure libAfterBase/configure libAfterConf/Makefile.in libAfterImage/configure
+.for f in configure libAfterBase/configure libAfterConf/Makefile.in libAfterImage/configure tools/makeastheme.pl.in tools/installastheme.pl.in
@${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' \
${WRKSRC}/${f}
.endfor
+ @${REINPLACE_CMD} \
+ -e 's,%%STATIC_LIBEXECINFO%%,${STATIC_LIBEXECINFO},g' \
+ ${WRKSRC}/configure
.include <bsd.port.post.mk>