2002-05-24 14:01:03 +02:00
|
|
|
# New ports collection makefile for: wmanager
|
|
|
|
# Date created: 19 Nov 1999
|
|
|
|
# Whom: Will Andrews <andrews@technologist.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= wmanager
|
2002-10-28 00:45:47 +01:00
|
|
|
PORTVERSION= 0.2.1
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 11
|
2002-05-24 14:01:03 +02:00
|
|
|
CATEGORIES= x11-wm
|
2003-11-03 22:14:21 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
|
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
|
2002-05-24 14:01:03 +02:00
|
|
|
|
2012-02-27 21:32:31 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:21:36 +01:00
|
|
|
COMMENT= X11 window manager selector
|
2002-05-24 14:01:03 +02:00
|
|
|
|
2002-10-28 00:45:47 +01:00
|
|
|
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
|
2002-05-24 14:01:03 +02:00
|
|
|
|
2003-11-03 22:14:21 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
|
2008-05-25 23:47:41 +02:00
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
|
- 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 19:56:05 +02:00
|
|
|
USE_XORG= x11 xext
|
|
|
|
USE_GL= gl
|
2002-05-24 14:01:03 +02:00
|
|
|
USE_GMAKE= yes
|
2008-07-25 14:48:47 +02:00
|
|
|
MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
2002-05-24 14:01:03 +02:00
|
|
|
PTHREAD_LIBS="${PTHREAD_LIBS}"
|
|
|
|
|
2008-05-24 18:15:52 +02:00
|
|
|
OPTIONS= ADDONS "Install the helper scripts and manpages" on
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_ADDONS)
|
|
|
|
RUN_DEPENDS+= wmanager-loop:${PORTSDIR}/x11-wm/wmanager-addons
|
|
|
|
.endif
|
|
|
|
|
2002-05-24 14:01:03 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/wmanager ${PREFIX}/bin
|
|
|
|
.if !defined(NOPORTDOCS)
|
2008-05-25 23:47:41 +02:00
|
|
|
${SED} -e "s@%%DOCSDIR%%@${DOCSDIR}@; s@%%EXAMPLESDIR%%@${EXAMPLESDIR}@" ${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
|
2002-05-24 14:01:03 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for file in FAQ HISTORY INSTALL NEWS README TODO
|
2002-10-28 00:45:47 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
2002-05-24 14:01:03 +02:00
|
|
|
.endfor
|
2002-10-28 00:45:47 +01:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/.wmanagerrc ${EXAMPLESDIR}/wmanagerrc_sample
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/.xinitrc ${EXAMPLESDIR}/xinitrc_sample
|
2008-05-25 23:47:41 +02:00
|
|
|
.else
|
|
|
|
${RM} -f ${PKGMESSAGE}
|
2002-05-24 14:01:03 +02:00
|
|
|
.endif
|
|
|
|
|
2008-05-24 18:15:52 +02:00
|
|
|
.include <bsd.port.post.mk>
|