1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-25 21:07:40 +00:00
freebsd-ports/x11-wm/sapphire/Makefile
Trevor Johnson ed5700e2a2 Update to 0.15.6. Don't use a DIST_SUBDIR any more (it was only
needed for Frank Hale's themes).  Be more verbose.  In the post-patch
target, patch a hard-coded path in several files.  Remove
files/patch-ap, my patch to add alt+up/down cursor cycling of
windows (an equivalent feature has been added upstream, using
alt+Tab and alt+shift+tab).  Update pkg-descr to mention the new
virtual screens feature.  Remove the imperative that users run
sapphire.inst.
2000-12-25 06:10:16 +00:00

44 lines
1.2 KiB
Makefile

# New ports collection makefile for: sapphire
# Date created: 26 Jan 2000
# Whom: trevor@jpj.net
#
# $FreeBSD$
#
PORTNAME= sapphire
PORTVERSION= 0.15.6
CATEGORIES= x11-wm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= trevor@FreeBSD.org
USE_GMAKE= yes
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
post-extract:
post-patch:
${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/data.inst
.for i in data/menu/default configure data.inst src/sapphire.hh
${PERL} -pi -e "s|/usr/local|${PREFIX}|g" ${WRKSRC}/${i}
.endfor
${CP} ${WRKSRC}/data.inst ${WRKSRC}/sapphire.inst
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/sapphire.inst ${PREFIX}/bin
@${MKDIR} ${PREFIX}/share/sapphire/menu
${INSTALL_DATA} ${WRKSRC}/data/menu/default ${PREFIX}/share/sapphire/menu
# so the sapphire-themes port can restore the original menu when the
# themes are de-installed
${INSTALL_DATA} ${WRKSRC}/data/menu/default ${PREFIX}/share/sapphire/menu/default.orig
@${MKDIR} ${PREFIX}/share/sapphire/themes
${INSTALL_DATA} ${WRKSRC}/data/themes/*.theme ${PREFIX}/share/sapphire/themes
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/sapphire
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/sapphire
.endif
.include <bsd.port.mk>