mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
3e4ed01146
- 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)
45 lines
1.0 KiB
Makefile
45 lines
1.0 KiB
Makefile
# New ports collection makefile for: windowlab
|
|
# Date created: 19 April 2003
|
|
# Whom: Pierre-Paul Lavoie <ppl@nbnet.nb.ca>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= windowlab
|
|
PORTVERSION= 1.33
|
|
PORTREVISION= 2
|
|
CATEGORIES= x11-wm
|
|
MASTER_SITES= http://www.nickgravgaard.com/windowlab/
|
|
EXTRACT_SUFX= .tar
|
|
|
|
MAINTAINER= ppl@nbnet.nb.ca
|
|
COMMENT= A small window manager for X11
|
|
|
|
MAN1= windowlab.1x
|
|
|
|
USE_XORG= x11 xext
|
|
USE_GMAKE= yes
|
|
|
|
MAKE_ARGS= MENURC=${PREFIX}/etc/windowlab/menurc CC="${CC}"
|
|
|
|
PLIST_FILES= bin/windowlab etc/windowlab/menurc
|
|
PLIST_DIRS= etc/windowlab
|
|
|
|
PORTDOCS= CHANGELOG README
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,^CC =,CC ?=,' \
|
|
-e 's,/usr/X11R6,${LOCALBASE},g' ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/windowlab ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/windowlab.1x ${MANPREFIX}/man/man1
|
|
${MKDIR} ${PREFIX}/etc/windowlab
|
|
${INSTALL_DATA} ${WRKSRC}/windowlab.menurc ${PREFIX}/etc/windowlab/menurc
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|