1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/x11-wm/treewm/Makefile
Martin Wilke 3e4ed01146 - 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 17:56:05 +00:00

49 lines
1.2 KiB
Makefile

# New ports collection makefile for: treewm
# Date created: 09 Sep 2003
# Whom: Rudolf Polzer
#
# $FreeBSD$
#
PORTNAME= treewm
PORTVERSION= 0.4.5
PORTREVISION= 5
CATEGORIES= x11-wm
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Window Manager that arranges the windows in a tree
BUILD_DEPENDS= xmkmf:${PORTSDIR}/devel/imake
USE_BZIP2= yes
USE_GMAKE= yes
USE_XORG= x11 ice sm xext xmu xpm xt xxf86vm
PKGMESSAGE= ${WRKDIR}/pkg-message
PORTDOCS= AUTHORS ChangeLog INSTALL PROBLEMS README README.tiling TODO default.cfg sample.cfg
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|; s|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/Makefile
post-build:
@${SED} 's|%%D%%|${DOCSDIR}|g' ${PKGDIR}/pkg-message >${PKGMESSAGE}
do-install:
${MKDIR} ${DATADIR}
${MKDIR} ${DATADIR}/pixmaps
${INSTALL_PROGRAM} ${WRKSRC}/src/treewm ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/xprop/xprop ${PREFIX}/bin/xprop-treewm
${INSTALL_PROGRAM} ${WRKSRC}/xkill/xkill ${PREFIX}/bin/xkill-treewm
${INSTALL_DATA} ${WRKSRC}/src/pixmaps/*.xpm ${DATADIR}/pixmaps
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for FILE in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>