freebsd-ports/x11-wm/pwm/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: pwm
# Date created: 02 Oct 2000
# Whom: Neil Blakey-Milner
#
# $FreeBSD$
#
PORTNAME= pwm
PORTVERSION= 2007.07.20
PORTREVISION= 2
CATEGORIES= x11-wm
MASTER_SITES= http://modeemi.fi/~tuomov/dl/ \
http://schot.a-eskwadraat.nl/files/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
MAINTAINER= schot@a-eskwadraat.nl
COMMENT= A lightweight window manager with emphasis on usability
USE_XORG= x11
USE_GMAKE= yes
MAKE_ENV= X11_PREFIX="${LOCALBASE}" HAS_SYSTEM_ASPRINTF=1
MAN1= pwm.1x
post-patch:
@${REINPLACE_CMD} -e \
's|^PREFIX=|PREFIX?=|g ; \
s|^X11_PREFIX=|X11_PREFIX?=|g ; \
s|^CC=|CC?=|g ; \
s|^CFLAGS=-g -O2|CFLAGS+=|g ; \
s|^LDFLAGS=-g|LDFLAGS=|g ; \
s|-pedantic-errors||g' ${WRKSRC}/system.mk
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pwm ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/pwm.1x ${MANPREFIX}/man/man1
@${MKDIR} ${PREFIX}/etc/pwm
${INSTALL_DATA} ${WRKSRC}/etc/pwm/*.conf ${PREFIX}/etc/pwm
.if !exists(${PREFIX}/etc/pwm/pwm.conf)
${CP} ${PREFIX}/etc/pwm/sample.conf ${PREFIX}/etc/pwm/pwm.conf
.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/config.txt ${DOCSDIR}
.endif
.include <bsd.port.mk>